R
Railway12mo ago
shaw93

Issues with fastapi app

Hey guys, so locally this fastapi appears to be working with '/start' route returning the thread id however when hosting on railway this does not appear to work - see screengrab of 503 client console error is it missing some relation to '0.0.0.$PORT' ? I have a previous project that worked without this (on my work's account so can't share the code) Where are the server console logs? Or has it not tripped any? any guidance to get this working would be much appreciated. project url on railway: https://railway.app/project/a3c6936c-4fb7-4518-bc1a-9926cb493469/service/17beaf6d-c103-4208-9bad-039c2d01bf8a backend url: https://fitmategpt-production.up.railway.app railway profile: https://railway.app/u/ianshaw93 github repo: https://github.com/Ianshaw93/fitmate_gpt
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Railway
Ian - Railway Profile
View Ian's Railway profile with their public projects and published templates.
GitHub
GitHub - Ianshaw93/fitmate_gpt
Contribute to Ianshaw93/fitmate_gpt development by creating an account on GitHub.
No description
No description
2 Replies
Percy
Percy12mo ago
Project ID: a3c6936c-4fb7-4518-bc1a-9926cb493469,17beaf6d-c103-4208-9bad-039c2d01bf8a
Brody
Brody12mo ago
you'd need to use uvicorn with fast api, there's an example here https://docs.railway.app/guides/fixing-common-errors#python--uvicorn
Want results from more Discord servers?
Add your server