Comments (6)
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.
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.
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.
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.
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.
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)
- Page states that: Nuget Path is Windows: %ProgramFiles(x86)%\NuGet\Config - this is not true in VSC 2022 HOT 2
- Default tab selection on Manage NuGet Packages
- Fetch transitive packages for all PM UI levels
- Change algorithm to compute transitive origins for each project
- Show vulnerability data for solution-level transitive packages
- Show transitive status of package for each project in Solution-level Details Pane
- Drive insertion of new dependency graph resolution algorithm
- Add property for toggling the to the previous NuGet resolver: RestoreUseLegacyDependencyResolver HOT 1
- Document: RestoreUseLegacyDependencyResolver
- dotnet list package should warn when restore is not current
- Latest NuGet Version not displaying correctly in Visual Studio Code HOT 1
- Vulnerabilities filter is not showing vulnerable packages in Solution PM UI HOT 1
- NuGet Search box in VS Win is teeny tiny on higher resolution devices
- dotnet restore should report security vulnerabilities for shared assembly projects.
- update dotnet nuget why docs for optional path argument
- The "RestoreTask" task returned false but did not log an error HOT 2
- Nuget: Central Directory corrupt HOT 3
- LockFileUtils.CreateLockFileTargetProject allocates a lot
- [Bug Bash] The package versions are inconsistent in the “Project” node and the “Packages” node of the Solution Explorer window after updating the parent project package HOT 1
- [Build][Source-Build] Multiple code style rule violations prevent successfull build of this repo and dotnet/dotnet repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home.