I get 502 on my node.js app. How to I get my app working?

0

I see this in my logs ./nginx/error.log:2023/02/25 10:37:55 [error] 3973#3973: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 94.30.11.189, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8080/favicon.ico", host: "3div-env.eba-iujtcw73.eu-west-1.elasticbeanstalk.com", referrer: "http://3div-env.eba-iujtcw73.eu-west-1.elasticbeanstalk.com/" ./nginx/access.log:94.30.11.189 - - [25/Feb/2023:10:16:04 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://3div-env.eba-iujtcw73.eu-west-1.elasticbeanstalk.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" "-" ./nginx/access.log:94.30.11.189 - - [25/Feb/2023:10:23:28 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://3div-env.eba-iujtcw73.eu-west-1.elasticbeanstalk.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" "-" ./nginx/access.log:94.30.11.189 - - [25/Feb/2023:10:32:08 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://3div-env.eba-iujtcw73.eu-west-1.elasticbeanstalk.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" "-" ./nginx/access.log:94.30.11.189 - - [25/Feb/2023:10:37:53 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://3div-env.eba-iujtcw73.eu-west-1.elasticbeanstalk.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" "-" ./nginx/access.log:94.30.11.189 - - [25/Feb/2023:10:37:55 +0000] "GET /favicon.ico HTTP/1.1" 502 559 "http://3div-env.eba-iujtcw73.eu-west-1.elasticbeanstalk.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" "-"

  • Can you check health checks for beanstalk, is environment stable and running?

asked a year ago221 views
1 Answer
0

I got around this by finding the sample code that beanstalk defaults to and using that as a starting point. I think the important part that was missing was create server.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions