<font size="4">I am a RabbitMQ beginner. When I just followed the tutorial(<a href="http://www.rabbitmq.com/tutorial-one-python.html">http://www.rabbitmq.com/tutorial-one-python.html</a>) to install pika library and run the send.py,<br>
but got an exception as follow:</font><br><br>combo@combo-ubt:~$ python send.py<br>Traceback (most recent call last):<br> File "send.py", line 6, in <module><br> channel = connection.channel()<br> File "/usr/games/src/pika/pika/connection.py", line 385, in channel<br>
return channel.Channel(channel.ChannelHandler(self))<br> File "/usr/games/src/pika/pika/channel.py", line 205, in __init__<br> self.handler._rpc(spec.Channel.Open(), [spec.Channel.OpenOk])<br> File "/usr/games/src/pika/pika/channel.py", line 187, in _rpc<br>
return self.connection._rpc(self.channel_number, method, acceptable_replies)<br> File "/usr/games/src/pika/pika/connection.py", line 324, in _rpc<br> channel = self._ensure_channel(channel_number)<br> File "/usr/games/src/pika/pika/connection.py", line 287, in _ensure_channel<br>
raise ConnectionClosed(self.connection_close)<br>pika.exceptions.ConnectionClosed: Connection.Close(class_id = 0, method_id = 0, reply_code = 0, reply_text = 'Socket closed')<br><br><font size="4">well ,I have no idea what's wrong with it.So,is there anybody who can tell how to deal with it?</font><br>
<br>