Skip to content

After the connection close, the reconnect method dosn't work ! #11

Open
@HosseinDevPro

Description

@HosseinDevPro

Hello
I implement the library and use JWS for connection type, when the connection closed by server, we call the reconnect method but it dose not work .

when the server close the connection we receive this Logs:
12-16 15:42:31.076 32301-32380/ir.aves.smarthome D/WebSocketsConnectionProvider: onClose: code=1006 reason= remote=true 12-16 15:42:31.076 32301-32380/ir.aves.smarthome D/AbstractConnectionProvider: Emit lifecycle event: CLOSED 12-16 15:42:31.076 32301-32380/ir.aves.smarthome D/ir.aves.smarthome.network.connection.stomp.StompManager: Stomp connection closed

and also when we try to reconnect after it, we receive this Log:
12-16 15:42:37.970 32301-32403/ir.aves.smarthome D/WebSocketsConnectionProvider: onClose: code=-1 reason= remote=false 12-16 15:42:37.971 32301-32403/ir.aves.smarthome D/AbstractConnectionProvider: Emit lifecycle event: CLOSED 12-16 15:42:37.971 32301-32403/ir.aves.smarthome D/ir.aves.smarthome.network.connection.stomp.StompManager: Stomp connection closed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions