Application failed to respond (Django app)

redarshubi
TRIAL

a year ago

I'm getting this when trying to access my newly deployed website: Application failed to respond

This is my setup

setup │ python311, postgresql, gcc

start │ daphne -b 0.0.0.0 -p 19127 myproject.asgi:application

The port number is the one generated in the database creation.

7 Replies

a year ago

What's your current start command and where are you setting it?


redarshubi
TRIAL

a year ago

This is my current start command :

daphne -b 0.0.0.0 -p 19127 myproject.asgi:application

I'm setting it in my Procfile.


redarshubi
TRIAL

a year ago

What's your current start command and where are you setting it?

This is my current start command :

daphne -b 0.0.0.0 -p 19127 myproject.asgi:application

I'm setting it in my Procfile.


a year ago

Change it to -

daphne -b 0.0.0.0 -p $PORT myproject.asgi:application

redarshubi
TRIAL

a year ago

Change it to -

daphne -b 0.0.0.0 -p $PORT myproject.asgi:application

Thank you it works!


redarshubi
TRIAL

a year ago

I'm using WebSockets for a live chat in my forum. But I'm getting this error "WebSocket connection failed: DOMException: The operation is insecure."

Do you know what could be done about it?


a year ago

Make sure you are using wss:// when connecting to a websocket server hosted on Railway.


Application failed to respond (Django app) - Railway Help Station