I am trying to host my app on heroku but everytime it is showing this
I don't know what to do localhost is working fine.
i have both 3000||PORT in app.js
app.listen(3000 || process.env.PORT, function() {
console.log("server started");
});
2020-04-17T09:18:25.211095+00:00 heroku[web.1]: State changed from crashed to starting
2020-04-17T09:18:25.004117+00:00 app[api]: Deploy 90cb3367 by user vkoorm#gmail.com
2020-04-17T09:18:25.004117+00:00 app[api]: Release v4 created by user vkoorm#gmail.com
2020-04-17T09:18:26.000000+00:00 app[api]: Build succeeded
2020-04-17T09:18:31.052029+00:00 app[web.1]:
2020-04-17T09:18:31.052049+00:00 app[web.1]: > app#1.0.0 start /app
2020-04-17T09:18:31.052050+00:00 app[web.1]: > node app.js
2020-04-17T09:18:31.052050+00:00 app[web.1]:
2020-04-17T09:18:31.864027+00:00 app[web.1]: Warning: connect.session() MemoryStore is not
2020-04-17T09:18:31.864060+00:00 app[web.1]: designed for a production environment, as it will leak
2020-04-17T09:18:31.864061+00:00 app[web.1]: memory, and will not scale past a single process.
2020-04-17T09:18:31.869069+00:00 app[web.1]: server started
2020-04-17T09:18:33.093946+00:00 app[web.1]: Connected to DB
2020-04-17T09:19:28.552031+00:00 heroku[web.1]: State changed from starting to crashed
2020-04-17T09:19:28.555871+00:00 heroku[web.1]: State changed from crashed to starting
2020-04-17T09:19:28.969225+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mininin.herokuapp.com
request_id=e42100b5-53ac-4b78-a1c7-beaae05672b0 fwd="182.68.209.14" dyno= connect= service= status=503 bytes= protocol=https
2020-04-17T09:19:33.338439+00:00 app[web.1]:
2020-04-17T09:19:33.338460+00:00 app[web.1]: > app#1.0.0 start /app
2020-04-17T09:19:33.338460+00:00 app[web.1]: > node app.js
2020-04-17T09:19:33.338460+00:00 app[web.1]:
2020-04-17T09:19:34.184638+00:00 app[web.1]: Warning: connect.session() MemoryStore is not
2020-04-17T09:19:34.184689+00:00 app[web.1]: designed for a production environment, as it will leak
2020-04-17T09:19:34.184690+00:00 app[web.1]: memory, and will not scale past a single process.
2020-04-17T09:19:34.189167+00:00 app[web.1]: server started
2020-04-17T09:19:35.441183+00:00 app[web.1]: Connected to DB
2020-04-17T09:20:31.565214+00:00 heroku[web.1]: State changed from starting to crashed
2020-04-17T09:20:32.881860+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mininin.herokuapp.com
request_id=0eccf9a7-6f74-4f3e-a915-8ab22aa69582 fwd="182.68.209.14" dyno= connect= service= status=503 bytes= protocol=https
2020-04-17T09:20:33.268425+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mininin.herokuapp.com request_id=1e49adb2-5729-4fea-957d-12c864d93207 fwd="182.68.209.14" dyno= connect= service= status=503 bytes= protocol=https
2020-04-17T09:20:34.173528+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mininin.herokuapp.com request_id=d3a7a1a9-9d22-4b51-a4d7-58efd9b785c1 fwd="182.68.209.14" dyno= connect= service= status=503 bytes= protocol=https
Can you change your listener to something like this because I guess heroku doesn't allow you to assign listening ports but provides them dynamically. In your case 3000 || process.env.PORT it always return PORT 3000.
app.listen(process.env.PORT || 3000, function() {
console.log("server started");
});
Related
My logs don't indicate any errors as far as I can tell, but I'm receiving the following error when loading the site:
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command Heroku logs --tail.
Below you can find the Application logs. Am I missing something here?
2022-10-28T16:09:59.284170+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:1037:32)
2022-10-28T16:09:59.284170+00:00 app[web.1]: at Module._load (node:internal/modules/cjs/loader:878:12) {
2022-10-28T16:09:59.284171+00:00 app[web.1]: code: 'ERR_DLOPEN_FAILED'
2022-10-28T16:09:59.284171+00:00 app[web.1]: }
2022-10-28T16:09:59.284203+00:00 app[web.1]:
2022-10-28T16:09:59.284203+00:00 app[web.1]: Node.js v18.12.0
2022-10-28T16:09:59.421528+00:00 heroku[web.1]: Process exited with status 1
2022-10-28T16:09:59.509359+00:00 heroku[web.1]: State changed from starting to crashed
2022-10-28T16:10:00.273067+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=fiyweb.herokuapp.com request_id=ab9544b4-78bf-4481-95d4-a807f843db13 fwd="175.107.224.190" dyno= connect= service= status=503 bytes= protocol=https
2022-10-28T16:10:01.890301+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=fiyweb.herokuapp.com request_id=6b460d9b-f6da-46f0-87a1-dcd87919ea95 fwd="175.107.224.190" dyno= connect= service= status=503 bytes= protocol=https
Someone suggested Heroku. I connected it to my github. After deploying it tells me application error see below:
"
Application Logs
2021-05-13T05:33:11.974735+00:00 heroku[web.1]: State changed from crashed to starting
2021-05-13T05:33:17.434161+00:00 heroku[web.1]: Starting process with command `npm start`
2021-05-13T05:33:21.152639+00:00 app[web.1]: npm ERR! missing script: start
2021-05-13T05:33:21.177166+00:00 app[web.1]:
2021-05-13T05:33:21.179883+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-05-13T05:33:21.183465+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-05-13T05_33_21_153Z-debug.log
2021-05-13T05:33:21.253969+00:00 heroku[web.1]: Process exited with status 1
2021-05-13T05:33:21.354019+00:00 heroku[web.1]: State changed from starting to crashed
2021-05-13T05:33:22.611937+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=intelhubdev.herokuapp.com request_id=56993659-8105-4f1a-b1a0-ff53a2c65ae2 fwd="197.210.45.44" dyno= connect= service= status=503 bytes= protocol=https
2021-05-13T05:33:23.853075+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=intelhubdev.herokuapp.com request_id=fbd4eed8-7477-4de3-b3a2-6438c536c470 fwd="197.210.45.44" dyno= connect= service= status=503 bytes= protocol=https"
I have problems with heroku hosting idk what can i do. (the port probably correct: const PORT = process.env.PORT ||)
2020-09-07T20:45:20.640779+00:00 heroku[web.1]: State changed from crashed to starting
2020-09-07T20:45:20.304911+00:00 app[api]: Deploy d8237452 by user maurerkrisztian#gmail.com
2020-09-07T20:45:20.304911+00:00 app[api]: Release v7 created by user maurerkrisztian#gmail.com
2020-09-07T20:45:20.000000+00:00 app[api]: Build succeeded
2020-09-07T20:45:25.983410+00:00 heroku[web.1]: Starting process with command `npm start`
2020-09-07T20:45:28.650802+00:00 app[web.1]:
2020-09-07T20:45:28.650814+00:00 app[web.1]: > simple-rest-api#1.0.0 start /app
2020-09-07T20:45:28.650814+00:00 app[web.1]: > ts-node-dev app.ts
2020-09-07T20:45:28.650814+00:00 app[web.1]:
2020-09-07T20:45:29.326452+00:00 app[web.1]: ts-node-dev ver. 1.0.0-pre.58 (using ts-node ver. 8.10.2, typescript ver. 3.9.7)
2020-09-07T20:45:39.103732+00:00 app[web.1]: [ERROR] 20:45:39 Error: Cannot parse config file: '/app/config/production.json': SyntaxError: Unexpected end of JSON input
2020-09-07T20:46:26.541466+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2020-09-07T20:46:26.561313+00:00 heroku[web.1]: Stopping process with SIGKILL
2020-09-07T20:46:26.665093+00:00 heroku[web.1]: Process exited with status 137
2020-09-07T20:46:26.718342+00:00 heroku[web.1]: State changed from starting to crashed
2020-09-07T20:46:28.765964+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/echo" host=anime-stream-api.herokuapp.com request_id=d2794c21-f597-44e0-86f8-d6df00c2fac1 fwd="84.236.68.164" dyno= connect= service= status=503 bytes= protocol=https
2020-09-07T20:46:30.035002+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=anime-stream-api.herokuapp.com request_id=2a36961c-812a-412c-acb3-13b01d962394 fwd="84.236.68.164" dyno= connect= service= status=503 bytes= protocol=https
2020-09-07T20:46:34.664255+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/echo" host=anime-stream-api.herokuapp.com request_id=1b02724a-887e-4881-8fde-2e025fc6ed1c fwd="84.236.68.164" dyno= connect= service= status=503 bytes= protocol=https
production.json probably has an error, check if it is a valid JSON code
I am creating a very simple Heroku NodeJS server and it is throwing the following error when I load the page:
Failed to load resource: the server responded with a status of 503 (Service Unavailable)
The code for the index.js file:
const express = require('express');
const app = express();
app.get('/', (request, res) => {
res.send('Conneccteedd!!')
}
)
app.get('/something', (request, res) => {
res.send('somethingg!!')
}
)
app.listen(3000, () => console.log('Example app listening on post 3000!'))
When I run heroku logs, I get this:
2018-04-07T17:23:59.443080+00:00 app[api]: Enable Logplex by user rcocuzzo8#gmail.com
2018-04-07T17:23:59.139900+00:00 app[api]: Release v1 created by user rcocuzzo8#gmail.com
2018-04-07T17:23:59.139900+00:00 app[api]: Initial release by user rcocuzzo8#gmail.com
2018-04-07T17:23:59.443080+00:00 app[api]: Release v2 created by user rcocuzzo8#gmail.com
2018-04-07T17:24:44.000000+00:00 app[api]: Build started by user rcocuzzo8#gmail.com
2018-04-07T17:24:52.198560+00:00 app[api]: Deploy ac13e171 by user rcocuzzo8#gmail.com
2018-04-07T17:24:52.198560+00:00 app[api]: Release v3 created by user rcocuzzo8#gmail.com
2018-04-07T17:24:52.225795+00:00 app[api]: Scaled to web#1:Free by user rcocuzzo8#gmail.com
2018-04-07T17:24:44.000000+00:00 app[api]: Build succeeded
2018-04-07T17:24:54.670733+00:00 heroku[web.1]: Starting process with command `npm start`
2018-04-07T17:24:57.221082+00:00 heroku[web.1]: Process exited with status 1
2018-04-07T17:24:57.237275+00:00 heroku[web.1]: State changed from starting to crashed
2018-04-07T17:24:57.240098+00:00 heroku[web.1]: State changed from crashed to starting
2018-04-07T17:24:57.159083+00:00 app[web.1]: npm ERR! missing script: start
2018-04-07T17:24:57.165086+00:00 app[web.1]:
2018-04-07T17:24:57.165114+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2018-04-07T17:24:57.165210+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2018-04-07T17_24_57_160Z-debug.log
2018-04-07T17:25:00.031630+00:00 heroku[web.1]: Starting process with command `npm start`
2018-04-07T17:25:02.926871+00:00 heroku[web.1]: Process exited with status 1
2018-04-07T17:25:02.833143+00:00 app[web.1]: npm ERR! missing script: start
2018-04-07T17:25:02.842169+00:00 app[web.1]:
2018-04-07T17:25:02.842516+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2018-04-07T17:25:02.842705+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2018-04-07T17_25_02_835Z-debug.log
2018-04-07T17:25:02.943109+00:00 heroku[web.1]: State changed from starting to crashed
2018-04-07T17:25:33.768543+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-crag-38927.herokuapp.com request_id=604adedc-92bb-41f9-aff8-510ef9540502 fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:25:34.409195+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-crag-38927.herokuapp.com request_id=0e875c22-57c7-4222-88b7-182580dc5aca fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:25:52.739291+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-crag-38927.herokuapp.com request_id=68de943d-1ec9-4b58-8c2a-1b02f330746c fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:25:53.528379+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-crag-38927.herokuapp.com request_id=b6b7cf31-64e7-4888-9eb9-42fe65b4f9c0 fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:27:33.130652+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-crag-38927.herokuapp.com request_id=9c3180f6-76fa-40f1-98b4-d39018991e96 fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:27:33.494007+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-crag-38927.herokuapp.com request_id=3841d1fa-d1ca-482c-8f43-947f07e4f84d fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:33:42.000000+00:00 app[api]: Build started by user rcocuzzo8#gmail.com
2018-04-07T17:33:52.608615+00:00 app[api]: Deploy 9d2bc566 by user rcocuzzo8#gmail.com
2018-04-07T17:33:52.608615+00:00 app[api]: Release v4 created by user rcocuzzo8#gmail.com
2018-04-07T17:33:42.000000+00:00 app[api]: Build succeeded
2018-04-07T17:33:54.281891+00:00 heroku[web.1]: State changed from crashed to starting
2018-04-07T17:33:57.242836+00:00 heroku[web.1]: Starting process with command `npm start`
2018-04-07T17:33:59.949160+00:00 app[web.1]:
2018-04-07T17:33:59.949177+00:00 app[web.1]: > first#1.0.0 start /app
2018-04-07T17:33:59.949179+00:00 app[web.1]: > node index.js
2018-04-07T17:33:59.949181+00:00 app[web.1]:
2018-04-07T17:34:00.317195+00:00 app[web.1]: Example app listening on post 3000!
2018-04-07T17:34:57.440018+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2018-04-07T17:34:57.440165+00:00 heroku[web.1]: Stopping process with SIGKILL
2018-04-07T17:34:57.554675+00:00 heroku[web.1]: Process exited with status 137
2018-04-07T17:34:57.575996+00:00 heroku[web.1]: State changed from starting to crashed
2018-04-07T17:35:07.163337+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gentle-crag-38927.herokuapp.com request_id=872ac12e-8d25-40c9-a6c8-304a6e8aab42 fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:35:07.584580+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gentle-crag-38927.herokuapp.com request_id=0534531c-1a76-46a9-9fc0-54c0c814387e fwd="73.178.82.243" dyno= connect= service= status=503 bytes= protocol=https
2018-04-07T17:44:18.000000+00:00 app[api]: Build started by user rcocuzzo8#gmail.com
2018-04-07T17:44:27.830483+00:00 heroku[web.1]: State changed from crashed to starting
2018-04-07T17:44:27.611180+00:00 app[api]: Release v5 created by user rcocuzzo8#gmail.com
2018-04-07T17:44:27.611180+00:00 app[api]: Deploy f1d3f52b by user rcocuzzo8#gmail.com
2018-04-07T17:44:18.000000+00:00 app[api]: Build succeeded
2018-04-07T17:44:29.667502+00:00 heroku[web.1]: Starting process with command `npm start`
2018-04-07T17:44:32.132423+00:00 app[web.1]:
2018-04-07T17:44:32.132444+00:00 app[web.1]: > first#1.0.0 start /app
2018-04-07T17:44:32.132445+00:00 app[web.1]: > node index.js
2018-04-07T17:44:32.132446+00:00 app[web.1]:
2018-04-07T17:44:32.322170+00:00 app[web.1]: Example app listening on post 3000!
where it seems to be pointing at the lack of a start test, but here is my package.json file (which contains the script):
{
"name": "first",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Rcuz8/express-server-01.git"
},
"author": "cocuzzo",
"license": "ISC",
"bugs": {
"url": "https://github.com/Rcuz8/express-server-01/issues"
},
"homepage": "https://github.com/Rcuz8/express-server-01#readme",
"dependencies": {
"express": "^4.16.3"
}
}
And, lastly, here is what the site looks like with the console open:
If you would like a better visual for the code: here is the GitHub
From comments:
Why port 3000? How does Heroku know to proxy traffic to that port?
const PORT = process.env.PORT || 3000;
app.listen(PORT);
I have been having difficulties deploying on heroku. Followed the deploying a node js app on heroku guide but still keep getting an application error. any idea why please? here is my heroku logs
heroku logs
2015-10-27T19:48:35.704758+00:00 heroku[api]: Enable Logplex by chineduabalogu#gmail.com
2015-10-27T19:48:35.704758+00:00 heroku[api]: Release v2 created by chineduabalogu#gmail.com
2015-10-27T19:57:58.536860+00:00 heroku[slug-compiler]: Slug compilation started
2015-10-27T19:57:58.536871+00:00 heroku[slug-compiler]: Slug compilation finished
2015-10-27T19:57:58.397214+00:00 heroku[api]: Scale to web=1 by chineduabalogu#gmail.com
2015-10-27T19:57:58.466140+00:00 heroku[api]: Deploy 51bdb1d by chineduabalogu#gmail.com
2015-10-27T19:57:58.466140+00:00 heroku[api]: Release v3 created by chineduabalogu#gmail.com
2015-10-27T19:58:00.692453+00:00 heroku[web.1]: Starting process with command `npm start`
2015-10-27T19:58:03.827532+00:00 app[web.1]:
2015-10-27T19:58:03.827554+00:00 app[web.1]: > node app.js
2015-10-27T19:58:03.827552+00:00 app[web.1]: > gf17#0.0.1 start /app
2015-10-27T19:58:03.827555+00:00 app[web.1]:
2015-10-27T19:58:04.616168+00:00 app[web.1]: Express server listening on port 3000
2015-10-27T19:59:00.972722+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-10-27T19:59:00.972722+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-10-27T19:59:01.940288+00:00 heroku[web.1]: State changed from starting to crashed
2015-10-27T19:59:01.941567+00:00 heroku[web.1]: State changed from crashed to starting
2015-10-27T19:59:01.932037+00:00 heroku[web.1]: Process exited with status 137
2015-10-27T19:59:04.247002+00:00 heroku[web.1]: Starting process with command `npm start`
2015-10-27T19:59:07.923766+00:00 app[web.1]:
2015-10-27T19:59:07.923776+00:00 app[web.1]: > gf17#0.0.1 start /app
2015-10-27T19:59:07.923778+00:00 app[web.1]: > node app.js
2015-10-27T19:59:07.923779+00:00 app[web.1]:
2015-10-27T19:59:09.513389+00:00 app[web.1]: Express server listening on port 3000
2015-10-27T20:00:04.705994+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-10-27T20:00:04.705994+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-10-27T20:00:05.657468+00:00 heroku[web.1]: State changed from starting to crashed
2015-10-27T20:00:05.644215+00:00 heroku[web.1]: Process exited with status 137
2015-10-27T20:17:45.559370+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=evening-fjord-8286.herokuapp.com request_id=ce9f7865-5431-4514-83e3-9228df351291 fwd="154.118.30.203" dyno= connect= service= status=503 bytes=
2015-10-27T20:17:46.110795+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=evening-fjord-8286.herokuapp.com request_id=e7b1f9b7-4600-4ce7-b90c-3239a82abcb9 fwd="154.118.30.203" dyno= connect= service= status=503 bytes=
2015-10-27T20:17:48.086903+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=evening-fjord-8286.herokuapp.com request_id=8a41518c-cfd8-4dac-8622-1f94de9346b3 fwd="198.15.118.148" dyno= connect= service= status=503 bytes=
2015-10-27T20:17:48.543167+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=evening-fjord-8286.herokuapp.com request_id=e1ce271b-7a76-43c1-931e-0ac9a375cfb7 fwd="154.118.30.203" dyno= connect= service= status=503 bytes=
2015-10-27T20:19:48.784831+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=evening-fjord-8286.herokuapp.com request_id=9229308a-6604-4426-8ba6-4cabb8b94de9 fwd="154.118.30.203" dyno= connect= service= status=503 bytes=
2015-10-27T20:19:49.552910+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=evening-fjord-8286.herokuapp.com request_id=e542cc92-ca00-4044-8c23-76642887ef35 fwd="154.118.30.203" dyno= connect= service= status=503 bytes=
2015-10-27T20:22:17.304691+00:00 heroku[web.1]: State changed from crashed to starting
2015-10-27T20:22:19.261727+00:00 heroku[web.1]: Starting process with command `npm start`
2015-10-27T20:22:21.447920+00:00 app[web.1]:
2015-10-27T20:22:21.447934+00:00 app[web.1]: > gf17#0.0.1 start /app
2015-10-27T20:22:21.447935+00:00 app[web.1]: > node app.js
2015-10-27T20:22:21.447936+00:00 app[web.1]:
2015-10-27T20:22:22.123539+00:00 app[web.1]: Express server listening on port 3000
2015-10-27T20:23:19.916089+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-10-27T20:23:19.916089+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-10-27T20:23:20.780482+00:00 heroku[web.1]: Process exited with status 137
2015-10-27T20:23:20.792567+00:00 heroku[web.1]: State changed from starting to crashed
2015-10-27T20:25:54.984210+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=evening-fjord-8286.herokuapp.com request_id=83eec29d-598c-44d1-b6bc-55933e60013f fwd="154.118.30.203" dyno= connect= service= status=503 bytes=
2015-10-27T20:25:56.659875+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=evening-fjord-8286.herokuapp.com request_id=c384f7e6-e6e9-4088-bdf1-b7370b572b68 fwd="154.118.30.203" dyno= connect= service= status=503 bytes=
From your logs, it looks like you are NOT binding to the right port.
I'm going to assume that your Express.js app looks something like this:
app.listen(3000);
This line of code tells Express.js to start running a web server on port 3000. This is fine when you're writing code on your laptop, but when you deploy code to Heroku, Heroku will assign you a RANDOM port number that you MUST bind to.
So, to fix your problem, you should rewrite the above line of code to look like this:
app.listen(process.env.PORT || 3000);
This will tell your app to run on the correct Heroku port, but fall back to port 3000 when doing development on your local laptop =) This is the best of both worlds.
Hope this helps!