Private cloud-hosted NuGet server receives a 0-byte upload from a "nuget push" command over the internet #50013
Unanswered
aleksander-oven
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've outlined my problem on StackOverflow in a bit more detail, but I also wanted to ask the .NET SDK community, directly (because I was so advised).
Here's the gist...
Both of these commands:
result in a 0-byte upload to my private NuGet service that I'm hosting in the cloud, behind a Cloudflare tunnel. The service is based on BaGetter project.
However, a raw Postman HTTP PUT request works fine; i.e. there is a non-0 byte body present when request is received by the server. I determined this by substituting BaGetter for my own simple C# ASP.NET app that logs all received requests in detail. I even tried building my own simplified nuget.exe client and made a PUT request using HttpClient, which works fine.
What could possibly be a reason that nuget push commands don't work (i.e. the uploaded length is always 0 bytes)?
As a test, I tried disabling my Cloudflare HSTS requirement and lowered the TLS version requirement right down to 1.0. Still no success.
Beta Was this translation helpful? Give feedback.
All reactions