Quantcast
Channel: Ignite Realtime : All Content - Openfire Plugins
Viewing all articles
Browse latest Browse all 488

Openfire Websocket Plugin do not send XMPP ping to idle clients

$
0
0

Hi, i recently added the websocket plugin to my openfire instance.

communication via xmpp works fine and quick,

i have usually javascript clients from browsers.

 

the issue i found is that on network disconnections, for example when a mobile switch to wifi or when the cable is pulled off,
the client still remains in openfire and is never cleaned up;
this happen even if i set a timeout(i.e. 60 seconds) in the idle connection policy and an xmpp ping to be sent;

indeed the ping is never sent, so openfire never checks if client connections are active;

 

note that this works fine with http bind connections.

 

with this behaviour the websocket plugin is quite useless because after some time there are a lot of client connections that are lost

but appear to be active, and this create confusion in a chat application.

 

any suggestions?
is it a bug?


Viewing all articles
Browse latest Browse all 488

Trending Articles