pike.exception.StreamLostError python pika rabbitmq

jckbn6z7  于 2023-05-29  发布在  RabbitMQ
关注(0)|答案(1)|浏览(195)

当我调用connection.channel()时得到pike.exception.StreamLostError: Stream connection lost: connectionResetError(10054...

p = pika.ConnectionParameters('localhost')
c = pika.BlockingConnection(p)
channel = connection.channel()
...

RabbitMQ 3.11.16 Erlang 26.0

wljmcqd8

wljmcqd81#

问题是您正在使用Erlang 26和RabbitMQ 3.11.x。Erlang 26与RabbitMQ 3.11.x不兼容
您必须使用Erlang 25 for RAbbitMQ 3.11.x参见https://www.rabbitmq.com/which-erlang.html
Erlang 26尚未得到官方支持;我们正在努力

相关问题