Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HosseinDevPro opened this issue Dec 16, 2019 · 0 comments
Open

Comments

@HosseinDevPro
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant