biswaz / rescuekerala

Moved to https://github.com/IEEEKeralaSection/rescuekerala/
https://www.keralarescue.in
64 stars 647 forks source link

Website Returns a 400 response code #3

Closed devpranoy closed 6 years ago

devpranoy commented 6 years ago

I think your heroku dyno has expired due to the heavy traffic. Please shift the project to AWS or Digital Ocean or upgrade the dyno. Make sure to thread the app while it's running on production.

biswaz commented 6 years ago

I had not added www. in allowed_hosts. Fixed. Can you explain the threading part?

devpranoy commented 6 years ago

Ohh no worries about the threading, Django takes care of it. In Flask tho you need to specify that it has to be threaded otherwise it would not serve multiple user-requests at the same time.