1👍
Channels 4.0.0 does not start the ASGI server by default. So, Try adding ‘daphne’ to your INSTALLED_APPS in settings.py.
First pip
pip install -U 'channels[dapne]' channels-redis
Then in your Django settings file:
INSTALLED_APPS = [
"daphne",
...
]
See the Channels 4.0.0 release notes for more info: https://channels.readthedocs.io/en/stable/releases/4.0.0.html?highlight=INSTALLED_APPS#release-notes
Alternative Solution
Lowering the version of the channel to 3.0.5 seemed to work.
Try
pip uninstall channels
pip install channels==3.0.5
Source:stackexchange.com