Deployment not responding (HTTP 499, container stuck on loading)
ahmedamin86
HOBBYOP

2 months ago

Hello Railway Support Team

I’m having an issue with my Django app deployment.
The project builds successfully with no errors in the build logs, and Gunicorn starts correctly on port 8080 — however, when I access the deployed URL, the site keeps loading for about 20 seconds and then times out (HTTP 499).

Here are the key details:

  • Project:ahmedamin86/joo-designs-cv-platform

  • Region:europe-west4-drams3a

  • Deployment ID: (latest deployment in the logs, timestamp: Oct 22, 2025, 14:40 UTC)

  • Start command:
    sh -c "gunicorn cv_project.wsgi:application --bind 0.0.0.0:${PORT:-8000} --log-file - --no-sendfile --timeout 120 --workers 3 --threads 2"

    python manage.py collectstatic --noinput && python manage.py migrate

    The container starts fine, Gunicorn logs show:
    [INFO] Listening at: http://0.0.0.0:8080

    [INFO] Booting workers...

    But when accessing /, I get:

    HTTP 499 - client closed request before server could send a response
    I’ve already tested with a minimal health check view returning an immediate HttpResponse,
    but it still hangs for ~20 seconds before responding.
    
    Could you please:
    
    Verify that my container is receiving external requests correctly?
    
    Check if there’s any network proxy or routing issue between Railway edge and the container?
    
    Optionally, restore deployment or environment configuration to a clean previous working state (before Oct 22, 2025).
    
    Thank you very much for your help 🙏
    Ahmed Amin
    https://web-production-f6fc.up.railway.app
$10 Bounty

1 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


brody
EMPLOYEE

2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody about 2 months ago


Loading...