Answers for "at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=elinks-project.herokuapp.com request_id=c1a2fc42-b0b9-456c-8bf2-ca3c3261b073 fwd="47.31.220.57" dyno= connect= service= status=503 bytes= protocol=https"

1

at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=elinks-project.herokuapp.com request_id=c1a2fc42-b0b9-456c-8bf2-ca3c3261b073 fwd="47.31.220.57" dyno= connect= service= status=503 bytes= protocol=https

don't set port hardcore i.e.,
port = 3000;
Instead set it like this -
port = process.env.PORT||3000; <- This is the correct way
port = 3000||process.env.PORT <- This is the wrong way as int it 3000 will get more
                                 preference than process.env.PORT because 
                                 assignment happens from left to right
And don't have 3000 in front
Posted by: Guest on July-17-2021
2

at=error code=h10 desc="app crashed" method=get path="/" host

Found solution for me here: Heroku + node.js error (Web process failed to bind to $PORT within 60 seconds of launch)

In my case my app crashed because I was hard setting the PORT, instead of using the port that heroku dinamicaly sets, which can be accessed with process.env.PORT

app.listen(process.env.PORT || 3000, function(){
  console.log("Express server listening on port %d in %s mode", this.address().port, app.settings.env);
});
Posted by: Guest on March-12-2021
1

at=error code=H10 desc="App crashed" method=GET path="/

Logged in as admin, 
inside the App in question, 
the “More” button in the upper right has a “Restart all dynos” option.
Posted by: Guest on May-01-2021

Code answers related to "at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=elinks-project.herokuapp.com request_id=c1a2fc42-b0b9-456c-8bf2-ca3c3261b073 fwd="47.31.220.57" dyno= connect= service= status=503 bytes= protocol=https"

Browse Popular Code Answers by Language