-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
502 Bad Gateway while running dotnet restore
or dotnet build
#4
Comments
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 #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?
|
Looking at NuGet/Home#4538 there is a settings in nuget.config |
I've testet setting I found this online https://talk.plesk.com/threads/php-fpm-sock-failed-1000-users-online.341428/ |
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 |
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.
The text was updated successfully, but these errors were encountered: