a year ago
After hours of troubleshooting and reading the docs, I switched from using uvicorn to hypercorn and now my custom start command in the settings is hypercorn main:app --bind "[::]:${PORT}"
In the deploy logs, I see [2024-12-09 01:14:02 +0000] [5] [INFO] Running on http://[::]:8080 (CTRL + C to quit)
The generated domain is backend-production-c8b2.up.railway.app and the port is correct (8080)
However, I still cannot get a response. It's driving me crazy. What am I missing?
3 Replies
a year ago
I can access it just fine, I get an "OK" response after visiting the domain you linkend.
a year ago
That was a complete brainfart on my part. I had been trying to request backend-production-c8b2.up.railway.app:8080
Oof, long day. Anyway, I can access it now. Thank you.
Status changed to Solved brody • about 1 year ago
