inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

비전공자를 위한 진짜 입문 올인원 개발 부트캠프

Fly.io 에 그랩마켓 서버 배포하기

Application error 발생하네요..

376

psr

작성한 질문수 5

1

첫번째 질문과 같은 내용인데 

heroku에 서버 배포한 후 링크에 접속하면 application error라는 화면과 함께 heroku logs --tail라는 명령어를 사용해 에러내역을 확인할 수 있다는 설명이 나오는데요

명령어를 치면 아래와 같은 에러 로그가 나옵니다..

2021-08-12T08:31:28.495603+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/product" host=cns-market-server.herokuapp.com request_id=bc225d89-0c68-47aa-8645-4f47a3070914 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:31:29.649909+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/products" host=cns-market-server.herokuapp.com request_id=cbad85c6-e6b3-4242-a56b-84193bf4e3e2 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:31:30.323147+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cns-market-server.herokuapp.com request_id=cfde8d99-32a8-4530-ae39-fafb1332f514 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:31:30.562650+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cns-market-server.herokuapp.com request_id=f0f93240-35af-4b36-96df-a1ae3d1b6f6e fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:34:20.501997+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cns-market-server.herokuapp.com request_id=3ab3a4a2-7a21-4e39-96d9-37d90a558f38 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:34:20.739831+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cns-market-server.herokuapp.com request_id=06ed57ff-6c38-4ba2-88d6-7061096764d9 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:38:35.015107+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cns-market-server.herokuapp.com request_id=459f7523-24bb-4f04-b2f0-e19f69bf31ad fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:38:35.241515+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cns-market-server.herokuapp.com request_id=980e9520-a501-4c68-b4dc-8d5b27efe7ff fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:40:45.493362+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cns-market-server.herokuapp.com request_id=1bc17b4c-40aa-42d2-95a3-c3ffb17ee9ee fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:40:45.754321+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cns-market-server.herokuapp.com request_id=6854ce8c-bf3c-4138-8321-990ab77b44bf fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:40:59.354469+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cns-market-server.herokuapp.com request_id=de9e37c8-1575-4011-a531-4277660af310 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:40:59.603943+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cns-market-server.herokuapp.com request_id=b8418fdd-1287-4298-9a40-587671989bc7 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:49:40.640664+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cns-market-server.herokuapp.com request_id=02803cf7-06b0-4c8d-8cd6-04c426848614 fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:49:40.857902+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cns-market-server.herokuapp.com request_id=30fae789-9ef9-4975-bbd0-5e9894f9910f fwd="122.40.66.2" dyno= connect= service= status=503 bytes= protocol=https

2021-08-12T08:52:50.646041+00:00 heroku[web.1]: State changed from crashed to starting

git heroku push 할 때는 특별한 log 보이지 않았고 Local로 동작시 이상없이 동작합니다..
검토 부탁 드립니다.

react-native react nodejs HTML/CSS 머신러닝 배워볼래요? tensorflow javascript express

답변 1

0

그랩

웹이 제대로 동작하지 않거나, 부팅 시간이 오래걸렸을 때 생기는 이슈인 것 같아요!

아래 소스코드와 동일하게 구성하셨을까요?
https://github.com/yansfil/grab-market-server/commit/e431431c21f547e395cb3e294fdc40e315b35464

0

psr

비교를 해봤는데 별 다른게 없는 것같습니다. 저의 파일에서는 package.json이 다른것 같은데 혹시 전체 package.json 소스코드 주실수 있으신가요??

0

psr

다시 설치를 했는데 해결 되었습니다. 감사합니다.

[해결]그랩님 답변 주세요.

0

192

2

그랩님의 답변을 기다립니다/102강 전반적인 에러

0

165

2

[그랩님께]101강 안드로이드 에러들(Key prop)해결방법 궁금합니다.

0

139

2

[재질문][그랩님 답변 부탁드립니다]101강

0

163

2

[그랩님 답변 부탁드립니다]101강 Axios 에러와 502 Bad Gateway 질문

0

119

2

Ngrok 설치 후 forwarding Url 에러

0

148

2

[그랩님께,Ngrok 악성코드 인식 해결방법]질문 드립니다.

0

252

2

Ngrok 설치 후 forwarding Url로 연결 불가

0

158

1

그랩님,[꼭] 답변 부탁드립니다.

0

76

1

[꼭][[꼭] 그랩님, 답변 부탁드립니다], Failed to load resource: the server responded with a status of 404 (Not Found) 상품 상세 페이지 질문입니다.

0

162

1

6강/7강 수업

0

56

1

그랩님, 상품 상세 페이지 에러와 의문점 질문드립니다.

0

105

2

그랩님, 해결되지 않은 에러 메시지 [꼭] 답변 부탁 드립니다.

0

148

2

[재 질문]Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?

0

95

1

Cannot read properties of undefined (reading 'map') TypeError: Cannot read properties of undefined (reading 'map') 에러 해결 어떻게 하나요?

0

134

2

일반적인 css 꾸미기에서 width와 height의 값?

0

98

2

Windows에서의 업로드 후 홈화면 상품이미지 오류 해결방법

0

204

1

그랩마켓 웹화면 구현하기 -2 질문입니다.

0

127

1

react에 반영이 되지 않습니다.

0

251

1

터미널 npm install -g create-react-app 작성 후 오류

0

430

1

create-react-app my app 실행 시 에러

0

358

2

포스트맨 질문

0

105

1

<꼭 답변 부탁 드립니다>그랩선생님, [컴포넌트 사용하기] 강의에서 질문 있습니다.

0

269

2

그랩선생님, 질문 답변 부탁 드립니다.vscode에서 npm install -g create-react-app 입력 후 에러 입니다.

0

492

2