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
Percy
Percy3y ago
Project ID: N/A
MadeInShineA
MadeInShineAOP3y ago
MadeInShineA
MadeInShineAOP3y ago
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
Adam
Adam3y ago
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
MadeInShineA
MadeInShineAOP3y ago
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
JustJake
JustJake3y ago
Looks like you didn't configure a timeout for your workers in production
JustJake
JustJake3y ago
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
MadeInShineA
MadeInShineAOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
Can I set multiple commands there then? I saw that I could also specify a timer just in the proc file
MadeInShineA
MadeInShineAOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
true It s happening again.. I did add a worker timeout in my procfile now
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
120
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
That's weird Maybe it's the database communication With postgress
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
I think Django is handling this part So I don't really know
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
I would assume so yeah
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
well it's not giving me error messages but it's loading forever now
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
well...
MadeInShineA
MadeInShineAOP3y ago
I still get errors
MadeInShineA
MadeInShineAOP3y ago
hmmm
MadeInShineA
MadeInShineAOP3y ago
MadeInShineA
MadeInShineAOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
MadeInShineA
MadeInShineAOP3y ago
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
Want results from more Discord servers?
Add your server