Forums

Django Channels on PythonAnyWhere

I read somewhere that Channels cannot run on PythonAnyWhere. The specific thread was asking about Channel_layers.

So my question is, can the package Channels generally run on PythonAnyWhere? I don't need the channels_layer or redis. I just want to use it to maintain a websocket connection.

Websockets do not work on PythonAnywhere.

That sucks! I am enjoying PythonAnyWhere, I am hoping there is consideration for such an important feature.

We are working on that.

hey guys, have you any advances here?

Yes, websockets are currently supported on new style, ASGI web apps, see: https://help.pythonanywhere.com/pages/ASGICommandLine/. (It's beta.)