大家有没有遇到这个错误,暂时看不到出错环境。集思广益一下为啥报这个错误。
rabbit mq 3.x 版本,haproxy + (普通)clustering
consumer 一直报下面的错误,但是有消息可以正常消费
2016-11-03 13:13:45 [INFO ] [org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.run:1234] |Restarting Consumer: tags=[{amq.ctag-OTTQJu3QZKQExp1U-Bm1AA=queue.notify.wallet}], channel=Cached Rabbit Channel: PublisherCallbackChannelImpl: AMQChannel(, acknowledgeMode=AUTO local queue size=0
2016-11-03 13:14:35 [ERROR] [org.springframework.amqp.rabbit.connection.CachingConnectionFactory.shutdownCompleted:281] |Channel shutdown: connection error
2016-11-03 13:14:35 [ERROR] [org.springframework.amqp.rabbit.connection.CachingConnectionFactory.shutdownCompleted:281] |Channel shutdown: connection error
2016-11-03 13:14:35 [ERROR] [org.springframework.amqp.rabbit.connection.CachingConnectionFactory.shutdownCompleted:281] |Channel shutdown: connection error
2016-11-03 13:14:35 [WARN ] [org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.logConsumerException:1243] |Consumer raised exception, processing can restart if the connection factory supports it
com.rabbitmq.client.ShutdownSignalException: connection error
at com.rabbitmq.client.impl.AMQConnection.startShutdown(AMQConnection.java:719) ~[amqp-client-3.5.1.jar:na]
at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:709) ~[amqp-client-3.5.1.jar:na]
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:565) ~[amqp-client-3.5.1.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
Caused by: java.io.EOFException: null
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290) ~[na:1.7.0_75]
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:95) ~[amqp-client-3.5.1.jar:na]
at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:139) ~[amqp-client-3.5.1.jar:na]
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:534) ~[amqp-client-3.5.1.jar:na]
... 1 common frames omitted
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于