Application failed to respond
aminaasif9
FREEOP

a month 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

$10 Bounty

5 Replies

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 ::).

aminaasif9
FREEOP

a month 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 ::).

darseen
HOBBYTop 5% Contributor

a month ago

:: binds to both IPv4 and IPv6.


darseen
HOBBYTop 5% Contributor

a month ago

Check the docs provided by Railway regarding this error, as they suggest various solutions to help you solve this issue.


aminaasif9
FREEOP

a month ago

I fixed it, thanks everyone!


Loading...