[rabbitmq-discuss] Trying to do a simple subscription returns message too long error... (RabbitMq.Net)

Matthias Radestock matthias at lshift.net
Thu Aug 13 22:01:47 BST 2009


Patrick,

Patrick Kenney wrote:
> try this one again with the attached...
> 
> from vs2005/2008 IDE...
> open solution...
> 
> F5/debug...
> 
> set no break points...
> 
> frmMain comes up...
> 
> enter "amqp:///dispatcher" in text box above btnHostDispatcher...
> click "Host Dis" ...
> 
> enter "amqp:///subscriber" in text box above btnHostSubscriber...
> 
> Click "Host Sub"...
> 
> enter "amqp:///subscriber" in text box above
> 
> Click "Subscribe"...
> 
> after about a minute or so code breaks at "Trace.Fail("Illegal 
> EitherAlternative " + either.Alternative);" in 
> SimpleBlockingRpcContinuation.GetReply()...

We don't see that, but ...

> after you hit f5 it breaks in a few other places and ultimately ends up 
> in the catch in btnSubscribe_Click...
> 
> if you check your output window you will see the message too long error 
> at this time...
> 
> kill the ide via the vcr button...
> 
> go to "C:\System.Net.TraceRabbitMq.log"...
> 
> open it up and execute ctrl+F...
> 
> enter "long"...
> 
> you will come to the message too long error...

we do see that error.

So, finally, we can reproduce the problem you reported.


Vlad and I have started some experimenting to narrow down the list of 
possible causes. Here's where we got to so far:

1) We ran the program through our java AMQP Tracer tool. This didn't 
show anything unusual, except for the connections getting dropped by the 
client.

2) If we only go as far as the "Host Dis" step above, and let the 
program run for a few minutes, then the .Net socket trace eventually 
shows the "An established connection was aborted by the software in your 
host machine" error.

3) We then disabled the Windows Firewall, and, probably more 
importantly, the "Windows Defender". Then we tried "Host Dis" (and no 
further) again. We waited for quite a while without seeing an error.

If you could check whether you get the same results for 2 & 3 in your 
setup that would be great.


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list