R
Railway10mo ago
Sync

Server Error: Application failed to respond

Project ID: fde24f92-82da-4b2c-a408-5a97c62e4951 I am attempting my first upload to railway and I am getting a Server Error. Its a django app. Deployed successfully. There isn't anything in the deploy logs as why its having the server error. Nothing in the Build logs. I can't find any information on why I am getting the Server Error.
25 Replies
Percy
Percy10mo ago
Project ID: fde24f92-82da-4b2c-a408-5a97c62e4951
Sync
Sync10mo ago
I had found this article beforehand but the solution it gave me was its already configured. Python / Gunicorn gunicorn listens on 0.0.0.0 and the PORT environment variable by default: gunicorn main:app There is no additional configuration necessary.
Brody
Brody10mo ago
okay and what is the start command Railway is using?
Sync
Sync10mo ago
python manage.py
Brody
Brody10mo ago
that's not gunicorn please reference this file on how to set a start command https://github.com/railwayapp-starters/django/blob/main/railway.json
Sync
Sync10mo ago
What do I change it too?
Brody
Brody10mo ago
there's no universal answer to that question, I'd need to see your repo
Sync
Sync10mo ago
How do I identify what it should be? Also how do I see why I'm getting this error? I can't see where it says anything is having an error
Brody
Brody10mo ago
the "why" is outlined in this docs page
gunicorn <the name of the folder that contains the wsgi.py file>.wsgi
gunicorn <the name of the folder that contains the wsgi.py file>.wsgi
edit: this is the correct syntax now
Sync
Sync10mo ago
What's the exact syntax? gunicorn <edenthought>:wsgi ?
Brody
Brody10mo ago
remove the angle brackets then use this railway.json file, but replace its gunicorn command with yours
Sync
Sync10mo ago
Well that failed as well
Want results from more Discord servers?
Add your server