Autobahn android client closing without any network lost.

#1

I am using autobhan client in my android project, but one error i found was if we not use websocket for long time the connection is getting closed if there is no network lost also.
To solve this issue i introduced PingPong timer it will send ping request in an interval and server respond with pong response, But the problem is connection is stable if my pingpong time interval is less than 5 min, why it is happening like this?

0 Likes

#2

  I am using autobhan client in my android project, but one error i
found was if we not use websocket for long time the connection is
getting closed if there is no network lost also.
To solve this issue i introduced PingPong timer it will send ping
request in an interval and server respond with pong response, But the
problem is connection is stable if my pingpong time interval is less
than 5 min, why it is happening like this?

Sorry, I don't understand the last sentance: are you saying that the connection is stable _only_ if you do ping/pong with interval < 5min?

···

Am 25.04.2014 20:16, schrieb harisan...@gmail.com:

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

0 Likes