redis.exceptions.ConnectionError: Error while reading from socket: (104, 'Connection reset by peer')
- OS used is Ubuntu
- packages used
channels-redis==3.3.1
hiredis==2.0.0
redis==2.10.6
channels==3.0.4
channels-redis==3.3.1
When running with the localhost it runs smoothly, but when I try to use azure cache for redis which is password protected, it throws the below error
redis.exceptions.ConnectionError: Error while reading from socket: (104, 'Connection reset by peer')
channel configuration in settings.py
CHANNEL_LAYERS = { 'default': { 'BACKEND': 'channels_redis.core.RedisChannelLayer', 'CONFIG': { "hosts": [("redis://:[email protected]:6380/0")], }, }, }
It would mean a lot, if anyone can provide with a source or docs that could be helpful