我有一个RabbitMQ容器,它经常出现“unexpected_frame”异常,这是什么意思?

5f0d552i  于 4个月前  发布在  RabbitMQ
关注(0)|答案(1)|浏览(71)

我有一个应用程序正在将数据推送到RabbitMQ中,然后其他一些应用程序正在订阅不同的交易所。
但最近,我在几个小时后不断出现这样的错误:

2020-07-09 12:45:12.670 [error] <0.23578.1> Error on AMQP connection <0.23578.1> (172.18.0.5:48230 ->
172.18.0.3:5672, vhost: '/', user: 'guest', state: running), channel 6:                                                                                 
operation basic.publish caused a connection exception unexpected_frame:
 "expected content header for class 60, got non content"
2020-07-09 12:45:12.674 [info] <0.23578.1> closing AMQP connection <0.23578.1> (172.18.0.5:48230 ->
 172.18.0.3:5672, vhost: '/'

字符串
在客户端,我收到这样的消息:

"Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer,
code=505, text='UNEXPECTED_FRAME - expected content body, got non content body frame instead',
classId=60, methodId=40"


这是一个码头集装箱。
这个错误可能是关于什么的?

j5fpnvbx

j5fpnvbx1#

您正在共享一个用于并发发布的通道,请使用以下代码

lock (ch) {  ch.BasicPublish();  }

字符串

相关问题