Connection Issue with Websocket

Balakumar M
Added almost 3 years ago

We are implementing webchat utilising Strophe.js + Tigase 7.0.0 over WebSocket. Things working perfectly in most of the cases, but when we logout and login immediately, sometimes after successful login stream_close is triggered from below piece of code in and kicked out of web socket session. Can you advise on this?


                    Packet command = Command.STREAM_CLOSED_UPDATE.getPacket(packet.getStanzaTo(),

                            packet.getPacketFrom(), StanzaType.set, UUID.randomUUID().toString());



                    if (log.isLoggable(Level.FINE)) {


                                "Sending a command to close the remote session for non-existen {0} connection: {1}",

                                new Object[] { getName(),

                                command.toStringSecure() });


Replies (1)

Added by Wojciech Kapcia TigaseTeam almost 3 years ago

Can you try reproducing this in the latest 7.1.0 version of the Tigase?