django / channels

Developer-friendly asynchrony for Django
https://channels.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.08k stars 800 forks source link

Exception inside application: 'RedisChannelLayer' object is not callable #1994

Closed robomike closed 10 months ago

robomike commented 1 year ago

Traceback (most recent call last): 2023-04-04T17:06:21.798445+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/asgiref/compatibility.py", line 34, in new_application 2023-04-04T17:06:21.798445+00:00 app[web.1]: instance = application(scope) 2023-04-04T17:06:21.798446+00:00 app[web.1]: TypeError: 'RedisChannelLayer' object is not callable

installed packages with pip install -U 'channels[dapne]' channels-redis

How to resolve this error?

carltongibson commented 10 months ago

There's not enough to go on here sorry. A reproduce would be needed.