python backend with FastAPI, failed to deploy, result in activity error. Module runs well on local computer
ian-heptaTRIAL
a year 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-heptaTRIAL
a year ago
It says "The API didn't return any log lines".
ian-heptaTRIAL
a year 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
a year ago
`activity error`Is the only thing that shows in the build logs? Please attach a screenshot.
ian-heptaTRIAL
a year ago
Sure, here is the screenshot
Attachments