SockJS disconnecting frequently when used in PhoneGap Android

180 views
Skip to first unread message

joshu...@hotmail.com

unread,
Jul 29, 2013, 12:59:04 PM7/29/13
to soc...@googlegroups.com
Hi, I'm encountering an issue in which SockJS disconnects very frequently when used in PhoneGap Android.  Connecting again takes about another 5-6 seconds so it results in a delay and reduced throughput.  I'm using SockJS with Web STOMP to receive messages from RabbitMQ.

Is there a timeout setting which I can use to prevent a dropped connection while the connectivity fluctuates - a common issue on smartphones? 

Previously, I test Strophe on the same Android phone and remembered that the connection was much more stable.  Thanks.

matz...@gmail.com

unread,
Jan 24, 2015, 8:48:12 AM1/24/15
to soc...@googlegroups.com

Hi did you receive an answer of your question ? I have currently the sme problem, after some time my socket client,
 using it  with phonegap, hungs up or closes,
greetings

Reply all
Reply to author
Forward
0 new messages