Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

API endpoints returning 500 err after deploy on Heroku

$
0
0

The API endpoint is working fine on my local machine but when I deploy my Rails project to Heroku, some endpoints are returning 500 Internal Server Error. My tech pack is below, because I could not find a way to watch Rails log messages on Heroku, I could not share anym detailed information. What can be helpful for me is general answers for 500 error, like what could cause this and maybe a way of inspecting Rails log messages on Heroku. Thanks.

MongoDB, ElasticSearch, Redis, Swagger

The error message on Heroku logs is Completed 500 Internal Server Error in 27ms (MongoDB: 0.0ms)

Additionally, on my local I get the following error but the endpoint is returning 200 OK. HTTP parse error, malformed request ()


Viewing all articles
Browse latest Browse all 873

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>