However, if I changed `cloud-aws:useFargate` to `c...
# general
c
However, if I changed
cloud-aws:useFargate
to
cloud-aws:ecsAutoCluster
, it results
Copy code
502 Bad Gateway

nginx/1.15.8
g
It can take some time for the application to start, did you give it 5-10 minutes to get up and running?
I'll try to reproduce here....
I've deployed and redeployed twice and it works for me. 😕
c
😦I’ll try it again.
Copy code
2019-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
seems like cannot connect to redis