System Blog

Python RabbitMQ pika client remote connection timeout

Posted on: January 31, 2016

using python pika lib saw something similar to this?

line 301, in _adapter_connect
    raise exceptions.AMQPConnectionError(error)
pika.exceptions.AMQPConnectionError: Connection to 23.*.*.117:5672 failed: timeout

this was due to the default TCP timeout set on rabbitmq was too short
fix as below
Python RabbitMQ pika client remote connection timeout

Leave a comment


  • None
  • venkat0821: thanks mate. I am able to download now.
  • leaonow: Hi mate, sorry about that, it seems Dropbox has my account deleted.~ you can download the latest version from http://www.easemylifetools.com/tools/Eas
  • venkat0821: Not able to download the sample files.