3 hours ago
Managed health-check and terminal reachability failure — private SFO deployment
We are validating a private, nonproduction deployment under the Railway Hobby plan.
Our application successfully initializes and responds to its readiness endpoint from within the Railway container, but Railway's managed health-check probe fails without reaching the application.
Verified diagnostic evidence:
- All runtime dependencies installed successfully.
- Dependency and astronomical dataset checksums passed.
- Uvicorn successfully listened on [::]:8080.
- A private control using Railway's health-check hostname reached the IPv6 listener.
- GET /ready returned HTTP 200.
- Authentication controls behaved as expected.
- Railway's managed probe recorded no application response.
- Railway's terminal relay also failed to connect during a separate diagnostic control.
- All 57 independent CI validation tests passed.
Requested assistance:
Please investigate managed health-check and terminal relay reachability for this private SFO deployment, particularly whether the managed probe can reach an IPv6-bound application without public ingress.
We have retained the failed deployment ID, successful control deployment ID, and supporting diagnostic evidence. Please provide a private channel through which we can share these identifiers.
All staging workloads have been stopped following diagnostic testing. We have not modified production or exposed public endpoints.
We would appreciate confirmation of whether this behavior represents a platform limitation, configuration requirement, or infrastructure fault, and the recommended remediation under our existing Hobby subscription.
Pinned Solution
an hour ago
I tried to reproduce it, healthcheck failed if the listener is IPv6 only, so yes you need dual-stack listener
7 Replies
3 hours ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 3 hours ago
2 hours ago
Can you try run echo $PORT in the service console and make sure it matches your configured port (8080)? If it doesn't match, try set PORT=8080 in the service variables
mayori
Can you try run `echo $PORT` in the service console and make sure it matches your configured port (8080)? If it doesn't match, try set `PORT=8080` in the service variables
2 hours ago
Thank you for the response!
PORT=8080 is already explicitly configured in the service variables. Our deployment logs also confirm that Uvicorn successfully binds to [::]:8080.
During diagnostic testing, an internal request to /ready returned HTTP 200, but the managed health-check probe failed without reaching the application.
We also attempted to access the service through Railway's terminal relay, but it failed to connect. This prevents us from independently confirming the runtime value using echo $PORT through the service console.
Could you investigate whether the managed health-check probe and terminal relay support IPv6-only listeners in private SFO deployments, or whether a dual-stack listener is required?
All staging deployments are currently inactive pending further guidance. We can provide the relevant deployment IDs privately if needed.
neurospicymumma
Thank you for the response! PORT=8080 is already explicitly configured in the service variables. Our deployment logs also confirm that Uvicorn successfully binds to [::]:8080. During diagnostic testing, an internal request to /ready returned HTTP 200, but the managed health-check probe failed without reaching the application. We also attempted to access the service through Railway's terminal relay, but it failed to connect. This prevents us from independently confirming the runtime value using echo $PORT through the service console. Could you investigate whether the managed health-check probe and terminal relay support IPv6-only listeners in private SFO deployments, or whether a dual-stack listener is required? All staging deployments are currently inactive pending further guidance. We can provide the relevant deployment IDs privately if needed.
an hour ago
I tried to reproduce it, healthcheck failed if the listener is IPv6 only, so yes you need dual-stack listener
mayori
I tried to reproduce it, healthcheck failed if the listener is IPv6 only, so yes you need dual-stack listener
an hour ago
Thank you so much for reproducing this and confirming the dual-stack requirement! We'll update our listener implementation to support both IPv4 and IPv6 and rerun our private staging validation. I'll report back with the results.
neurospicymumma
Thank you so much for reproducing this and confirming the dual-stack requirement! We'll update our listener implementation to support both IPv4 and IPv6 and rerun our private staging validation. I'll report back with the results.
36 minutes ago
No problem! lmk how it goes
mayori
No problem! lmk how it goes
18 minutes ago
Just following up to confirm that the dual-stack listener correction resolved our managed health-check failure!
All three private staging services successfully passed Railway's managed readiness checks, and we verified HTTP connectivity over both IPv4 and IPv6.
Our full acceptance and recovery testing also passed under the existing Hobby subscription, without introducing public ingress.
The terminal relay worked for our engine service but still rejected connections to the healthy gateway and edge services. We were able to complete validation through the engine terminal and an independent private observer.
Thank you for taking the time to reproduce the original issue and point us toward the correct solution. It made a tremendous difference!
neurospicymumma
Just following up to confirm that the dual-stack listener correction resolved our managed health-check failure! All three private staging services successfully passed Railway's managed readiness checks, and we verified HTTP connectivity over both IPv4 and IPv6. Our full acceptance and recovery testing also passed under the existing Hobby subscription, without introducing public ingress. The terminal relay worked for our engine service but still rejected connections to the healthy gateway and edge services. We were able to complete validation through the engine terminal and an independent private observer. Thank you for taking the time to reproduce the original issue and point us toward the correct solution. It made a tremendous difference!
5 minutes ago
Glad it's working🙌
Status changed to Awaiting User Response Railway • 5 minutes ago
Status changed to Open mayori • 4 minutes ago
Status changed to Solved mayori • 4 minutes ago
