Heroku app crashing after deployment - heroku

My Heroku app seems to always crash after deployment.
The errors on Heroku logs are:
2015-07-21T13:28:08.173666+00:00 heroku[router]: at=error code=H10
desc="App crashed" method=GET path="/" host=calm-hamlet-
5165.herokuapp.com request_id=93f36ad5-f9c2-42b2-a662-9f730d1228ab
fwd="197.253.32.226" dyno= connect= service= status=503 bytes=
and
2015-07-21T13:29:28.127452+00:00 heroku[router]: at=error code=H10
desc="App crashed" method=GET path="/api/v1/sessions"
host=calm-hamlet-5165.herokuapp.com request_id=69711e3a-913e-45ed-
b4bf-82baaa164edf fwd="197.253.32.226" dyno= connect= service=
status=503 bytes=
What could be causing this error?

Probably is a port definition problem. Heroku will assign a port on which the application will run, regardless of you defining it. You should replace that hardcoded port for something like this.
var port = process.env.PORT || 5000;
Hopefully that fix the problem

Related

Django rest backend deployed well on Heroku but when viewing site got Application Error with the given below log errors

I have deployed Django REST FRAMEWORK APP on Heroku deployed successfully but but when viewing site got Application Error with the given below log errors
Stopping all processes with SIGTERM,
State changed from starting to up and down,
at=error code=H12 desc="Request timeout" method=GET path="/"
dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 protocol=https

App crashed H10 error when trying to open full-stack app on Heroku

I deployed a full-stack app on Heroku and when trying to open the app I get this error message:
at=error code=H10 desc="App crashed" method=GET path="/" host=travelpinapp22.herokuapp.com request_id=d8a74b3e-7301-4f8c-9cde-eca1362ef55b fwd="51.146.234.1" dyno= connect= service= status=503 bytes= protocol=https
I tried many solutions found here on stack overflow but none worked so far.
any new ideas?
this is the GitHub repo https://github.com/marcodallomo/travelpinappmern.git
Thanks in advance:-)

App deployed on Heroku crashes randomly

I'm hosting my app on Heroku, using JawsDB. Sometimes it runs normally, sometimes it crashes. Here's the logs:
2017-11-10T23:53:33.142649+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=my-app.herokuapp.com request_id=1a43755b-a689-4ce2-939d-e71076d927ed fwd="108.28.184.177" dyno= connect= service= status=503 bytes= protocol=https
It appears to me that there's no service from JawsDB and my app cannot connect to its database. I've read JawsDB documentation and my app still have the connection url, its status is available. I've also manually edited the JAWSDB_URL variable in my app's settings.
Any ideas what's going on with the app?
Adding a Procfile solved this problem.

Proximo Heroku addon is timing out

I have a simple node proxy that I have added proximo to use whitelisting for an API. It worked before, but having followed the tutorial I now get this in my logs:
2014-08-19T16:23:21.376311+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/?url=http://www.google.com" host=warm-cliffs-7633.herokuapp.com request_id=ecf77eea-a027-4115-86ff-5acf527c7333 fwd="82.24.137.140" dyno=web.1 connect=1ms service=30001ms status=503 bytes=623
If I try to access the page, I get an error message, but the page works fine if no URL is requested from the proxy.
There isn't very much documentation and I'm not sure if this is right in my Procfile:
web: bin/proximo node proxy.js

I'm having trouble with heroku

I have a ruby app that works fine locally but after pushing it to Heroku it crashes. It's a very simple one that uses net/http to GET some info from an API (desk.com) and display it for me. This is the log:
2013-11-22T05:42:37.318570+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=case-count.herokuapp.com fwd="204.244.194.82" dyno= connect= service= status=503 bytes=
2013-11-22T05:42:37.626109+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=case-count.herokuapp.com fwd="204.244.194.82" dyno= connect=
service= status=503 bytes=
Even if you can't give me the exact solution, do you at least know any better ways to troubleshoot this?

Resources