node.js - What are the possible causes for app deployed on heroku to get crashed? -


i have nodejs app.it builds crashes.the log says-

2016-07-28t11:41:39.150069+00:00 app[web.1]: @ function.module._load (module.js:314:12)

2016-07-28t11:41:39.150070+00:00 app[web.1]: @ startup (node.js:148:18)

2016-07-28t11:41:39.225296+00:00 heroku[web.1]: process exited status 1

2016-07-28t13:24:05.344533+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/?hub.mode=subscribe&hub.challenge=432092788&hub.verify_token=fb_bot" host=fb-121071064.herokuapp.com request_id=77443caa-168e-4428-9f43-9611d8230b9e fwd="66.220.146.21" dyno= connect= service= status=503 bytes=

2016-07-28t13:36:37.043656+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=fb-121071064.herokuapp.com request_id=03ed313b-0930-4e12-8303-1af63446a429 fwd="103.204.168.142" dyno= connect= service= status=503 bytes=

2016-07-28t13:36:37.942331+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=fb-121071064.herokuapp.com request_id=ca3b7c09-e44c-4fbb-97e1-156393b9d483 fwd="103.204.168.142" dyno= connect= service= status=503 bytes=

2016-07-28t13:40:46.783907+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/" host=fb-121071064.herokuapp.com request_id=928318db-97b2-44c3-ae68-0a5cb20c692f fwd="103.204.168.142" dyno= connect= service= status=503 bytes=

do have link repo/github? if it's got 404 on localend, problem may not heroku. you're running locally, try opening app on chrome, 'command +shift+ j' see if there error messages. 404 means can't reach server...may wrong how api written.

also, i'm going through similar problems right now. closest guide out there seems heroku issues when it: http://www.tilcode.com/deploying-a-mean-stack-app-to-heroku/


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -