That sounds interessting.
Had just written a small comand line tool to test libiphb.
The difference between the xmpp connection and an ssh connection is that
with ssh, the connection just have to work if you actually use your device.
With xmpp there could be an incoming connection while the device
On Wed, Jan 18, 2017 at 11:00:17PM +0100, Ove Kåven wrote:
> Den 17. jan. 2017 19:55, skrev george b:
> > My xmpp client [1] makes progress and works very well. But I have
> > problems with connection drops after about half an hour of device
> > inactivity. I tried to send xmpp pings to the server
Den 17. jan. 2017 19:55, skrev george b:
> My xmpp client [1] makes progress and works very well. But I have
> problems with connection drops after about half an hour of device
> inactivity. I tried to send xmpp pings to the server in regular
> intervalls to keep the connection on. Then I tried to
Okay, did a test with an outgoing ssh connection. It's still stable for
several hours now.
I will do some wireshark recordings and research in this direction. Thank
you for the hint.
If I found out something usefull, I will post it back here.
Bye
Georg
Hi,
On 18/01/17 12:45, george b wrote:
But my testing environment was using wifi only. And I expected the TCP
connection to last longer then just 30 minutes and then collaps.
I think further testing might be needed there - such a problem would
have been noticed by others. Personally I have ss
The only scenario where you can say "I expected longer times" with any
certainty is wired LAN where both parties are on the same switched LAN and
there was no significant load on either party or the switch.
The moment you're dealing with wireless signals you added so many things
into the equation
Of course, one can't expect a stable TCP connection on a mobile device upon
regular use. You are right, the app has to deal with this cases and
reconnect in case of a network error.
But my testing environment was using wifi only. And I expected the TCP
connection to last longer then just 30 minute
Are you sure the infrastructure you are running on may not be at fault?
(3G/4G or an ISP using carrier grade NAT may be trying to free up
connections every X time or just switching your outgoing route breaking the
connection)
Either way there is no such thing as a stable TCP connection, obviously
Hi
My xmpp client [1] makes progress and works very well. But I have problems
with connection drops after about half an hour of device inactivity. I
tried to send xmpp pings to the server in regular intervalls to keep the
connection on. Then I tried to set the keepalive flag on the tcp socket.
Not