Thx for the help,<div><br></div><div>So : yes the two computers ping well each other.</div><div><br></div><div>The traceback is here :</div><div><div><font class="Apple-style-span" face="'courier new', monospace">RabbitMQ.Client.Exceptions.AlreadyClosedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=0, text="End of stream", classId=0, methodId=0, cause=System.IO.EndOfStreamException: Unable to read beyond the end of the stream.</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.Frame.ReadFrom(NetworkBinaryReader reader)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.ReadFrame()</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.ConnectionBase.MainLoopIteration()</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.ConnectionBase.MainLoop()</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.SessionBase.Transmit(Command cmd)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.ModelBase.ModelSend(MethodBase method, ContentHeaderBase header, Byte[] body)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Framing.Impl.v0_9_1.Model._Private_BasicPublish(String exchange, String routingKey, Boolean mandatory, Boolean immediate, IBasicProperties basicProperties, Byte[] body)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.ModelBase.BasicPublish(String exchange, String routingKey, Boolean mandatory, Boolean immediate, IBasicProperties basicProperties, Byte[] body)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Client.Impl.ModelBase.BasicPublish(String exchange, String routingKey, IBasicProperties basicProperties, Byte[] body)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at testDB.RMQ_Agent.sendData(String data, String routingKey, IBasicProperties props)</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">Unhandled Exception: System.IO.EndOfStreamException: SharedQueue closed</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at RabbitMQ.Util.SharedQueue.Dequeue()</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at testDB.RMQ_Agent.receiveData()</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at testDB.RMQ_Agent.waitForData()</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at System.Threading.ThreadHelper.ThreadStart_Context(Object state)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp;at System.Threading.ThreadHelper.ThreadStart()</font></div></div><div><br></div><div>And the RabbitMQ server logs are here :</div><div><div>----</div><div><b>**Reset of rabbitmq server, on Computer B**</b></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:30:10 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Limiting to approx 924 file handles (829 sockets)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:30:10 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Memory limit set to 2997MB.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:30:10 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>msg_store_transient: using rabbit_msg_store_ets_index to provide index</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:30:10 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>started TCP Listener on [::]:5672</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:30:10 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>msg_store_persistent: using rabbit_msg_store_ets_index to provide index</div><div>----</div><div><b>**Connection of Java client, Computer B**</b></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:36:29 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>accepted TCP connection on [::]:5672 from XXX.XXX.XXX.XXX:51886</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:36:29 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>starting TCP connection &lt;0.730.0&gt; from XXX.XXX.XXX.XXX:51886</div><div><br></div><div><b>**Connection of .NET client, Computer A**</b></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:36:34 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>accepted TCP connection on [::]:5672 from YYY.YYY.YYY.YYY:44352</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:36:34 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>starting TCP connection &lt;0.746.0&gt; from YYY.YYY.YYY.YYY:44352</div><div><br></div><div><b>**Connection of Java client, Computer C**</b></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:36:54 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>accepted TCP connection on [::]:5672 from ZZZ.ZZZ.ZZZ.ZZZ:39899</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:36:54 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>starting TCP connection &lt;0.781.0&gt; from ZZZ.ZZZ.ZZZ.ZZZ:39899</div><div>----</div><div><b>**Connection closure of .NET client, Computer A**</b></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>WARNING REPORT==== 29-Jul-2011::11:45:24 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>exception on TCP connection &lt;0.746.0&gt; from YYY.YYY.YYY.YYY:44352</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>connection_closed_abruptly</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>INFO REPORT==== 29-Jul-2011::11:45:24 ===</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>closing TCP connection &lt;0.746.0&gt; from YYY.YYY.YYY.YYY:44352</div><div>----</div></div><div><br></div><div>And about the TCP/IP settings, I didn't modify them. These are default settings.</div><div><br></div><div>Recently, I made more tests and results are... strange :</div><div>I tried different .NET clients with different charges (1msg/sec, 10msg/sec, 20msg/sec). The connection seems to fail every time but not after 10 minutes. It closed after 8m30, 17m, ... I also tried with 1msg/2sec and it's running since more then 50 minutes now...</div><div><br></div><div>I looked for some limitations of VirtualBox, about TCP connections but it seems there are not.</div><div><br></div><div>About the heartbeat, if I understand well, it's a solution to detect connection failure, so it would be a good idea if the problem was, actually, a non stable network/connection. But if that's not the case, is it still useful?</div><div><br></div><div>By the way, here is the code of my .NET client, just the connection part :</div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;//factory is a ConnectionFactory</font><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</font><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">factory.Protocol = Protocols.FromEnvironment();</span></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; factory.HostName = hostName;//variable with IP address of my RabbitMQ server</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; factory.VirtualHost = virtualHost;//the string "/"</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; factory.Port = port;//5672</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; factory.UserName = userName;//random string "userName"</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; factory.Password = password;//random string "password"</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; conn = factory.CreateConnection();//conn is a&nbsp;IConnection</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ch = conn.CreateModel();//ch is a IModel</font></div></div><div><font class="Apple-style-span" face="'courier new', monospace">...</font></div><div><font class="Apple-style-span" face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font><br></div><div><br></div><div>After that, I just do some "ch.basicPublish(...)" and "ch.basicConsume(...)" and it works fine during several minutes...</div><div><br></div><div>Someone can see some logic in that?</div><div><br></div><div>Thanks for your time, and for any help,</div><div><br></div><div>Renaud</div>