[rabbitmq-discuss] timeout error in Hello world tutorial send.py

Jonas Colmsjo jonas.colmsjo at gizur.com
Wed Mar 7 19:30:35 GMT 2012


I've copied the send.py and receive.py in the Hellow World tutorial and 
keep getting time out errors. I've tried running the python code on both 
the local host (ubuntu 10.04) and on osx. The Rabbit server seams to be up 
and running and I can login to the management console.

Any help is greatly appreciated!

root at rabbit-1:~/tmp# rabbitmq-server status
Activating RabbitMQ plugins ...

********************************************************************************
********************************************************************************

6 plugins activated:
* amqp_client-2.7.1
* mochiweb-1.3-rmq2.7.1-git
* rabbitmq_management-2.7.1
* rabbitmq_management_agent-2.7.1
* rabbitmq_mochiweb-2.7.1
* webmachine-1.7.0-rmq2.7.1-hg

node with name "rabbit" already running on "rabbit-1"
diagnostics:
- nodes and their ports on rabbit-1: [{rabbit,39652},
                                      {rabbitmqprelaunch17299,33245}]
- current node: 'rabbitmqprelaunch17299 at rabbit-1'
- current node home dir: /var/lib/rabbitmq
- current node cookie hash: QtJhQHUnJDOWPtTEH/uY/g==

--- ERROR ---

root at rabbit-1:~/tmp# sudo python send.py
Traceback (most recent call last):
  File "send.py", line 5, in <module>
    host='localhost'))
  File 
"/usr/local/lib/python2.6/dist-packages/pika/adapters/blocking_connection.py", 
line 32, in __init__
    BaseConnection.__init__(self, parameters, None, reconnection_strategy)
  File 
"/usr/local/lib/python2.6/dist-packages/pika/adapters/base_connection.py", 
line 50, in __init__
    reconnection_strategy)
  File "/usr/local/lib/python2.6/dist-packages/pika/connection.py", line 
170, in __init__
    self._connect()
  File "/usr/local/lib/python2.6/dist-packages/pika/connection.py", line 
228, in _connect
    self.parameters.port or  spec.PORT)
  File 
"/usr/local/lib/python2.6/dist-packages/pika/adapters/blocking_connection.py", 
line 44, in _adapter_connect
    self._handle_read()
  File 
"/usr/local/lib/python2.6/dist-packages/pika/adapters/base_connection.py", 
line 151, in _handle_read
    data = self.socket.recv(self._suggested_buffer_size)
socket.timeout: timed out
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120307/1a1d43d1/attachment.htm>


More information about the rabbitmq-discuss mailing list