We had a similar issue (I think we where running 2.6.1 or so)... the exchange/queue declare did eventually happen (after quite a long time).<br>The same code run just fine on another computer (so we suspected that it was unrelated to RabbitMQ. After having investigated the issue<br>
for quite a while it turned out to be due to the IPv6 stack timing out (the routing was set up the wrong way.<br><br>Just mentioning it, because it might be a similar issue...<br><br>Cheers<br>Maze<br><br><div class="gmail_quote">
On Fri, Aug 24, 2012 at 4:55 PM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Matthew,<div class="im"><br>
<br>
On 24/08/12 15:44, <a href="mailto:m.luchak@smartasking.com" target="_blank">m.luchak@smartasking.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
what in theory would happen if the server closed the AMQP<br>
connection {inet_error,etimedout} and the client was connecting? �In<br>
theory would this cause the client to hang?<br>
</blockquote>
<br></div>
It shouldn&#39;t, i.e. the client should see the socket close. etimedout is the kind of error that is indicative of network problems though, and in some cases these can take quite a while to be noticed by the parties. Configuring the clients to enable AMQP heartbeats is one way of addressing that problem.<br>

<br>
Regards,<br>
<br>
Matthias.<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>