Matthias,<div><br></div><div>I injected the java Tracer into the path, and spotted a Connection.tune method with interesting parameters:</div><div><div><br></div><div>1265609050931: conn#0 ch#0 -&gt; {#method&lt;connection.start-ok&gt;(client-properties={library_version=0.6.1, library=Python amqplib},mechanism=AMQPLAIN,response=LOGINSguesPASSWORDSguest,locale=en_US),null,&quot;&quot;}</div>
<div>1265609050961: conn#0 ch#0 &lt;- {#method&lt;connection.tune&gt;(channel-max=0,frame-max=131072,heartbeat=0),null,&quot;&quot;}</div><div>1265609051002: conn#0 ch#0 -&gt; {#method&lt;connection.tune-ok&gt;(channel-max=65535,frame-max=131072,heartbeat=0),null,&quot;&quot;}</div>
<div>1265609051003: conn#0 ch#0 -&gt; {#method&lt;connection.open&gt;(virtual-host=/,capabilities=,insist=false),null,&quot;&quot;}</div><div>1265609051041: conn#0 ch#0 &lt;- {#method&lt;connection.open-ok&gt;(known-hosts=localhost:5672),null,&quot;&quot;}</div>
<div>1265609051081: conn#0 ch#1 -&gt; {#method&lt;channel.open&gt;(out-of-band=),null,&quot;&quot;}</div><div>1265609051121: conn#0 ch#1 &lt;- {#method&lt;channel.open-ok&gt;(),null,&quot;&quot;}</div><div>1265609051161: conn#0 ch#1 -&gt; {#method&lt;access.request&gt;(realm=/data,exclusive=false,passive=false,active=true,write=true,read=false),null,&quot;&quot;}</div>
<div>1265609051200: conn#0 ch#1 &lt;- {#method&lt;access.request-ok&gt;(ticket=1),null,&quot;&quot;}</div><div>1265609051242: conn#0 ch#2 -&gt; {#method&lt;channel.open&gt;(out-of-band=),null,&quot;&quot;}</div><div>1265609051290: conn#0 ch#2 &lt;- {#method&lt;channel.open-ok&gt;(),null,&quot;&quot;}</div>
<div>1265609051331: conn#0 ch#2 -&gt; {#method&lt;access.request&gt;(realm=/data,exclusive=false,passive=false,active=true,write=false,read=true),null,&quot;&quot;}</div><div>1265609051370: conn#0 ch#2 &lt;- {#method&lt;access.request-ok&gt;(ticket=1),null,&quot;&quot;}</div>
<div>1265609051412: conn#0 ch#2 -&gt; {#method&lt;queue.declare&gt;(ticket=1,queue=transcode.wmal,passive=false,durable=false,exclusive=false,auto-delete=true,nowait=false,arguments={}),null,&quot;&quot;}</div><div>1265609051451: conn#0 ch#2 &lt;- {#method&lt;queue.declare-ok&gt;(queue=transcode.wmal,message-count=0,consumer-count=0),null,&quot;&quot;}</div>
<div>1265609051490: conn#0 ch#2 -&gt; {#method&lt;basic.consume&gt;(ticket=1,queue=transcode.wmal,consumer-tag=,no-local=false,no-ack=false,exclusive=false,nowait=false),null,&quot;&quot;}</div><div>1265609051531: conn#0 ch#2 &lt;- {#method&lt;basic.consume-ok&gt;(consumer-tag=amq.ctag-GmOHWY3xtNeQ9+9WvAo3oA==),null,&quot;&quot;}</div>
</div><div><br></div><div><br></div><div>This led me to the discussion on�<a href="http://www.amqp.org/jira/browse/AMQP-108">http://www.amqp.org/jira/browse/AMQP-108</a>, suggesting that there is an upper limit on AMQP payload of a 16-bit number in versions 0.8/0.9.�</div>
<div><br></div><div>I&#39;ll try patching py-amqplib to take frame-max in kwargs, but any other gotchas you can think of would be appreciated? Would I be better off trying Tony&#39;s PIKA?</div><div><br></div><div>Sigurd<br>
<br><div class="gmail_quote">2010/2/7 Sigurd H�gsbro <span dir="ltr">&lt;<a href="mailto:sigurd.hogsbro@museeka.com">sigurd.hogsbro@museeka.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><div>Hello Matthias,</div><div><br></div><div>The below extract from rabbit.log is from a problematic run. It appears the python instance running with Windows XP within VirtualBox aborts the connection.�</div>
<div><br></div>

<div>The message bodies being sent are 6-25Mb each, which isn&#39;t immaterial but AFAICT should work.�</div><div><br></div><div>I used to have immediate and mandatory flags set but I&#39;ve removed these to make the connection as plain vanilla as possible.</div>


<div><br></div><div>Regards,</div><div><br></div><div>Sigurd</div><div><br></div><div>=INFO REPORT==== 7-Feb-2010::09:55:33 ===</div><div>accepted TCP connection on <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a> from <a href="http://192.168.66.61:54000" target="_blank">192.168.66.61:54000</a></div>


<div><br></div><div>=INFO REPORT==== 7-Feb-2010::09:55:33 ===</div><div>starting TCP connection &lt;0.809.5&gt; from <a href="http://192.168.66.61:54000" target="_blank">192.168.66.61:54000</a></div><div><br></div><div>=INFO REPORT==== 7-Feb-2010::09:55:51 ===</div>


<div>accepted TCP connection on <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a> from <a href="http://127.0.0.1:47539" target="_blank">127.0.0.1:47539</a></div><div><br></div><div>=INFO REPORT==== 7-Feb-2010::09:55:51 ===</div>

<div>starting TCP connection &lt;0.835.5&gt; from <a href="http://127.0.0.1:47539" target="_blank">127.0.0.1:47539</a></div>
<div><br></div><div>=INFO REPORT==== 7-Feb-2010::09:55:51 ===</div><div>accepted TCP connection on <a href="http://0.0.0.0:5672" target="_blank">0.0.0.0:5672</a> from <a href="http://127.0.0.1:47540" target="_blank">127.0.0.1:47540</a></div>

<div><br></div>
<div>=INFO REPORT==== 7-Feb-2010::09:55:51 ===</div><div>starting TCP connection &lt;0.841.5&gt; from <a href="http://127.0.0.1:47540" target="_blank">127.0.0.1:47540</a></div><div><br></div><div>=WARNING REPORT==== 7-Feb-2010::09:56:35 ===</div>


<div>exception on TCP connection &lt;0.835.5&gt; from <a href="http://127.0.0.1:47539" target="_blank">127.0.0.1:47539</a></div><div>connection_closed_abruptly</div><div><br></div><div>=INFO REPORT==== 7-Feb-2010::09:56:35 ===</div>

<div>
closing TCP connection &lt;0.835.5&gt; from <a href="http://127.0.0.1:47539" target="_blank">127.0.0.1:47539</a></div><div><br></div><div>=WARNING REPORT==== 7-Feb-2010::09:56:35 ===</div><div>exception on TCP connection &lt;0.841.5&gt; from <a href="http://127.0.0.1:47540" target="_blank">127.0.0.1:47540</a></div>


<div>connection_closed_abruptly</div><div><br></div><div>=INFO REPORT==== 7-Feb-2010::09:56:35 ===</div><div>closing TCP connection &lt;0.841.5&gt; from <a href="http://127.0.0.1:47540" target="_blank">127.0.0.1:47540</a></div>

<br></div></div><div class="gmail_quote"><div><div></div><div class="h5">
2010/2/6 Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@lshift.net" target="_blank">matthias@lshift.net</a>&gt;</span><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Sigurd,<div><div></div><div class="h5"><br>
<br>
Sigurd H�gsbro wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
when used in anger sending the response [...] fails with:<div><br>
[Errno 10054] An existing connection was forcibly closed by the remote<br>
host<br>
</div></blockquote>
<br>
Is there anything unusual in the server logs (rabbit.log and rabbit-sasl.log)?<br>
<br>
<br>
Regards,<br><font color="#888888">
<br>
Matthias.<br>
</font></div></div></blockquote></div><br>
</blockquote></div><br></div>