Hi Andrew,
Andrew Godwin於 2018年7月14日星期六 UTC+8上午5時27分06秒寫道:
-- after update channels to 1.1.5, it's fixed.
thanks.
Andrew Godwin於 2018年7月14日星期六 UTC+8上午5時27分06秒寫道:
What version of Channels are you using? It looks like you're trying to use Channels 1 without Twisted redis support installed - did you try installing the package it's asking for?AndrewOn Thu, Jul 12, 2018 at 4:22 AM Hank Chu <iamha...@gmail.com> wrote:--2018-07-12 17:35:08,070 - INFO - worker - Listening on channels http.request, websocket.connect, websocket.disconnect, websocket.receive
2018-07-12 17:35:08,072 - INFO - server - HTTP/2 support not enabled (install the http2 and tls Twisted extras)
2018-07-12 17:35:08,075 - INFO - server - Using native Twisted mode on channel layer
2018-07-12 17:35:08,075 - INFO - server - Listening on endpoint tcp:port=80:interface=10.144.1.123
2018-07-12 17:35:08,077 - ERROR - server - Error trying to receive messages: name 'txredisapi' is not defined
2018-07-12 17:35:13,079 - ERROR - server - Error trying to receive messages: name 'txredisapi' is not definedCan someone help me to fix this problem?this my django's setting.pyredis_host = '10.144.1.123'
CHANNEL_LAYERS = {
"default": {
"BACKEND": "asgi_redis.RedisChannelLayer",
"CONFIG": {
"hosts": [(redis_host, 6379)],
},
"ROUTING": "coverage_wabsys_py3.routing.channel_routing",
},
}
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 django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e3405fbd- .1f5a-407b-a18e-138f53a2fe6e% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/df507790-8859-4922-88dd-7c187c21d63f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment