Platform is working fine. I am using same configuration given in setup. My instance is t2.large All of sudden it is giving 504 Gateway Time-out error. I have checked error log of nginx where I have observed that 1220#1220: *2180 connect() failed (111: Connection refused) while connecting to upstream, client: 172.XX.47.61, server: localhost, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8888/", host: "host.com"
Also I have checked nginx status where it is showing,
nginx.service: Failed with result 'timeout'
Stopped A high performance web server and a reverse proxy server.
Starting A high performance web server and a reverse proxy server...
I have added timeout but not working, resstart nginx is also not working. Now application is down. After debug the requests, I have observed that it is websocket issue. I have given timeout proxy_read_timeout in each webhsocket. Sometimes it works.
Platform is working fine. I am using same configuration given in setup. My instance is
t2.large
All of sudden it is giving504 Gateway Time-out
error. I have checked error log of nginx where I have observed that1220#1220: *2180 connect() failed (111: Connection refused) while connecting to upstream, client: 172.XX.47.61, server: localhost, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8888/", host: "host.com"
Also I have checked nginx status where it is showing,
I have added timeout but not working, resstart nginx is also not working. Now application is down. After debug the requests, I have observed that it is websocket issue. I have given timeout
proxy_read_timeout
in each webhsocket. Sometimes it works.