Hi Simon, Sorry to hear that you are having the same problem! Channels can be a blessing and a curse. I find it very finicky with very poor documentation & poor error handling. As for the fix: I had an AsyncWebsocketConsumer class in consumers.py within which I had a custom __init__ function. I believe I was setting the scope incorrectly within the init. I realized that I had no need to override/augment the init and removed it. The result was that the error disappeared. That was it for me. I have since updated to all the latest builds for the channels & redis infrastructure.
Hope that helps. Cheers, Nathan On Tuesday, October 9, 2018 at 9:59:33 AM UTC-4, Simon Vézina wrote: > > Hi itsnate_b, > > Would you mind elaborating on your fix? > > I'm getting this exact error and I'm at a complete loss. Everything > works fine in local, but on my live server, after a couple of minutes/hours > of working fine, I start getting this error in the logs. > > Thanks! > > Le dimanche 2 septembre 2018 13:26:29 UTC-4, itsnate_b a écrit : >> >> Turns out there was an erroneous *init* function in the >> AsyncWebsocketConsumer class. Removing it fixed the issue. >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/228e579c-7967-4024-af57-fcf5ff7c10ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

