Answer the question
In order to leave comments, you need to log in
How to fix 504 error?
There is vps. When uploading a file to the server via copy() by url, after a minute of uploading, everything breaks and a 504 error appears. At the same time, the file itself continues to be uploaded to the server in the background.
max_execution_time increased, this error still continues to pop up.
Logs:
2019/08/14 11:03:33 [notice] 3721#3721: *103 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000002, client: 0.0.0.0, server: site.com, request: "POST /adm_panel/import HTTP/1.1", host: "site.com", referrer: " https://site.com/adm_panel/import "
2019/08/14 11:04:33 [error] 3721#3721: *103 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 0.0.0.0, server: site.com, request: "POST /adm_panel/import HTTP/1.1", upstream: " 127.0.0.1:8080/adm_panel/import ", host: "site.com", referrer: " https://site.com/adm_panel/import "
2019/ 08/14 11:05:34 [error] 3721#3721: *103 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 0.0.0.0, server: site.com, request: "GET /favicon.ico HTTP/1.1", upstream: " 127.0.0.1:8080/favicon.ico ", host: "site.com", referrer: " https://site.com/adm_panel/import "
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question