question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Response status code does not indicate success: 401 (Unauthorized)

See original GitHub issue

baget.env file:

ApiKey=7def3e24-f496-465b-8abe-798a5d9928b0
Storage__Type=FileSystem
Storage__Path=/var/baget/packages
Database__Type=Sqlite
Database__ConnectionString=Data Source=/var/baget/baget.db
Search__Type=Database

docker run command (docker for windows):

docker run --restart always --env-file ./baget.env -e "ASPNETCORE_URLS=http://*:5000" -d -p 5000:5000 -v bagedata:/var/baget anuraj/baget:latest

push nuget command:

dotnet nuget push -s target_host:5000/v3/index.json -k "7def3e24-f496-465b-8abe-798a5d9928b0" ./my_package.nupkg

push error:

info : Pushing my_package.1.0.0.nupkg to 'target_host:5000/api/v2/package'...
info :   PUT target_host:5000/api/v2/package/
info :   Unauthorized target_host:5000/api/v2/package/ 136ms
error: Response status code does not indicate success: 401 (Unauthorized).

Dashboard available at this address: target_host:5000/

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
smazurovcommented, Feb 15, 2019

@loic-sharma just stars and downloads. It might help if you add [Official] to description.

1reaction
rdcmcommented, Feb 15, 2019

If you add docker hub link in README.md it will be more helpfull.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Response status code does not indicate success: 401 in ...
Response status code does not indicate success: 401 (Unauthorized). It seems you are not provide the credentials for a package source in ...
Read more >
NuGet Restore error - Response status code does not ...
This usually happens when there is an account credentials change, used to sign into VS. Re-entering the credentials into visual studio sometimes ...
Read more >
Response status code does not indicate success
Response status code does not indicate success: 401 (Unauthorized) after using NuGetAuthenticate task - Developer Community.
Read more >
Response status code doesn't indicate success: 401 ...
Response status code doesn't indicate success : 401 (unauthorized) - Microsoft Q&A.
Read more >
401 Unauthorized Error: What It Is and How to Fix It
The 401 Unauthorized Error is an HTTP response status code indicating that the client could not authenticate a request.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found