Getting 503 error on some endpoints after restarting heroku server (Ruby on Rails)

572 Views Asked by At

I am stuck in wired situation. I deployed my code around 7-8 days ago on heroku. The application was working fine and all micro services were working fine. But on Monday night server was taking too much memory so after some time i restart my server. After restarting server most of my micro services start working but still some of my micro services throwing H12 error, I checked the db connectivity and my query on server console which is providing result in reasonable time. But on server it's generating 503 error.

at=error code=H12 desc="Request timeout" method=POST path="/api/v1/search_patients/" host=backend-augmentcare.herokuapp.com request_id=1766d6f2-ae67-43ec-bd16-aada5b5d1008 fwd="39.59.82.36, 172.69.39.6,34.226.147.28" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=https

enter image description here

1

There are 1 best solutions below

2
Tin Nguyen On

http://backend-augmentcare.herokuapp.com/api/v1/search_patients/

{"success":false,"status":404,"errors":["Route Not Found"]}

What does the logs from your app backend-augmentcare say? What's the actual source code to the project?