Project

General

Profile

Connection Issue with Websocket

Balakumar M
Added over 2 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 ClientConnectionManager.java 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)) {

                        log.log(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 over 2 years ago

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

    (1-1/1)