Friday, August 31, 2018

Django Channels - error

I have the latest Django (2x), channels (2x), and redis/docker as of Aug 31st, 2018 installed. I am encountering a django channels error and have no idea why this is happening...has anyone seen this output? What is the potential cause? Feeling pretty stuck with the error below...happens when refreshing the site and an attempt is made to connect from js Websocket to the python/channels backend.

2018-08-31 15:13:04,623 - ERROR - server - Exception inside application:
  File "/.../tests/lib/python3.6/site-packages/channels/", line 175, in __call__
    return await self.inner(receive, self.send)
  File "/.../tests/lib/python3.6/site-packages/channels/", line 41, in coroutine_call
    await inner_instance(receive, send)
  File "/.../tests/lib/python3.6/site-packages/channels/", line 54, in __call__
    await await_many_dispatch([receive, self.channel_receive], self.dispatch)
  File "/.../tests/lib/python3.6/site-packages/channels/", line 57, in await_many_dispatch
    await task
  File "/.../tests/lib/python3.6/site-packages/channels_redis/", line 400, in receive
    assert not self.receive_lock.locked()
[2018/08/31 15:13:04] WebSocket DISCONNECT /ws/dashboard/ []

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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment