Skip Menu |

This queue is for tickets about the Net-STOMP-Client CPAN distribution.

Report information
The Basics
Id: 78137
Status: rejected
Priority: 0/
Queue: Net-STOMP-Client

People
Owner: LCONS [...] cpan.org
Requestors: xbhanu [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0
Fixed in: (no value)



Subject: Error in send_frame - could not send all data
Hi, very occassionaly I see this error being thrown by the stomp module. Net::STOMP::Client->send_frame(): could not send all data! I've tried passing a timeout value of 5 minutes to the send_frame method. I've failover/reconnect logic in my wrapper. I see that the underlying Net::Stomp::Client module tries for say 4-5 times and returns with "could not send all data" but it eventually succeeds. Can you please help showing some light on what might be causing these errors? -- (Completely ruling out the timeout option, I've checked thoroughly). Thanks, Bhanu
Bhanu, This error is pretty generic and could come from a slow broker and/or a slow network. Could you please tell me more about your environment? In particular: which version of Net-STOMP-Client you are using, which broker version you are connecting to, how the network looks like in between and which transport you use (TCP or SSL). Cheers, Lionel
From: xbhanu [...] gmail.com
On Tue Jul 03 01:56:01 2012, LCONS wrote: Show quoted text
> Bhanu, > > This error is pretty generic and could come from a slow broker and/or
a Show quoted text
> slow network. > > Could you please tell me more about your environment? In particular: > which version of Net-STOMP-Client you are using, which broker version
you Show quoted text
> are connecting to, how the network looks like in between and which > transport you use (TCP or SSL). > > Cheers, >
Thanks for the response Lionel. We use STOMP version 1.0 and connect to ActiveMQ broker version 5.5.1 (This broker version does not support Stomp 1.1). We use TCP communication. Show quoted text
> Lionel
On Tue Jul 03 03:53:59 2012, xbhanu wrote: Show quoted text
> We use STOMP version 1.0 and connect to ActiveMQ broker version 5.5.1 > (This broker version does not support Stomp 1.1). We use TCP > communication.
Well, ActiveMQ 5.5.1 does support STOMP 1.1, at least for the FuseSource version (see http://fusesource.com/wiki/display/ProdInfo/FUSE+Message+Broker+v5.5.1- fuse+Release+Notes). However, my question was for the Net-STOMP-Client Perl module: which version of my module are you using?
The I/O layer has been improved in Net::STOMP::Client 1.8. Please try to reproduce the problem with that version.
Not enough information to be able to reproduce the problem.