-
Notifications
You must be signed in to change notification settings - Fork 20
Only Deletes allowed #7
Comments
I'm having the same issue. This is my docker compose setup
But when I go to the site the XML says
The base should be 'https://nuget.xxxxxxxxxxxxxx.com/' and not Nuget tries to resolve it to When I call that directly I only a response |
The bug is not in this repo but rather in the simple-nuget-server. It has already been fixed but unfortunately this repo is not updated. I ended up build and automating a new docker image from the main simple-nuget-server repo. See this repo: https://github.com/rolfwessels/docker-simple-nuget-server |
The base should be 'https://nuget.xxxxxxxxxxxxxx.com/' and not 'http://nuget.xxxxxxxxxxxxxx.com//.' It seems to be the double slash at the end that is breaking the request. Nuget tries to resolve it to Resolved actions to install package 'xxxxxxxxxx.5.1.0.47-develop' `GET http://nuget.xxxxxxxxxxxxxx.com//download/xxxxxxxxxx/5.1.0.47-develop` When I call that directly I only a response Only DELETEs allowed here. If I remove the double slash it works. See this issue. sunsided/docker-nuget#7 for more details.
* Remove the additional slash. The base should be 'https://nuget.xxxxxxxxxxxxxx.com/' and not 'http://nuget.xxxxxxxxxxxxxx.com//.' It seems to be the double slash at the end that is breaking the request. Nuget tries to resolve it to Resolved actions to install package 'xxxxxxxxxx.5.1.0.47-develop' `GET http://nuget.xxxxxxxxxxxxxx.com//download/xxxxxxxxxx/5.1.0.47-develop` When I call that directly I only a response Only DELETEs allowed here. If I remove the double slash it works. See this issue. sunsided/docker-nuget#7 for more details. * Ensure that the baseURL ends with single '/'.
Hi,
I setup a docker server as the documentation describes, I can also push nuget packages into the server and see them on the filesystem /srv/www/packagesfiles but when I try to run
dotnet add package -s http://sulv082:8088/ drk.crm.api.common
it can not find the package. I also tried
dotnet add package -s http://sulv082:8088/index.php drk.crm.api.common
but then I get the "Only deletes allowed" message.
Where did I mess up? Any help would be appreciated :)
Best regards
The text was updated successfully, but these errors were encountered: