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•3y 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•3y 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•3y ago
Message Not Public
Sign In & Join Server To View
120
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
That's weird
Maybe it's the database communication
With postgress
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I think Django is handling this part
So I don't really know
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I would assume so yeah
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It's maybe because I have something around 500 queries
And so it takes too much time
I could set the timeout to 0
So it's infinite
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
But that may be an issue?
At least if it's still not working with 0
Then it's something else
I hope it fixes it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
well it's not giving me error messages
but it's loading forever now
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
well...
I still get errors
hmmm
I think the postgress database is the issue
with a sqlite one of the same size it at least works locally
but with the postgress it doesen't event work locally anymore
hmmm
it makes no sesne
I reseted everything back to when it was working
and it's not working
did Cooper make something magic last time ?
could you use magic again ?
I'm literally lost
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It's not
How did it work again this morning
Because I had the same issue last night
I woke up and it was working again
Ok the issue is that it takes mapbox too much time to add markers
it's not infinite tho
since it works on local
put it just takes a lot of time
it always took way more time locally then on the website tho