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
Project ID:
fde24f92-82da-4b2c-a408-5a97c62e4951
give this page a read please https://docs.railway.app/troubleshoot/fixing-common-errors
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.
okay and what is the start command Railway is using?
python manage.py
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
What do I change it too?
there's no universal answer to that question, I'd need to see your repo
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
the "why" is outlined in this docs page
edit: this is the correct syntax now
What's the exact syntax?
gunicorn <edenthought>:wsgi
?
remove the angle brackets
then use this railway.json file, but replace its gunicorn command with yours
Well that failed as well
build logs please https://bookmarklets.up.railway.app/log-downloader/