Open msschl opened 5 years ago
I think you might want to check out the original author. https://github.com/Daniel15/simple-nuget-server.
This repo is just a wrapper to allow it to be run using docker.
But the nginx and php configuration files are created here and not in the original repo.
I think this issue is due to a configuration issue.
Hmm, I see https://github.com/rolfwessels/docker-simple-nuget-server/pull/3 said that there was an issue with absolute paths. Not sure if its related. Let me put it up on dockerhub and lets see.
I really cant see enough info from your log to say why a 502 would happen.
I found this https://stackoverflow.com/questions/39818999/php-fpm-and-nginx-resource-temporarily-unavailable-errors-in-proxy-error-log which seems related to your issue. But that stack overflow answer does not give me hope.
How many requests are you doing per second? Do simple commands to restore work? eg.
nuget.exe setApiKey -Source http://192.168.1.250:8083/ e46c582041db4cbe86a84b76a374383a
nuget.exe list -Source http://192.168.1.250:8083/
nuget.exe push Antlr.3.4.1.9004.nupkg -Source http://192.168.1.250:8083/ -ApiKey e46c582041db4cbe86a84b76a374383a
nuget.exe list -Source http://192.168.1.250:8083/
nuget.exe install -Source http://192.168.1.250:8083/ Antlr
Looking at https://github.com/NuGet/Home/issues/4538 there is a settings in nuget.config maxHttpRequest
that might help to rate limit the requests that are sent to your server.
I've testet setting maxHttpRequest
in the nuget.config but it doesn't help.
Running the dotnet restore with --disable-parallel
fixes the issue.
I found this online https://talk.plesk.com/threads/php-fpm-sock-failed-1000-users-online.341428/ Maybe this helps
Thanks, I will have a look
I've update the max children count to 400. Could you please test and let me know if its working for you
Tag:v1.1.23-develop
Still the same error
While running a
dotnet restore
ordotnet build
some request to the private nuget server returns a 502 Bad Gateway. Here are the logs:I think that while a restore is running, there are to many request per seconds.