Tim
Django with Gunicorn gives frequent [CRITICAL] WORKER TIMEOUTs on simple requests
It happens on arbitrary requests that do not take any significant amount of time (should not be even close to a second), and it does not happen locally nor on my PythonAnywhere hosted (test)server (that does not deploy with Docker) 🤔 .
25 replies
Django with Gunicorn gives frequent [CRITICAL] WORKER TIMEOUTs on simple requests
I am using django-environ
migrating the database, loading the fixtures, etc. works (I have a sleep 2 on startup to ensure database connection is ready, as recommended in another post).
And I can see the data in my admin panel if it does not time out.
25 replies
Logs filled with errors due to django allowed hosts settings
Sure, but it seems undesirable that I either need to disable the allowed hosts security setting or that I need to whitelist arbitrary GCP hosts that pop-up in my logs to prevent my logs being filled with this error.
12 replies
Logs filled with errors due to django allowed hosts settings
Sounds like a bad idea (security-wise) to add ip addresses that are unknown to me to the allowed-hosts setting. Why is railway trying to host my app on other domains than the one that is specified?
12 replies