GithubHelp home page GithubHelp logo

Missing resilience? about home HOT 6 CLOSED

bstordrup avatar bstordrup commented on August 27, 2024
Missing resilience?

from home.

Comments (6)

bstordrup avatar bstordrup commented on August 27, 2024

Digging further in to this by debugging from the NuGet.Client solution, I see that the issue can be in two places:

  • Server side with wrong handling of the package being pushed. The package repository I'm pushing to, is a GitHub packages repository.
  • Client side with the creation of the HttpRequestMessage body creation. That it does not copy the package correctly into the body.

Funny thing is that if I open the file I'm trying to push, it works fine. I can see the nuspec file just fine. And several similar packages being other versions of the same component are pushed as expected.

from home.

bstordrup avatar bstordrup commented on August 27, 2024

Additional info. Tried to push the package with -DisableBuffering parameter applied. There was no issue with the pulled package afterwards.

But I also did it from a Nuget.Commandline version been run from Visual Studio where I made a change to provide credentials when needed instead of providing it in Console window.

from home.

nkolev92 avatar nkolev92 commented on August 27, 2024

Hey @bstordrup

The WARNING: part gives me a hint that this is a warning coming from the server.
I think this is likely a GitHub Package Registry issue. The fact that it's an issue when there's multiple successive pushes is a further indicator as well.

Have you faced this issue with any other package registry?
Have you attempted dotnet nuget push? I don't expect it to make a difference, but just covering the basis.

from home.

bstordrup avatar bstordrup commented on August 27, 2024

Hi @nkolev92

I did not try the dotnet nuget push.

The fact that the issue is completely gone with the -DisableBuffering parameter applied (also on calling nuget.exe from command line) makes me believe it is an issue connected to doing buffering in connection with an authenticated repository - which is the case for GitHub Packages.

But I cannot put a finger on what and where the issue is.

from home.

nkolev92 avatar nkolev92 commented on August 27, 2024

Thanks for the quick response.

The fact that we haven't seen a lot of this, makes me think there are more likely issues server side than client side.

from home.

dotnet-policy-service avatar dotnet-policy-service commented on August 27, 2024

This issue has been automatically marked as stale because we have not received a response in 14 days. It will be closed if no further activity occurs within another 14 days of this comment.

from home.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.