<div dir="ltr"><br clear="all"><div style>Hi,</div><div style>    When I following the Totuials &#39;Hello World!&#39;, and I use pika==0.9.8, I got  pika excetion: </div><div style>    pika.exceptions.AMQPConnectionError: (0, &#39;&#39;)</div>
<div>File &quot;/root/workspace/rabbitmq/01sample/011publisher.py&quot;, line 19, in &lt;module&gt;</div><div>  conn = pika.BlockingConnection(pika.ConnectionParameters(host=&#39;localhost&#39;))</div><div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/base_connection.py&quot;, line 61, in __init__</div>
<div>  super(BaseConnection, self).__init__(parameters, on_open_callback)</div><div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/connection.py&quot;, line 513, in __init__</div><div>  self._connect()</div>
<div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/connection.py&quot;, line 804, in _connect</div><div>  self._adapter_connect()</div><div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py&quot;, line 146, in _adapter_connect</div>
<div>  self.process_data_events()</div><div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py&quot;, line 88, in process_data_events</div><div>  if self._handle_read():</div>
<div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py&quot;, line 184, in _handle_read</div><div>  super(BlockingConnection, self)._handle_read()</div><div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/base_connection.py&quot;, line 300, in _handle_read</div>
<div>  return self._handle_error(error)</div><div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/base_connection.py&quot;, line 264, in _handle_error</div><div>  self._handle_disconnect()</div>
<div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py&quot;, line 181, in _handle_disconnect</div><div>  self._on_connection_closed(None, True)</div><div>File &quot;/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py&quot;, line 235, in _on_connection_closed</div>
<div>  raise exceptions.AMQPConnectionError(*self.closing)</div><div><br></div><div style>Can anybody help me..</div><div style><br></div><div style>Tks very much</div><div style>Best Regards,</div><div><br></div>-- <br><div dir="ltr">
<div><br></div><div>Lawrency Meng</div><div>mail: <a href="mailto:mengql112233@gmail.com" target="_blank">mengql112233@gmail.com</a></div>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" style="color:rgb(17,85,204)" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" style="color:rgb(17,85,204)" target="_blank">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack" style="color:rgb(17,85,204)" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" style="color:rgb(17,85,204)" target="_blank">https://help.launchpad.net/ListHelp</a><br></div>
</div>