装好 rabbitmq 后照着 DEMO 试了下就出错了, rabbitmq pika.exceptions.IncompatibleProtocolError: (-1, 'EOF')

2018-11-25 20:13:30 +08:00
 jakeyfly

Traceback (most recent call last): File "/tmp/pycharm_project_980/tttest/receive.py", line 7, in <module> connection = pika.BlockingConnection(pika.ConnectionParameters(host='localhost')) File "/home/liusanye/.local/share/virtualenvs/mitdoweb-PyavfCpW/lib/python3.6/site-packages/pika/adapters/blocking_connection.py", line 377, in init self._process_io_for_connection_setup() File "/home/liusanye/.local/share/virtualenvs/mitdoweb-PyavfCpW/lib/python3.6/site-packages/pika/adapters/blocking_connection.py", line 417, in _process_io_for_connection_setup self._open_error_result.is_ready) File "/home/liusanye/.local/share/virtualenvs/mitdoweb-PyavfCpW/lib/python3.6/site-packages/pika/adapters/blocking_connection.py", line 469, in _flush_output raise maybe_exception pika.exceptions.IncompatibleProtocolError: (-1, 'EOF')</module>

这是什么情况!!!网上查半天,也没个结果

2848 次点击
所在节点    问与答
3 条回复
kslr
2018-11-25 21:44:09 +08:00
你就不能用点心吗
zn
2018-11-25 21:46:37 +08:00
这格式,留着自己吃吧。
jakeyfly
2018-11-25 22:06:11 +08:00
@zn 大佬 复制进来就是这样啦

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/511379

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX