You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this issue today while I was trying get this boilerplate app running on Heorku.
Problem statement:
Travis-ci is successfully building & deploying the app on Heroku. However when I visit the site on Heroku, it just throws 'Application Error'.
Root cause:
So I figured out from heroku logs that this is something to do with custom port being set in package.json. This ticket also confirmed that.
Solution:
Delete the PORT parameter from production betterScripts in package.json so that it can be picked from process.env.PORT at runtime.
Should look like this after edit: "start-prod": { "command": "node ./bin/server.js", "env": { "NODE_PATH": "./src", "NODE_ENV": "production", "APIPORT": 3030 }
The text was updated successfully, but these errors were encountered:
keshavmesta
changed the title
Heroku | Error R10 (Boot timeout) -> Web process failed to bind to $PORT
Heroku | Error R10 (Boot timeout) -> Web process failed to bind to $PORT (Solved)
Jan 28, 2016
I encountered this issue today while I was trying get this boilerplate app running on Heorku.
Problem statement:
Travis-ci is successfully building & deploying the app on Heroku. However when I visit the site on Heroku, it just throws 'Application Error'.
Root cause:
So I figured out from heroku logs that this is something to do with custom port being set in package.json. This ticket also confirmed that.
Solution:
Delete the PORT parameter from production betterScripts in package.json so that it can be picked from process.env.PORT at runtime.
Should look like this after edit:
"start-prod": { "command": "node ./bin/server.js", "env": { "NODE_PATH": "./src", "NODE_ENV": "production", "APIPORT": 3030 }
The text was updated successfully, but these errors were encountered: