python backend with FastAPI, failed to deploy, result in activity error. Module runs well on local computer
ian-hepta
TRIALOP
2 years ago
I am deploying a FastAPI backend on your platform, i configured a Procfile with this
web: uvicorn server:app --host 0.0.0.0 --port=${PORT:-5000}
the fastAPI server runs perfectly on my local computer. I have no idea what went wrong. This is urgent, please help.
ⓘ Deployment information is only viewable by project members and Railway employees.
6 Replies
ian-hepta
TRIALOP
2 years ago
It says "The API didn't return any log lines".
ian-hepta
TRIALOP
2 years ago
Build log:activity error
Deploy log:
No deployment logs. All output sent to stdout will be displayed here
The API didn't return any log lines
2 years ago
`activity error`Is the only thing that shows in the build logs? Please attach a screenshot.