rishipr / teams

Work management platform for teams, inspired by Asana and built using a full JavaScript stack
95 stars 54 forks source link

Deployed App always times out - Heroku #3

Closed ya332 closed 5 years ago

ya332 commented 5 years ago

Hello, I am trying to reproduce the Heroku deployment process. I can deploy it successfully but whenever I try to register a user, I get a timeout response with error code H12 on Heroku.

Here is my heroku logs --tail command output with the error log

2019-10-04T05:14:17.635697+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/api/users/login/" host=chatplace.herokuapp.com request_id=bdca9ed4-4880-47a2-96e8-974f53435470 fwd="72.94.180.182" dyno=web.1 connect=2ms service=30000ms status=503 bytes=0 protocol=https

I was wondering if any one had a similar issue.

Best, Yigit

ya332 commented 5 years ago

Apparently, I had to whitelist all IPs coming from anywhere by going to Mondo DB website. It solved the problem.