thorus
June 30, 2016, 10:07am
1
When trying the Heroku url:
Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
Heroku log:
2016-06-30T09:50:50.412023+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path=“/” host=APPNAME.herokuapp.com request_id=5477cc40-eb39-4dd3-9a3a-14d1f3ad0022 fwd=“IP” dyno= connect= service= status=503 bytes=
Any ideers on what the problem is?
Well, a 503 error is “service unavailable”:
503 Service Unavailable
The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state. (wikipedia)
Are you on a free tier, which has been shut down?
thorus
June 30, 2016, 11:33am
3
So, those dinos sleep after 30 mins of inactivity - maybe it went to sleep and didn’t wake up quickly enough?
Are those the only logs you have? It should show a little more about the reason…
You’re using this buildpack for deployment? Find out by using this command:
heroku buildpacks --app APPNAME
2 buildpacks? You only need the meteor one.
And do you have any more logs? It should show a reason why it crashed.
thorus
June 30, 2016, 1:04pm
8
i’m new to Heroku so I dont know where to get more crash rapports
Ok, no problem If you want to see your logs you can type this:
heroku logs --tail --app APPNAME
That should show you a live streaming log.
Your build succeeded? https://dashboard.heroku.com/apps/APPNAME/activity and then click on view build log
ickyrr
September 24, 2016, 5:57pm
11
The link you provided is broken, please check. For those who are still looking for solutions, you can take a look at this guide.
2018-03-03T18:20:07.863085+00:00 app[web.1]: - Error: Cannot find module 'express’
2018-03-03T18:20:07.863087+00:00 app[web.1]: - at Function.Module._resolveFilename (module.js:538:15)
2018-03-03T18:20:07.863088+00:00 app[web.1]: - at Function.Module._load (module.js:468:25)
2018-03-03T18:20:07.863089+00:00 app[web.1]: - at Module.require (module.js:587:17)
2018-03-03T18:20:07.863090+00:00 app[web.1]: - at require (internal/module.js:11:18)
2018-03-03T18:20:07.863092+00:00 app[web.1]: - at Object. (/app/app.js:1:77)
2018-03-03T18:20:07.863093+00:00 app[web.1]: - at Module._compile (module.js:643:30)
2018-03-03T18:20:07.863097+00:00 app[web.1]: - at Module.load (module.js:556:32)
2018-03-03T18:20:07.863098+00:00 app[web.1]: - at tryModuleLoad (module.js:499:12)
2018-03-03T18:20:07.863096+00:00 app[web.1]: - at Object.Module._extensions…js (module.js:654:10)
2018-03-03T18:20:07.863100+00:00 app[web.1]: - at Function.Module._load (module.js:491:3)
2018-03-03T18:20:07.871621+00:00 app[web.1]: - npm ERR! code ELIFECYCLE
2018-03-03T18:20:07.871891+00:00 app[web.1]: - npm ERR! errno 1
2018-03-03T18:20:07.872896+00:00 app[web.1]: - npm ERR! spbot@1.0.0 start: node app.js
2018-03-03T18:20:07.873012+00:00 app[web.1]: - npm ERR! Exit status 1
2018-03-03T18:20:07.873226+00:00 app[web.1]: - npm ERR!
2018-03-03T18:20:07.873388+00:00 app[web.1]: - npm ERR! Failed at the spbot@1.0.0 start script.
2018-03-03T18:20:07.873539+00:00 app[web.1]: - npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2018-03-03T18:20:07.880375+00:00 app[web.1]: - npm WARN Local package.json exists, but node_modules missing, did you mean to install?
2018-03-03T18:20:07.880948+00:00 app[web.1]: -
2018-03-03T18:20:07.881385+00:00 app[web.1]: - npm ERR! A complete log of this run can be found in:
2018-03-03T18:20:07.881513+00:00 app[web.1]: - npm ERR! /app/.npm/_logs/2018-03-03T18_20_07_874Z-debug.log
2018-03-03T18:20:07.967422+00:00 heroku[web.1]: - State changed from starting to crashed
2018-03-03T23:58:54.602667+00:00 heroku[web.1]: - State changed from crashed to starting
2018-03-03T23:58:56.412683+00:00 heroku[web.1]: - Starting process with command npm start
2018-03-03T23:58:58.278885+00:00 heroku[web.1]: - State changed from starting to crashed
2018-03-03T23:58:58.071921+00:00 app[web.1]: -
2018-03-03T23:58:58.071940+00:00 app[web.1]: - > spbot@1.0.0 start /app
2018-03-03T23:58:58.071942+00:00 app[web.1]: - > node app.js
2018-03-03T23:58:58.071944+00:00 app[web.1]: -
2018-03-03T23:58:58.190402+00:00 app[web.1]: - module.js:540
2018-03-03T23:58:58.190406+00:00 app[web.1]: - throw err;
2018-03-03T23:58:58.190407+00:00 app[web.1]: - ^
2018-07-04T12:11:48.817086+00:00 app[web.1]: at Object. (packages/mongo/remote_collection_driver.js:38:10)
2018-07-04T12:11:48.817087+00:00 app[web.1]: at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
2018-07-04T12:11:48.817089+00:00 app[web.1]: at new Collection (packages/mongo/collection.js:97:40)
2018-07-04T12:11:48.817091+00:00 app[web.1]: at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
2018-07-04T12:11:48.817082+00:00 app[web.1]: at new MongoConnection (packages/mongo/mongo_driver.js:169:11)
2018-07-04T12:11:48.817092+00:00 app[web.1]: at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
2018-07-04T12:11:48.817094+00:00 app[web.1]: at server_main.js (packages/accounts-base/server_main.js:9:12)
2018-07-04T12:11:48.870548+00:00 heroku[web.1]: Process exited with status 1
2018-07-04T12:21:54.833354+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path="/" host=chat-fourams.herokuapp.com request_id=ac82f933-e35d-41f9-a7c5-ed4044e2729e fwd=“114.143.27.2” dyno= connect= service= status=503 bytes= protocol=https
2018-07-04T12:21:55.169721+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path="/favicon.ico" host=chat-fourams.herokuapp.com request_id=c9ae5987-e5f9-48cc-8ec4-dcb02c21a998 fwd=“114.143.27.2” dyno= connect= service= status=503 bytes= protocol=https
I am getting these log after successful Build.help me out to resolve these Application Error @ickyrr @jamiter
Hello there I have the same problem and I have two buildpacks
https://github.com/heroku/heroku-buildpack-jvm-common.git
https://github.com/metabase/metabase-buildpack
I try to restart my heroku but still no changes, any suggestion?
This is a Meteor forum. I’m not familiar with buildpacks you mentioned. You might want to try Stack Overflow.
thorus
April 15, 2020, 2:46pm
16