Skip to content

Railway Deployment #2956f8 fix: bind Uvicorn to 0.0.0.0#194

Merged
welshDog merged 1 commit intomainfrom
railway/fix-deploy-2956f8
May 1, 2026
Merged

Railway Deployment #2956f8 fix: bind Uvicorn to 0.0.0.0#194
welshDog merged 1 commit intomainfrom
railway/fix-deploy-2956f8

Conversation

@railway-app
Copy link
Copy Markdown
Contributor

@railway-app railway-app Bot commented May 1, 2026

Problem

Uvicorn was bound to --host :: (IPv6), but Railway's healthcheck proxy connects via IPv4. The container's network stack did not route IPv4 healthcheck requests to the IPv6-bound socket, causing all 7 healthcheck attempts to return "service unavailable" with zero HTTP requests reaching the app.

Solution

Changed --host :: to --host 0.0.0.0 in the Dockerfile CMD so Uvicorn listens on all IPv4 interfaces. This matches Railway's requirement that apps bind to 0.0.0.0:$PORT for healthchecks to succeed.

Changes

  • Modified backend/Dockerfile

Context

  • Deployment: #2956f8
  • Failed commit: 02e4d3b

Generated by Railway

@welshDog welshDog merged commit c59a2d2 into main May 1, 2026
1 of 7 checks passed
@welshDog welshDog deleted the railway/fix-deploy-2956f8 branch May 1, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant