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.
Related
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
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:-)
I can launch my application still, and load a page that doesn't utilize any data from the pg database, but as soon as I hit a page that would look up data I get a time out error
2019-10-04T05:53:38.387579+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/sessions/login" host=get-organized.herokuapp.com request_id=735daa05-c11b-4da6-a7c5-90f8ae46759a fwd="73.158.160.78" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=http
201
These apps used to work fine. I have newer apps that didn't have the maintenance done and they still work fine. I have no idea how to further troubleshoot this, any help would be greatly appreciated.
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
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?