curved-tent-22690
03/18/2019, 12:59 PMcloud-aws:useFargate
to cloud-aws:ecsAutoCluster
, it results
502 Bad Gateway
nginx/1.15.8
gentle-diamond-70147
03/18/2019, 5:23 PMcurved-tent-22690
03/19/2019, 5:25 AM2019-03-19T14:28:35.583+08:00[ voting-app-frontend] 172.31.46.182 - - [19/Mar/2019:06:28:35 +0000] "GET / HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15" "-"
2019-03-19T14:29:35.869+08:00[ voting-app-frontend] 2019/03/19 06:29:35 [error] 11#11: *106602 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.31.46.182, server: , request: "GET / HTTP/1.1", upstream: "<uwsgi://unix:///tmp/uwsgi.sock>", host: "<http://8f351c44-ed6cf06-42355315237956c2.elb.us-west-2.amazonaws.com|8f351c44-ed6cf06-42355315237956c2.elb.us-west-2.amazonaws.com>"
2019-03-19T14:29:35.869+08:00[ voting-app-frontend] 172.31.46.182 - - [19/Mar/2019:06:29:35 +0000] "GET / HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15" "-"
2019-03-19T14:29:48.056+08:00[ voting-app-frontend] Failed to connect to Redis, terminating.
2019-03-19T14:29:48.074+08:00[ voting-app-frontend] 2019-03-19 06:29:48,074 INFO exited: uwsgi (exit status 1; not expected)
2019-03-19T14:29:49.077+08:00[ voting-app-frontend] 2019-03-19 06:29:49,077 INFO spawned: 'uwsgi' with pid 983