Public Network returning application failed to respond
0xkaizendev
HOBBYOP

2 years ago

i have a fastapi running with docker which can be reached via the internal network, but public / endpoinf returns Application failed to respond page

9 Replies

0xkaizendev
HOBBYOP

2 years ago

645c1406-68a2-4cad-8951-aefe89714aed


brody
EMPLOYEE

2 years ago

you would need to be using uvicorn, please check out this docs page -
https://docs.railway.app/guides/fixing-common-errors


0xkaizendev
HOBBYOP

2 years ago

yes that is what i'm using


brody
EMPLOYEE

2 years ago

please read the docs page I linked


0xkaizendev
HOBBYOP

2 years ago

alright


0xkaizendev
HOBBYOP

2 years ago

just tested with the port variable and 0.0.0.0 and it worked but when using ipv6 '::' protocol the Application Error: This application failed to respond is raised had to switch to hypercorn to make both private and public working


brody
EMPLOYEE

2 years ago

yep uvicorn does not support dual stack binding


0xkaizendev
HOBBYOP

2 years ago

Thank you


brody
EMPLOYEE

2 years ago

no problem!


Loading...