Response status code does not indicate success: 401 (Unauthorized)
See original GitHub issuebaget.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:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@loic-sharma just stars and downloads. It might help if you add [Official] to description.
If you add docker hub link in README.md it will be more helpfull.