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

Patrick Kenney pekenney at gmail.com
Fri Aug 7 02:27:44 BST 2009


still no joy...

re:
On Wed, Aug 5, 2009 at 7:51 PM, Patrick Kenney <pekenney at gmail.com> wrote:

> the trace I have attached previously and again here is the output of the
> following configured 4 trace listeners...
>       System.Net
>       System.Net.Sockets
>       System.Net.Cache
>       System.Net.HttpListener
>
> The applicable configuration of which is depicted in the attached
> tracelistenerconfig.txt file
>
> the listener trace is showing the software aborted messages, that occur
> concurrently with the message too long errors...
>
> It appears the real error is occurring in the RabbitMq Client dll...
>
> The error I am able to capture in debug mode from the rabbitmq client dll
> is...
> The AMQP operation was interrupted: AMQP close-reason, initiated by
> Library, code=311, text="The body of a message (18446744073709551565 bytes)
> was too long.", classId=0, methodId=0,
> cause=RabbitMQ.Client.Impl.BodyTooLongException: The body of a message
> (18446744073709551565 bytes) was too long.
>    at RabbitMQ.Client.Impl.ContentHeaderBase.ReadFrom(Int32 channelNumber,
> NetworkBinaryReader reader) in
> G:\Patrick\Development\C#.NetProjects\RabbitMQ\RabbitMQ.Client\RabbitMQ\Client\Impl\ContentHeaderBase.cs:line
> 23
>    at RabbitMQ.Client.Impl.CommandAssembler.HandleFrame(Frame f) in
> G:\Patrick\Development\C#.NetProjects\RabbitMQ\RabbitMQ.Client\RabbitMQ\Client\Impl\CommandAssembler.cs:line
> 53
>    at RabbitMQ.Client.Impl.Session.HandleFrame(Frame frame) in
> G:\Patrick\Development\C#.NetProjects\RabbitMQ\RabbitMQ.Client\RabbitMQ\Client\Impl\Session.cs:line
> 16
>    at RabbitMQ.Client.Impl.ConnectionBase.MainLoopIteration() in
> G:\Patrick\Development\C#.NetProjects\RabbitMQ\RabbitMQ.Client\RabbitMQ\Client\Impl\ConnectionBase.cs:line
> 434
>    at RabbitMQ.Client.Impl.ConnectionBase.MainLoop() in
> G:\Patrick\Development\C#.NetProjects\RabbitMQ\RabbitMQ.Client\RabbitMQ\Client\Impl\ConnectionBase.cs:line
> 388
>
> since the rabbitmq client dll is not returning the error the only thing I
> am getting from my test consumer code previously posted is...
>
> btnSubscribe_Click Error: Cannot access a disposed object.
> Object name: 'System.Net.Sockets.NetworkStream'.
>
> Which obviously comes much after the message too long error...
>
> the message is "test message"
>
> re:
>
> On Wed, Aug 5, 2009 at 6:31 PM, Tony Garnock-Jones <tonyg at lshift.net>wrote:
>
>> Patrick Kenney wrote:
>>
>>> fyi...the file does contain a failing situation...do a search of the log
>>> text for "abort"
>>>
>>
>> Yes, but it doesn't have any instances of the "The body of a message
>> (18446744073709551575 bytes) was too long" error that we've been chasing. Do
>> you have, or can you generate, any traces containing that particular
>> problem?
>>
>> Regards,
>>  Tony
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090806/a9b7b4d3/attachment.htm 


More information about the rabbitmq-discuss mailing list