Help server isn't responding anymore
I just released my website to a bunch of people, the site worked flawlessly and now it doesn't respond anymore
35 Replies
Project ID:
N/A
N/A
I'm using django if it may help
8011d58c-777a-4c7c-9933-2ab62236388b
please I need help...
Tried to deploy again and again for 1 hour
Nothing changes
Going to need some more info than that, are your workers just timing out? Does it run fine locally if you access it multiple times? What plan are you on?
If you're on the free plan having multiple workers may not be feasible
I'm on the paid plan
It worked fine having multiple people on it at the same time before
If I'm doing it locally, the database takes ages to load
But when it wasn't the case on the railway app
Looks like you didn't configure a timeout for your workers in production
In the future you should be able to hit restart and then it'll come back
However, you'll need to fix your code. This is a Django thing. Can't help with that but seems reasonably easy to fix based on a cursory google
Oh, the thing I don't get how railway will know which file is the gunicorn configuration file
Because I would have to run something like this
$ gunicorn -c conf/gunicorn.conf.py myproject.wsgi
How can I make railway run that?
Not gonna lie, I'm very lost lol
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Can I set multiple commands there then?
I saw that I could also specify a timer just in the proc file
Plotly Community Forum
Set gunicorn timeout for Dash app deployed via Heroku
Hi, I have an app with a callback involving some long computations, lasting longer than 30sec. I use gunicorn + heroku and I need to set up a timeout higher than the default 30sec. In my Procfile I tried this: web: gunicorn index:server --timeout 90 To no avail. Does anyone know how to do it? Many many thanks for any insight(!). Cheers, ...
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
true
It s happening again..
I did add a worker timeout in my procfile now
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
120