<div dir="ltr"><div>Tks, everybody, I have got the answer..<br><br></div>Tks again.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/11 Russa Nayak/TVM/TCS <span dir="ltr"><<a href="mailto:russa.nayak@tcs.com" target="_blank">russa.nayak@tcs.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Reply<br>
<br>
Hello,<br>
<br>
It seems you are facing a AMQP Connection Error while connectinfg to RabbitMQ. The parameters passes like end uri(hostname +port address), username and password may be incorrect. It also can be the case that the RabbitMQ server itself is not running or installed incorrect.<br>
<br>
Thanks and Regards,<br>
Russa Nayak<br>
Systems Engineer<br>
Tata Consultancy Services<br>
Mailto: <a href="mailto:russa.nayak@tcs.com">russa.nayak@tcs.com</a><br>
Website: <a href="http://www.tcs.com" target="_blank">http://www.tcs.com</a><br>
<div><div class="h5"><br>
----- Original Message -----<br>
On Wednesday, February 6, 2013, Qinglong.Meng wrote:<br>
<br>
<br>
<br>
Hi,<br>
When I following the Totuials 'Hello World!', and I use pika==0.9.8, I got pika excetion:<br>
pika.exceptions.AMQPConnectionError: (0, '')<br>
File "/root/workspace/rabbitmq/01sample/011publisher.py", line 19, in <module><br>
conn = pika.BlockingConnection(pika.ConnectionParameters(host='localhost'))<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/base_connection.py", line 61, in __init__<br>
super(BaseConnection, self).__init__(parameters, on_open_callback)<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/connection.py", line 513, in __init__<br>
self._connect()<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/connection.py", line 804, in _connect<br>
self._adapter_connect()<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py", line 146, in _adapter_connect<br>
self.process_data_events()<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py", line 88, in process_data_events<br>
if self._handle_read():<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py", line 184, in _handle_read<br>
super(BlockingConnection, self)._handle_read()<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/base_connection.py", line 300, in _handle_read<br>
return self._handle_error(error)<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/base_connection.py", line 264, in _handle_error<br>
self._handle_disconnect()<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py", line 181, in _handle_disconnect<br>
self._on_connection_closed(None, True)<br>
File "/usr/local/lib/python2.7/dist-packages/pika-0.9.8-py2.7.egg/pika/adapters/blocking_connection.py", line 235, in _on_connection_closed<br>
raise exceptions.AMQPConnectionError(*self.closing)<br>
<br>
<br>
Can anybody help me..<br>
<br>
<br>
Tks very much<br>
Best Regards,<br>
<br>
--<br>
<br>
<br>
<br>
<br>
Lawrency Meng<br>
mail: <a href="mailto:mengql112233@gmail.com">mengql112233@gmail.com</a> _______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
<br>
--<br>
<br>
<br>
Gavin M. Roy<br>
Chief Technology Officer<br>
<br>
<br>
<br>
</div></div><div class="im">100 Union Square Drive<br>
New Hope, PA 18938<br>
p. +1.215.862.1162 x263<br>
f. +1.215.862.0465<br>
<br>
<br>
<br>
<br>
<br>
</div><div class="im">The public market leader in social discovery. (NYSE MKT: MEET)<br>
<br>
</div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain<br>
confidential or privileged information. If you are<br>
not the intended recipient, any dissemination, use,<br>
review, distribution, printing or copying of the<br>
information contained in this e-mail message<br>
and/or attachments to it are strictly prohibited. If<br>
you have received this communication in error,<br>
please notify us by reply e-mail or telephone and<br>
immediately and permanently delete the message<br>
and any attachments. Thank you<br>
<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <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>