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 -> {#method<connection.start-ok>(client-properties={library_version=0.6.1, library=Python amqplib},mechanism=AMQPLAIN,response=LOGINSguesPASSWORDSguest,locale=en_US),null,""}</div>
<div>1265609050961: conn#0 ch#0 <- {#method<connection.tune>(channel-max=0,frame-max=131072,heartbeat=0),null,""}</div><div>1265609051002: conn#0 ch#0 -> {#method<connection.tune-ok>(channel-max=65535,frame-max=131072,heartbeat=0),null,""}</div>
<div>1265609051003: conn#0 ch#0 -> {#method<connection.open>(virtual-host=/,capabilities=,insist=false),null,""}</div><div>1265609051041: conn#0 ch#0 <- {#method<connection.open-ok>(known-hosts=localhost:5672),null,""}</div>
<div>1265609051081: conn#0 ch#1 -> {#method<channel.open>(out-of-band=),null,""}</div><div>1265609051121: conn#0 ch#1 <- {#method<channel.open-ok>(),null,""}</div><div>1265609051161: conn#0 ch#1 -> {#method<access.request>(realm=/data,exclusive=false,passive=false,active=true,write=true,read=false),null,""}</div>
<div>1265609051200: conn#0 ch#1 <- {#method<access.request-ok>(ticket=1),null,""}</div><div>1265609051242: conn#0 ch#2 -> {#method<channel.open>(out-of-band=),null,""}</div><div>1265609051290: conn#0 ch#2 <- {#method<channel.open-ok>(),null,""}</div>
<div>1265609051331: conn#0 ch#2 -> {#method<access.request>(realm=/data,exclusive=false,passive=false,active=true,write=false,read=true),null,""}</div><div>1265609051370: conn#0 ch#2 <- {#method<access.request-ok>(ticket=1),null,""}</div>
<div>1265609051412: conn#0 ch#2 -> {#method<queue.declare>(ticket=1,queue=transcode.wmal,passive=false,durable=false,exclusive=false,auto-delete=true,nowait=false,arguments={}),null,""}</div><div>1265609051451: conn#0 ch#2 <- {#method<queue.declare-ok>(queue=transcode.wmal,message-count=0,consumer-count=0),null,""}</div>
<div>1265609051490: conn#0 ch#2 -> {#method<basic.consume>(ticket=1,queue=transcode.wmal,consumer-tag=,no-local=false,no-ack=false,exclusive=false,nowait=false),null,""}</div><div>1265609051531: conn#0 ch#2 <- {#method<basic.consume-ok>(consumer-tag=amq.ctag-GmOHWY3xtNeQ9+9WvAo3oA==),null,""}</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'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's PIKA?</div><div><br></div><div>Sigurd<br>
<br><div class="gmail_quote">2010/2/7 Sigurd Høgsbro <span dir="ltr"><<a href="mailto:sigurd.hogsbro@museeka.com">sigurd.hogsbro@museeka.com</a>></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't immaterial but AFAICT should work. </div><div><br></div><div>I used to have immediate and mandatory flags set but I'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 <0.809.5> 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 <0.835.5> 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 <0.841.5> 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 <0.835.5> 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 <0.835.5> 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 <0.841.5> 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 <0.841.5> 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"><<a href="mailto:matthias@lshift.net" target="_blank">matthias@lshift.net</a>></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>