Category "daphne"

Error when deploying django web application with daphne: Requested setting INSTALLED_APPS, but settings are not configured

I have been battling with an error that I encountered when trying to deploy a django application that uses channels. Error in heroku logs Starting process with

Channels websocket AsyncJsonWebsocketConsumer disconnect not reached

I have the following consumer: class ChatConsumer(AsyncJsonWebsocketConsumer): pusher = None async def connect(self): print(self.scope)

What's the right procfile / requirements for heroku with django channels?

tl;dr - django channels app runs local with manage.py runserver but not on heroku. I'm new to django channels - trying to deploy a very basic django app using