Reputation: 1419
It is working on localhost but shutting down on heroku-app
2020-08-15T02:15:31.851406+00:00 app[web.1]: npm ERR! errno 1
2020-08-15T02:15:31.851963+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/" host=yummy-burger-app.herokuapp.com request_id=dc7776de-d03f-4415-9448-fcd71e18efa1 fwd="100.38.167.47" dyno=web.1 connect=1ms service=14ms status=503 bytes=0 protocol=https
Feel free to reach me out if you need more inforamtion
Upvotes: 5
Views: 13501
Reputation: 19
H13 - Connection closed without response
This error is thrown when a process in your web dyno accepts a connection (request) but then closes the socket without executing the request. The connection is closed before any data is written, resulting in an H13.
One quick fix is to restart your Dynos in your heroku dashboard click "more" then "restart all dynos"
Upvotes: 1
Reputation: 776
There is no need of worry, H13 is a type of error which occurs mostly when the user had exit without filling any form.
The easiest way to deal with this error is you can restart your server on heroku.
Upvotes: 0
Reputation: 141
had same issue ,solved it by changing my sever from https to http Check your sever configuration if you have https configured change it to http
i changed this
const server = https.createServer(httpOptions,app);
to this
const server = http.createServer(app);
and it worked for me
Upvotes: 5