connection process started with cowboy_protocol:start_link/4 at <0.18023.990> exit with reason
server info: RabbitMQ 3.6.11, Erlang 19.0.4
sharerabbitmq-01 log
sharerabbitmq-01.log:=ERROR REPORT==== 11-Oct-2017::21:42:29 === sharerabbitmq-01.log-Ranch listener rabbit_web_dispatch_sup_15672 had connection process started with cowboy_protocol:start_link/4 at <0.18023.990> exit with reason: [{reason,{timeout,{gen_se rver,call,[<0.1102.0>,{fetch,#Fun<rabbit_mgmt_db.22.104142656>,[[[{name,<<"biz_parent_queue_add_article">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive,false},{owner_pid,non e},{arguments,{struct,[]}},{pid,<8721.488.0>},{state,live}],[{name,<<"biz_parent_queue_add_article_monitor">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive,false},{owner_pid, none},{arguments,{struct,[]}},{pid,<8721.700.0>},{state,live}],[{name,<<"biz_parent_queue_add_article_sandbox">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive,false},{owner_p id,none},{arguments,{struct,[]}},{pid,<8721.718.0>},{state,live}],[{name,<<"biz_parent_queue_add_article_score">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive,false},{owner_ pid,none},{arguments,{struct,[]}},{pid,<8721.526.0>},{state,live}],[{name,<<"biz_parent_queue_add_article_timeline">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive,false},{ow ner_pid,none},{arguments,{struct,[]}},{pid,<8721.632.0>},{state,live}],[{name,<<"biz_parent_queue_add_article_timeline_sandbox">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusiv e,false},{owner_pid,none},{arguments,{struct,[]}},{pid,<8721.508.0>},{state,live}],[{name,<<"biz_parent_queue_add_comment">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive,fal se},{owner_pid,none},{arguments,{struct,[]}},{pid,<8721.653.0>},{state,live}],[{name,<<"biz_parent_queue_add_comment_sandbox">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive, false},{owner_pid,none},{arguments,{struct,[]}},{pid,<8721.513.0>},{state,live}],[{name,<<"biz_parent_queue_add_comment_score">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclusive ,false},{owner_pid,none},{arguments,{struct,[]}},{pid,<8721.683.0>},{state,live}],[{name,<<"biz_parent_queue_add_comment_timeline">>},{vhost,<<"/">>},{durable,true},{auto_delete,false},{exclu……
sharerabbitmq-02 log =WARNING REPORT==== 11-Oct-2017::21:41:51 === closing AMQP connection <0.16665.444> (10.80.123.123:38823 -> 10.80.122.123:5672, vhost: '/', user: 'quanzi'): client unexpectedly closed TCP connection
=ERROR REPORT==== 11-Oct-2017::21:43:31 === closing AMQP connection <0.6434.207> (10.47.123.123:27873 -> 10.80.122.123:5672): missed heartbeats from client, timeout: 30s
=WARNING REPORT==== 11-Oct-2017::21:48:21 === closing AMQP connection <0.17488.444> (10.80.123.123:37700 -> 10.80.122.123:5672, vhost: '/', user: 'quanzi'): client unexpectedly closed TCP connection
client log
2017-10-11 21:41:48.109 [AMQP Connection 10.80.122.123:5672] ERROR com.rabbitmq.client.impl.ForgivingExceptionHandler(124) - An unexpected connection driver error occured com.rabbitmq.client.MissedHeartbeatException: Heartbeat missing with heartbeat = 30 seconds at com.rabbitmq.client.impl.AMQConnection.handleSocketTimeout(AMQConnection.java:730) ~[amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:649) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQConnection.access$300(AMQConnection.java:47) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:579) [amqp-client-4.1.0.jar:4.1.0] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
2017-10-11 21:43:04.450 [AMQP Connection 10.80.122.123:5672] ERROR com.rabbitmq.client.impl.ForgivingExceptionHandler(124) - Caught an exception during connection recovery! java.util.concurrent.TimeoutException at com.rabbitmq.utility.BlockingCell.get(BlockingCell.java:77) ~[amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.utility.BlockingCell.uninterruptibleGet(BlockingCell.java:120) ~[amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36) ~[amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:398) ~[amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:304) ~[amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection(RecoveryAwareAMQConnectionFactory.java:62) ~[amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.recoverConnection(AutorecoveringConnection.java:531) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.beginAutomaticRecovery(AutorecoveringConnection.java:494) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.access$000(AutorecoveringConnection.java:53) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.recovery.AutorecoveringConnection$1.recoveryCanBegin(AutorecoveringConnection.java:435) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQConnection.notifyRecoveryCanBeginListeners(AMQConnection.java:700) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQConnection.doFinalShutdown(AMQConnection.java:694) [amqp-client-4.1.0.jar:4.1.0] at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:584) [amqp-client-4.1.0.jar:4.1.0] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Thank you for your time.
Team RabbitMQ uses GitHub issues for specific actionable items engineers can work on. This assumes two things:
- GitHub issues are not used for questions, investigations, root cause analysis, discussions of potential issues, etc (as defined by this team)
- We have a certain amount of information to work with
We get at least a dozen of questions through various venues every single day, often quite light on details. At that rate GitHub issues can very quickly turn into a something impossible to navigate and make sense of even for our team. Because of that questions, investigations, root cause analysis, discussions of potential features are all considered to be mailing list material by our team. Please post this to rabbitmq-users.
Getting all the details necessary to reproduce an issue, make a conclusion or even form a hypothesis about what's happening can take a fair amount of time. Our team is multiple orders of magnitude smaller than the RabbitMQ community. Please help others help you by providing a way to reproduce the behavior you're observing, or at least sharing as much relevant information as possible on the list:
- Server, client library and plugin (if applicable) versions used
- Server logs
- A code example or terminal transcript that can be used to reproduce
- Full exception stack traces (not a single line message)
rabbitmqctl status(and, if possible,rabbitmqctl environmentoutput)- Other relevant things about the environment and workload, e.g. a traffic capture
Feel free to edit out hostnames and other potentially sensitive information.
When/if we have enough details and evidence we'd be happy to file a new issue.
Thank you.
This has nothing to do with this client. Timeouts is a fact of life in a production system under load, as are missed heartbeats.