Gateway time out nginx8/19/2023 ![]() But in our case we need to make this change at 2 more places. In Apache, applications running PHP as a module above would have suffice. This is all the params I have tried in nginx. If you want to change max execution time limit for php scripts from 30 seconds (default) to 300 seconds. It is widespread to see the nginx gateway timeout error using an nginx web server. Timeout is set to 300, without it, the browser will return 502 error (connection prematurely closed) services:Ĭommand: bash -c "python manage.py collectstatic -noinput & gunicorn ga_gi:application -bind :8000 -timeout 300 -workers 2 -threads 4" Gateway timeouts would suggest the cause is PHP-FPM so Id say check your php-fpm logs Itll probably say something about a reached worker limit for which. Nginx gateway timeout occurs during transactions, or our system might contain low resources we can increase the system resources to resolve this issue in the future. I have reproduced the issue with at least the latest released version of superset. browser type and version: Safary, Chrome superset version: the latest superset-image I have checked the superset logs for python stacktraces and included it here as text if there are any. Here's the log in 172.18.0.2 - "POST /some_request HTTP/1.1" 499 0 " "Mozilla/5.0 (X11 Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"īut from the django debug log, I can see that the POST request is still processing at the backend Tried adding requestterminatetimeout 3000 to php.ini and increasing the following values: maxinputtime 900 maxexecutiontime 900 This is in the php. Get '504: Gateway time-out' after a minute of waiting. ![]() The loading screen runs for 1 minute and shows 504 Gateway Timeout ![]() There is one process backend which take around 1-2 minutes to process. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |