Heroko application error with node js - javascript

First time using Heroko. Followed the steps and my build was successful but when I go to the URL I got an application error. I looked in the logs but I'm not really sure whats happening, below is the list of logs I had
2016-08-04T14:24:15.352519+00:00 heroku[web.1]: State changed from crashed to starting
2016-08-04T14:24:31.776384+00:00 heroku[web.1]: Starting process with command `node server.js`
2016-08-04T14:24:34.211793+00:00 app[web.1]: keyword api listening at http://[::]:8088
2016-08-04T14:25:32.328147+00:00 heroku[web.1]: Stopping process with SIGKILL
2016-08-04T14:25:32.327930+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2016-08-04T14:25:32.501167+00:00 heroku[web.1]: State changed from starting to crashed
2016-08-04T14:25:32.503024+00:00 heroku[web.1]: State changed from crashed to starting
2016-08-04T14:25:32.477573+00:00 heroku[web.1]: Process exited with status 137
2016-08-04T14:25:36.445941+00:00 heroku[web.1]: Starting process with command `node server.js`
2016-08-04T14:25:39.335482+00:00 app[web.1]: keyword api listening at http://[::]:8088
2016-08-04T14:26:37.186681+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2016-08-04T14:26:37.186681+00:00 heroku[web.1]: Stopping process with SIGKILL
2016-08-04T14:26:37.329330+00:00 heroku[web.1]: Process exited with status 137
2016-08-04T14:26:37.353704+00:00 heroku[web.1]: State changed from starting to crashed
2016-08-04T14:26:37.619772+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=shielded-temple-17247.herokuapp.com request_id=db8eb419-e950-4768-8a3f-319a84f7d4e2 fwd="2.125.30.1" dyno= connect= service= status=503 bytes=
2016-08-04T14:26:38.809203+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=shielded-temple-17247.herokuapp.com request_id=5661b532-80af-40cb-8ae3-0bf9868b5e0f fwd="2.125.30.1" dyno= connect= service= status=503 bytes=

What do you have defined in your Procfile? Right now, it appears to be something like this:
web: node server.js
The Procfile tells Heroku how to run your application. The logs you showed indicate that you are trying to run your Node server on port 8088 -- this is likely the issue.
Heroku doesn't allow you to run your server on ANY port you want -- instead, it will dynamically tell you what port to run your server on when your application starts. It does this through the usage of an environment variable named PORT.
What you need to do is modify your server.js code so that you start your server on process.env.PORT.
Here's an example (in express.js):
var express = require('express');
var app = express();
app.listen(process.env.PORT);
That will successfully start up a Node server on Heroku by automatically binding to the correct port.
Hope that helps!

Related

Heroku can't run Node.js bot [duplicate]

This question already has answers here:
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch when I launch the bot in heroku
(1 answer)
Heroku Discord Bot is offline
(3 answers)
Python Twitter Bot w/ Heroku Error: R10 Boot Timeout
(1 answer)
Closed 3 days ago.
I've this app online for almost 6 months. When did Heroku become paid?
I turned off the app and now turned on again, but with this error message:
2023-02-17T01:41:42.781769+00:00 heroku[web.1]: Starting process with command npm start'
2023-02-17T01:41:44.529390+00:00 app[web.1]:
2023-02-17T01:41:44.529437+00:00 app[web.1]: > laura-bot#1.0.0 start
2023-02-17T01:41:44.529437+00:00 app[web.1]: > node bot.js
2023-02-17T01:41:44.529438+00:00 app[web.1]:
2023-02-17T01:42:43.020648+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2023-02-17T01:42:43.061426+00:00 heroku[web.1]: Stopping process with SIGKILL
2023-02-17T01:42:43.203331+00:00 heroku[web.1]: Process exited with status 137
2023-02-17T01:42:43.244732+00:00 heroku[web.1]: State changed from starting to crashed
2023-02-17T01:42:45.445544+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET
path="/" host=gentle-dawn-81130.herokuapp.com request_id=c52b465e-7f2f-4d90-882a-42ee1d941a75 fwd="177.170.84.112" dyno= connect= service= status=503 bytes= protocol=https

getting a 503 error when uploading to heroku with my nodejs application

I have been struggling to get my app loaded to heroku for the past couple of days. I get over one hurdle and then meet another. Now I am getting a the following error.
Failed to load resource: the server responded with a status of 503 (Service Unavailable) /favicon.ico
On the logs I am getting these error messages.
2018-04-11T08:13:48.238214+00:00 app[web.1]: > rock-paper-scissors#1.0.0 start /app
2018-04-11T08:13:48.331598+00:00 app[web.1]: Server has started.
2018-04-11T08:13:48.238216+00:00 app[web.1]:
2018-04-11T08:13:48.238198+00:00 app[web.1]:
2018-04-11T08:14:46.646952+00:00 heroku[web.1]: State changed from starting to crashed
2018-04-11T08:14:46.571274+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2018-04-11T08:14:46.629369+00:00 heroku[web.1]: Process exited with status 137
2018-04-11T09:38:48.218885+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=brianpat-rock-paper-scissors.herokuapp.com request_id=0db40b3c-c918-4a3d-9a4d-f3a5fcf69bc8 fwd="94.174.32.117" dyno= connect= service= status=503 bytes= protocol=https
2018-04-11T09:38:48.541351+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=brianpat-rock-paper-scissors.herokuapp.com request_id=ecf56ae7-84e6-43a0-9a77-3e9f9a7f538f fwd="94.174.32.117" dyno= connect= service= status=503 bytes= protocol=https
Yesterday I was getting a Method not Allowed error and now I am not sure if it has moved on or not. Not sure if this is my end or whether this is a maintenance issue with heroku? Possibly my end. I have tried looking for the same error on Stackoverflow but they have not proved helpful. Any help would be appreciated.

Heroku app not working on remote

I am deploying a simple node.js application. It seems to run fine locally (I see all the functionality I have written so far), but when I run:
heroku open cool
I just see a blank page.
Here are my logs:
2016-03-28T19:03:04.567334+00:00 heroku[web.1]: Idling
2016-03-28T19:03:04.568049+00:00 heroku[web.1]: State changed from up to down
2016-03-28T19:03:09.551701+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-03-28T19:03:11.228745+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2016-03-28T19:03:12.390081+00:00 heroku[web.1]: Process exited with status 22
2016-03-28T21:08:49.503946+00:00 heroku[web.1]: Unidling
2016-03-28T21:08:49.504269+00:00 heroku[web.1]: State changed from down to starting
2016-03-28T21:08:51.391775+00:00 heroku[web.1]: Starting process with command `npm start`
2016-03-28T21:08:56.437135+00:00 app[web.1]:
2016-03-28T21:08:56.437149+00:00 app[web.1]: > transloc#1.0.0 start /app
2016-03-28T21:08:56.437150+00:00 app[web.1]: > node server.js
2016-03-28T21:08:56.437151+00:00 app[web.1]:
2016-03-28T21:08:57.152952+00:00 heroku[web.1]: State changed from starting to up
2016-03-28T21:08:58.586930+00:00 heroku[router]: at=info method=GET path="/cool" host=still-depths-35391.herokuapp.com request_id=6feab52c-143c-4353-bbbc-696355042cbc fwd="152.3.43.142" dyno=web.1 connect=1ms service=25ms status=200 bytes=1764
2016-03-28T21:08:58.910098+00:00 heroku[router]: at=info method=GET path="/server.js" host=still-depths-35391.herokuapp.com request_id=5c3ab4d4-0a5d-48fa-b272-7c82000da3dd fwd="152.3.43.142" dyno=web.1 connect=1ms service=7ms status=200 bytes=1764
2016-03-28T21:08:58.960943+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=still-depths-35391.herokuapp.com request_id=e7a35c05-da23-4a47-995e-98f015ea08ed fwd="152.3.43.142" dyno=web.1 connect=5ms service=7ms status=200 bytes=1764

Heroku, Node npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"

I have a very simple app that works fine locally, but I am having problems on heroku. I'm unable to get the app deployed.
My main file is index.js. Any idea why I'm getting the npm ERR! argv?
I'm also getting a timeout request near the bottom, but I'm pretty sure that's because of the error at the top, but I can't find any information on how to fix that.
My Procfile:
web: node index.js
Heroku Logs
2016-01-04T03:13:40.069853+00:00 app[web.1]: at node.js:974:3
2016-01-04T03:13:40.098240+00:00 app[web.1]:
2016-01-04T03:13:40.116214+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"
2016-01-04T03:13:40.116460+00:00 app[web.1]: npm ERR! node v5.1.1
2016-01-04T03:13:40.117293+00:00 app[web.1]: npm ERR! npm v3.3.12
2016-01-04T03:13:40.117565+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2016-01-04T03:13:40.117685+00:00 app[web.1]: npm ERR! 3-broadcast#1.0.0 start: `node index.js`
2016-01-04T03:13:40.117852+00:00 app[web.1]: npm ERR! Exit status 1
2016-01-04T03:13:40.118043+00:00 app[web.1]: npm ERR!
2016-01-04T03:13:40.118238+00:00 app[web.1]: npm ERR! Failed at the 3-broadcast#1.0.0 start script 'node index.js'.
2016-01-04T03:13:40.126696+00:00 app[web.1]: npm ERR! Make sure you have the latest version of node.js and npm installed.
2016-01-04T03:13:40.126957+00:00 app[web.1]: npm ERR! If you do, this is most likely a problem with the 3-broadcast package,
2016-01-04T03:13:40.127149+00:00 app[web.1]: npm ERR! not with npm itself.
2016-01-04T03:13:40.127352+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2016-01-04T03:13:40.127528+00:00 app[web.1]: npm ERR! node index.js
2016-01-04T03:13:40.127726+00:00 app[web.1]: npm ERR! You can get their info via:
2016-01-04T03:13:40.057500+00:00 app[web.1]: module.js:340
2016-01-04T03:13:40.127892+00:00 app[web.1]: npm ERR! npm owner ls 3-broadcast
2016-01-04T03:13:40.115774+00:00 app[web.1]: npm ERR! Linux 3.13.0-71-generic
2016-01-04T03:13:40.128057+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
2016-01-04T03:13:40.142232+00:00 app[web.1]: npm ERR! Please include the following file with any support request:
2016-01-04T03:13:40.142468+00:00 app[web.1]: npm ERR! /app/npm-debug.log
2016-01-04T03:13:40.131714+00:00 app[web.1]:
2016-01-04T03:13:41.074138+00:00 heroku[web.1]: Process exited with status 1
2016-01-04T03:13:58.421558+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=blueredcircles.herokuapp.com request_id=e17561ec-a72c-4bda-a828-89d94b467eca fwd="67.202.159.95" dyno= connect= service= status=503 bytes=
2016-01-04T03:13:58.846066+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=blueredcircles.herokuapp.com request_id=f43b9355-785a-46c6-8b4b-d8242850eefa fwd="67.202.159.95" dyno= connect= service= status=503 bytes=
2016-01-04T03:13:41.079689+00:00 heroku[web.1]: State changed from starting to crashed
2016-01-04T03:13:34.108622+00:00 heroku[web.1]: State changed from crashed to starting
2016-01-04T03:16:03.635321+00:00 heroku[api]: Deploy b368561 by john.steven.curry#gmail.com
2016-01-04T03:16:03.635321+00:00 heroku[api]: Release v5 created by john.steven.curry#gmail.com
2016-01-04T03:16:03.859376+00:00 heroku[slug-compiler]: Slug compilation started
2016-01-04T03:16:03.859386+00:00 heroku[slug-compiler]: Slug compilation finished
2016-01-04T03:16:05.130278+00:00 heroku[web.1]: Starting process with command `npm start`
2016-01-04T03:16:07.541724+00:00 app[web.1]:
2016-01-04T03:16:07.541734+00:00 app[web.1]: > 3-broadcast#1.0.0 start /app
2016-01-04T03:16:07.541735+00:00 app[web.1]: > node server.js
2016-01-04T03:16:07.541736+00:00 app[web.1]:
2016-01-04T03:16:08.850108+00:00 heroku[web.1]: State changed from starting to up
2016-01-04T03:17:00.281412+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=blueredcircles.herokuapp.com request_id=51a122b3-29cf-4990-bdd3-87876aff7eb9 fwd="67.202.159.95" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0
2016-01-04T03:17:34.578076+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=blueredcircles.herokuapp.com request_id=ea1ec7e0-9d21-4b75-a178-b1459c7f7b26 fwd="67.202.159.95" dyno=web.1 connect=0ms service=30008ms status=503 bytes=0
2016-01-04T03:19:02.419204+00:00 heroku[api]: Deploy 455f4b9 by john.steven.curry#gmail.com
2016-01-04T03:19:02.419204+00:00 heroku[api]: Release v6 created by john.steven.curry#gmail.com
2016-01-04T03:19:02.554096+00:00 heroku[slug-compiler]: Slug compilation started
2016-01-04T03:19:02.554106+00:00 heroku[slug-compiler]: Slug compilation finished
2016-01-04T03:19:02.521646+00:00 heroku[web.1]: State changed from up to starting
2016-01-04T03:19:03.765155+00:00 heroku[web.1]: Starting process with command `npm start`
2016-01-04T03:19:06.461660+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-01-04T03:19:06.859284+00:00 app[web.1]:
2016-01-04T03:19:06.859295+00:00 app[web.1]: > node server.js
2016-01-04T03:19:06.859293+00:00 app[web.1]: > 3-broadcast#1.0.0 start /app
2016-01-04T03:19:06.859295+00:00 app[web.1]:
2016-01-04T03:19:07.496859+00:00 heroku[web.1]: State changed from starting to up
2016-01-04T03:19:07.678179+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2016-01-04T03:19:08.417595+00:00 heroku[web.1]: Process exited with status 22
2016-01-04T03:19:41.947257+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=blueredcircles.herokuapp.com request_id=9c09f36a-907f-46f8-987a-6643c4a8c812 fwd="67.202.159.95" dyno=web.1 connect=0ms service=30013ms status=503 bytes=0
2016-01-04T03:20:12.792172+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=blueredcircles.herokuapp.com request_id=13122c47-3da7-4225-8ecb-456e02300e98 fwd="67.202.159.95" dyno=web.1 connect=2ms service=30000ms status=503 bytes=0
2016-01-04T03:30:30.747148+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=blueredcircles.herokuapp.com request_id=173c5f06-e37f-4d58-851d-09a657bc6471 fwd="67.202.159.95" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0
2016-01-04T03:31:01.607943+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=blueredcircles.herokuapp.com request_id=5a9b793c-33b7-4cbc-ba79-7d3fd03d6c9d fwd="67.202.159.95" dyno=web.1 connect=0ms service=30001ms status=503 bytes=0
2016-01-04T03:35:45.503236+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=blueredcircles.herokuapp.com request_id=0619c426-5b9f-4466-9149-23a25c9f2c9f fwd="67.202.159.95" dyno=web.1 connect=2ms service=30001ms status=503 bytes=0
2016-01-04T03:36:16.605008+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=blueredcircles.herokuapp.com request_id=7041b988-7754-4daf-b2cc-aa59d47af6a9 fwd="67.202.159.95" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0
2016-01-04T03:51:14.197715+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-01-04T03:51:09.664826+00:00 heroku[web.1]: Idling
2016-01-04T03:51:09.665575+00:00 heroku[web.1]: State changed from up to down
2016-01-04T03:59:35.268346+00:00 heroku[api]: Deploy 76810f5 by john.steven.curry#gmail.com
2016-01-04T03:59:35.268417+00:00 heroku[api]: Release v7 created by john.steven.curry#gmail.com
2016-01-04T03:59:35.419230+00:00 heroku[slug-compiler]: Slug compilation started
2016-01-04T03:59:35.419242+00:00 heroku[slug-compiler]: Slug compilation finished
2016-01-04T03:59:43.936272+00:00 heroku[web.1]: Unidling
2016-01-04T03:59:43.936548+00:00 heroku[web.1]: State changed from down to starting
2016-01-04T03:59:45.379956+00:00 heroku[web.1]: Starting process with command `npm start`
2016-01-04T03:59:48.386628+00:00 app[web.1]:
2016-01-04T03:59:48.386638+00:00 app[web.1]: > 3-broadcast#1.0.0 start /app
2016-01-04T03:59:48.386639+00:00 app[web.1]: > node index.js
2016-01-04T03:59:48.386640+00:00 app[web.1]:
2016-01-04T04:00:21.016181+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=blueredcircles.herokuapp.com request_id=adb01525-d9ab-4218-aeb9-d83663fa5c44 fwd="67.202.159.95" dyno=web.1 connect=8ms service=30001ms status=503 bytes=0
2016-01-04T04:00:52.022088+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=blueredcircles.herokuapp.com request_id=644b6a2e-7f10-45ca-96d4-160ed0c57511 fwd="67.202.159.95" dyno=web.1 connect=2ms service=30000ms status=503 bytes=0
2016-01-04T04:12:47.063010+00:00 heroku[slug-compiler]: Slug compilation started
2016-01-04T04:12:47.063020+00:00 heroku[slug-compiler]: Slug compilation finished
2016-01-04T04:12:46.926357+00:00 heroku[api]: Deploy ac9051e by john.steven.curry#gmail.com
2016-01-04T04:12:46.926395+00:00 heroku[api]: Release v8 created by john.steven.curry#gmail.com
2016-01-04T04:12:48.336084+00:00 heroku[web.1]: Starting process with command `node index.js`
2016-01-04T04:12:52.744593+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-01-04T04:12:54.916240+00:00 heroku[web.1]: Process exited with status 143
2016-01-04T04:13:38.172796+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=blueredcircles.herokuapp.com request_id=e2a82fa4-2cde-41c8-9ced-f07b364bc5cf fwd="67.202.159.95" dyno=web.1 connect=2ms service=30000ms status=503 bytes=0
2016-01-04T04:14:09.018120+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=blueredcircles.herokuapp.com request_id=42ff0959-f6b2-40a7-bd91-e133440a7219 fwd="67.202.159.95" dyno=web.1 connect=1ms service=30007ms status=503 bytes=0
2016-01-04T04:22:13.685866+00:00 heroku[api]: Deploy cd095d8 by john.steven.curry#gmail.com
2016-01-04T04:22:13.685900+00:00 heroku[api]: Release v9 created by john.steven.curry#gmail.com
2016-01-04T04:22:13.818747+00:00 heroku[slug-compiler]: Slug compilation started
2016-01-04T04:22:13.818760+00:00 heroku[slug-compiler]: Slug compilation finished
2016-01-04T04:22:13.808044+00:00 heroku[web.1]: State changed from up to starting
2016-01-04T04:22:14.560498+00:00 heroku[web.1]: Starting process with command `node index.js`
2016-01-04T04:22:15.616097+00:00 heroku[web.1]: State changed from starting to up
2016-01-04T04:22:18.806289+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-01-04T04:22:21.385366+00:00 heroku[web.1]: Process exited with status 143
2016-01-04T04:27:40.534025+00:00 heroku[api]: Release v10 created by john.steven.curry#gmail.com
2016-01-04T04:27:40.533989+00:00 heroku[api]: Deploy 992d387 by john.steven.curry#gmail.com
2016-01-04T04:27:40.664281+00:00 heroku[slug-compiler]: Slug compilation started
2016-01-04T04:27:40.664290+00:00 heroku[slug-compiler]: Slug compilation finished
2016-01-04T04:27:41.813131+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-01-04T04:27:41.873956+00:00 heroku[web.1]: Starting process with command `node index.js`
2016-01-04T04:27:42.582874+00:00 heroku[web.1]: Process exited with status 143
index.js:
var app = require('http').createServer();
var io = require('socket.io')(app);
app.listen(process.env.PORT || 8000);
io.on('connection', function(socket) {
var alert = 'test hello from server :) ' + Math.random();
socket.on('change color', function(){
socket.broadcast.emit('change color');
});
socket.on('disconnect', function(){
console.log('1 client disconnected');
});
});
"engines": {
"node": "9.4.0",
"npm": "5.6.0"
}
Add these in your package.json file.
EDIT:
Your Heroku npm version should be compatible with your node version running on the device.

what does error status 413 in node.js, heroku mean?

I have a node.js app that works fine locally but when i run in at heroku it quits, I status 0 or status 143 does anyone understand what this can mean?
2015-04-14T21:14:41.428508+00:00 heroku[api]: Release v8 created by
josef#actionist.se
2015-04-14T21:14:41.569626+00:00 heroku[web.1]: State changed from up to starting
2015-04-14T21:14:44.101446+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2015-04-14T21:14:45.789499+00:00 heroku[web.1]: Starting process with command `node index.js`
2015-04-14T21:14:45.675609+00:00 heroku[web.1]: Process exited with status 143
2015-04-14T21:14:47.559184+00:00 app[web.1]: Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)
2015-04-14T21:14:47.559208+00:00 app[web.1]: Recommending WEB_CONCURRENCY=1
2015-04-14T21:14:49.398042+00:00 app[web.1]: Node app is running at localhost:26268
2015-04-14T21:14:49.825551+00:00 heroku[web.1]: State changed from starting to up
2015-04-14T21:16:05.765151+00:00 heroku[api]: Deploy bcb1918 by josef#actionist.se
2015-04-14T21:16:05.765151+00:00 heroku[api]: Release v9 created by josef#actionist.se
2015-04-14T21:16:06.234464+00:00 heroku[web.1]: State changed from up to starting
2015-04-14T21:16:09.804498+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2015-04-14T21:16:10.788591+00:00 heroku[web.1]: Starting process with command `npm start`
2015-04-14T21:16:11.515039+00:00 heroku[web.1]: Process exited with status 143
2015-04-14T21:16:12.732654+00:00 app[web.1]: Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)
2015-04-14T21:16:12.732736+00:00 app[web.1]: Recommending WEB_CONCURRENCY=1
2015-04-14T21:16:13.951425+00:00 app[web.1]:
2015-04-14T21:16:13.951416+00:00 app[web.1]:
2015-04-14T21:16:13.951422+00:00 app[web.1]: > party#0.1.3 start /app
2015-04-14T21:16:13.951424+00:00 app[web.1]: > node app.js
2015-04-14T21:16:15.479452+00:00 heroku[web.1]: Process exited with status 0
2015-04-14T21:16:15.494024+00:00 heroku[web.1]: State changed from starting to crashed
2015-04-14T21:17:13.883207+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/host=actionistcookalong.herokuapp.com request_id=a5f2ce21-21bd-43ac-8434-9eb39282c542 fwd="178.78.232.172" dyno= connect= service= status=503 bytes=
2015-04-14T21:21:01.044982+00:00 heroku[web.1]: State changed from crashed to starting
2015-04-14T21:21:05.040510+00:00 heroku[web.1]: Starting process with command `npm start`
2015-04-14T21:21:06.954809+00:00 app[web.1]: Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)
2015-04-14T21:21:06.954834+00:00 app[web.1]: Recommending WEB_CONCURRENCY=1
2015-04-14T21:21:07.605924+00:00 app[web.1]:
2015-04-14T21:21:07.605931+00:00 app[web.1]: > party#0.1.3 start /app
2015-04-14T21:21:07.605933+00:00 app[web.1]: > node app.js
2015-04-14T21:21:07.605935+00:00 app[web.1]:
2015-04-14T21:21:08.874268+00:00 heroku[web.1]: State changed from starting to crashed
2015-04-14T21:21:08.868440+00:00 heroku[web.1]: Process exited with status 0
An exit code of 143 means that a kill process was sent and a SIGTERM signal terminated your process. This is usually triggered whenever you execute any restart commands.
Try running the console, it might crash as well... but will give you the reasoning. Usually it will be some small change you hadn't noticed or forgotten about that the Heroku error logs are bad at reporting.
run this
heroku run node
or
heroku restart

Categories

Resources