0
I am having a problem with my Node application that is on the Heroku server. When I make many requests for the same route /oapi/login
the application stops running, the error that the log returns is this:
2020-01-18T14:41:27.184911+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=OPTIONS path="/oapi/login" host=expenses-server-api.herokuapp.com request_id=171e102c-befe-45d2-9415-6899a84adf54 fwd="201.182.211.10" dyno= connect= service= status=503 bytes= protocol=https
And then I can no longer access other application routes.
Remarks:
- I’m using Mongoose for the bank connection
- The archive package json. is configured correctly
- The archive Procfile is correct too
- All environment variables are set
Put the route code, I believe it’s overloading the server, so it crashes
– Denis Rudnei de Souza