5 months ago
I deployed by backend (fastapi + python) and it is successful and online but when I click on link it shows application failed to respond and displays this:
This error appears to be caused by the application.
If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.
If you are a visitor, please contact the application owner or try again later.
Request ID: ....
How to fix? please help
5 Replies
5 months ago
Have you checked your application logs?
Also, this probably isn't the case but I'd also make sure the port your URL is mapped to is the same port your application is listening to, and that your API is listening on IPv4 and not v6 (0.0.0.0 instead of ::).
0x5b62656e5d
Have you checked your application logs? Also, this probably isn't the case but I'd also make sure the port your URL is mapped to is the same port your application is listening to, and that your API is listening on IPv4 and not v6 (`0.0.0.0` instead of `::`).
5 months ago
sorry wdym? where can I check that? in build logs there's no error
0x5b62656e5d
Have you checked your application logs? Also, this probably isn't the case but I'd also make sure the port your URL is mapped to is the same port your application is listening to, and that your API is listening on IPv4 and not v6 (`0.0.0.0` instead of `::`).
5 months ago
:: binds to both IPv4 and IPv6.
5 months ago
Check the docs provided by Railway regarding this error, as they suggest various solutions to help you solve this issue.
5 months ago
I fixed it, thanks everyone!
Status changed to Solved 0x5b62656e5d • 3 months ago