org.springframework.amqp.AmqpIOException

java.io.IOException

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • org.springframework.amqp.AmqpIOException: java.io.IOException at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:71)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.connection.RabbitAccessor.convertRabbitAccessException(RabbitAccessor.java:113)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:1461)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1411)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1387)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitAdmin.initialize(RabbitAdmin.java:500)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitAdmin$11.onCreate(RabbitAdmin.java:419)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.connection.CompositeConnectionListener.onCreate(CompositeConnectionListener.java:33)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:553)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:1430)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1411)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1387)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitAdmin.getQueueProperties(RabbitAdmin.java:336)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.redeclareElementsIfNecessary(SimpleMessageListenerContainer.java:1114)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$1100(SimpleMessageListenerContainer.java:95)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1333)[spring-rabbit-1.7.0.RELEASE.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_101] Caused by: java.io.IOException: null at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:105)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:101)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:123)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.ChannelN.exchangeDeclare(ChannelN.java:763)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.exchangeDeclare(AutorecoveringChannel.java:237)[amqp-client-4.0.1.jar:4.0.1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_101] at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:917)[spring-rabbit-1.7.0.RELEASE.jar:na] at com.sun.proxy.$Proxy82.exchangeDeclare(Unknown Source)[na:na] at org.springframework.amqp.rabbit.core.RabbitAdmin.declareExchanges(RabbitAdmin.java:554)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitAdmin.access$000(RabbitAdmin.java:66)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitAdmin$12.doInRabbit(RabbitAdmin.java:503)[spring-rabbit-1.7.0.RELEASE.jar:na] at org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:1455)[spring-rabbit-1.7.0.RELEASE.jar:na] ... 14 more Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'internal' for exchange 'amq.rabbitmq.log' in vhost '/': received 'false' but current is 'true', class-id=40, method-id=10) at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:32)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:366)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:229)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:117)[amqp-client-4.0.1.jar:4.0.1] ... 26 more Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'internal' for exchange 'amq.rabbitmq.log' in vhost '/': received 'false' but current is 'true', class-id=40, method-id=10) at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:505)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:336)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:143)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:90)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:634)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47)[amqp-client-4.0.1.jar:4.0.1] at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:572)[amqp-client-4.0.1.jar:4.0.1] ... 1 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitor2 times, last one
derproggerderprogger
Once,
HronomHronom
3 times, last one
Unknown visitor
Unknown visitor6 times, last one
10 more bugmates