【发布时间】:2020-02-22 17:20:58
【问题描述】:
我尝试使用选项设置来提供密码:
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'OPTIONS': {
"PASSWORD": 'pass', }, 'CONFIG': {
'hosts': [('localhost', 6379)], }
}
}
尽管如此,还是出错了:
Exception Value: NOAUTH Authentication required.
我发现了以下 SO:
Redis raise error: NOAUTH Authentication required but there is no password setting
但答案在这种情况下没有帮助。
【问题讨论】:
标签: django nginx redis gunicorn django-channels