App Timeout (port and host added)
hugoautomation
PROOP

6 months ago

Request ID:
GQwHvxvqS2e9iZTo0ubPiw

Project ID: c1741ffc-1006-4b17-aefa-8be0348c0b43

The app is timing out, with not log - I have tried many way to have the host & port open as per my previous Django application.

But I can't find anything - and can't seem to obtain any log from the time out.

When I ping the Url here is the result:

ping https://icarus-backend-production.up.railway.app/

ping: cannot resolve https://icarus-backend-production.up.railway.app/: Unknown host

I use Guvicorn with Django.

I tried:

gunicorn inspections.wsgi:application

&
gunicorn inspections.wsgi:application --bind 0.0.0.0:$PORT

&
gunicorn inspections.wsgi:application --bind 0.0.0.0:8000

Added the variable in my project and removed them (HOST & PORT)

Still can't figure it out.

Solved

4 Replies

Railway
BOT

6 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!


6 months ago

Railway uses an IPv6-only private network, you need to ensure that your services are configured to listen on IPv6. In your case, you'll want to adjust the command to bind to IPv6 by using --host ::


Status changed to Awaiting User Response Railway 6 months ago


Status changed to Solved ray-chen 6 months ago


hugoautomation
PROOP

6 months ago

Thanks for the clarification. Just to confirm — since I’m using Gunicorn, I believe the correct syntax would be --bind [::]:$PORT instead of --host ::. Could you confirm if that’s right for Railway’s IPv6 setup?


Status changed to Awaiting Railway Response Railway 6 months ago


6 months ago

You will indeed need to listen on the ipv6 port

Syntax looks reasonable but I can't confirm it since I don't know off the top of my head


Status changed to Awaiting User Response Railway 6 months ago


Status changed to Solved hugoautomation 6 months ago


Loading...