R
Railway8mo ago
Rozales

Public Network returning application failed to respond

i have a fastapi running with docker which can be reached via the internal network, but public / endpoinf returns Application failed to respond page
Solution:
you would need to be using uvicorn, please check out this docs page - https://docs.railway.app/guides/fixing-common-errors...
Railway Docs
Fixing Common Errors | Railway Docs
Documentation for Railway
Jump to solution
9 Replies
Percy
Percy8mo ago
Project ID: 645c1406-68a2-4cad-8951-aefe89714aed
Rozales
RozalesOP8mo ago
645c1406-68a2-4cad-8951-aefe89714aed
Solution
Brody
Brody8mo ago
you would need to be using uvicorn, please check out this docs page - https://docs.railway.app/guides/fixing-common-errors
Railway Docs
Fixing Common Errors | Railway Docs
Documentation for Railway
Rozales
RozalesOP8mo ago
yes that is what i'm using
Brody
Brody8mo ago
please read the docs page I linked
Rozales
RozalesOP8mo ago
alright 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
Brody8mo ago
yep uvicorn does not support dual stack binding
Rozales
RozalesOP8mo ago
Thank you
Brody
Brody8mo ago
no problem!
Want results from more Discord servers?
Add your server