Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Error message when pushing to proget with incorrect API key
-
Hello,
When pushing to proget to a nuget feed with an incorrect API key, proget responds with the following error message:
choco push hello.6.0.399.nupkg -s https://proget.dev.xx.yy/testfeed -k <key>
Attempting to push hello.6.0.399.nupkg to https://proget.xx.yy/testfeed
Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.Giving the correct api key, works as expected. It would be help if the error was a 401). I am using [1] for choco client.
-Thanks.
-
Hello;
I think that error is coming from
chococlient.ProGet will respond with a
403: Invalid API Keyerror response when an invalid API is sent, then terminate the request. A401will cause the NuGet client to prompt for credentials. -
Thanks for the update.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login