• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

에러 해결이 안됩니다 자꾸 Gateway Timeout 이 뜹니다

21.07.26 23:48 작성 조회수 167

0

따라하다 동영상 썸네일 부분에서 자꾸

이 에러가 뜨는데 '전체적인 틀과 MongoDB연결'파트의 질문답변 봐도 도저히 해결이 안됩니다

안돼서 강사님이 올려주신 완성본으로 테스트 해봤는데요, 

루트와 client에 npm install,

multer install

ffmpeg install 

npm install fluent-ffmpeg 

까지 인스톨 했는데도 계속 

이게 뜹니다 너무 답답해요 ㅠㅠㅠㅠ ......미칠것 같아요 bycryptjs 변경도 해보고 global 어쩌구 하는 것도 깔아봤다가 오히려 꼬이기만 하는것 같아 다른 새 컴퓨터에 강사님 코드로 해봤으나 안됩니다... 몽고 db 아이디와 비밀번호 다 맞구요 ffmpeg 깔려있는거 맞습니다 윈도우라 환경변수 설정 다 해줬고 파워쉘에서 깔린거 확인 몇번이나 했구요..

우선 터미널에는

[HPM] Error occurred while trying to proxy request /api/video/thumbnail from localhost:3000 to http://localhost:5000/ (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)

이게 계속 뜨네요 썸네일 부분 할떄마다...동영상은 저장이 되는거 같은데..하....너무..힘들어요..

ㅜㅜ 왜..왜안되는걸까요..?ㅠ...

답변 2

·

답변을 작성해보세요.

0

공민철님의 프로필

공민철

2021.07.27

https://www.youtube.com/watch?v=BHSJw8PDwj0&list=PL9a7QRYt5fqkZC9jc7jntD1WuAogjo_9T&index=22

강의찾았습니다! 도움이 되었으면 좋겠네요

0

공민철님의 프로필

공민철

2021.07.27


<button class="infd-button is-primary-500 has-icon is-p-14 e-review" style="box-sizing:inherit;margin:0px 12px 0px 0px;font-family:'Noto Sans KR', -apple-system, system-ui, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', Helvetica;display:inline-flex;align-items:center;justify-content:center;padding:0px 14px;height:36px;font-size:15px;border-radius:3px;cursor:pointer;border:unset;transition:all 0.15s ease 0s;background-color:#00c471;color:#ffffff;line-height:1.47"><span class="infd-icon" style="box-sizing:inherit;font-weight:inherit;font-style:inherit;display:inline-flex;align-items:center;justify-content:center;transition:background-color 0.15s ease 0s;margin-right:4px;width:20px;height:20px"><svg width="16" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="star" class="svg-inline--fa fa-star fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 576 512"><path fill="#ffffff" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg></span></button>

비디오 업로드 FORM 만들기 (1)

 해당 강좌 질문글쪽에 보시면 해당되는 질문글 많을거예요 참고하시면 좋을거같고 혹시 해결이 안되신다면 제가 찾아볼려고 했는데 못찾았네요

proxy 설정하라는 링크 되어있는 답글있는데 그거 한번 찾아보시면 좋을것같습니다.

일단 원인은

[HPM] Error occurred while trying to proxy request /api/video/thumbnail from localhost:3000 to http://localhost:5000/ (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)

프록시 설정문제로 보입니다.