ansible-role-varnish icon indicating copy to clipboard operation
ansible-role-varnish copied to clipboard

User Session Times Out and doesn't reconnect

Open RushitK opened this issue 1 year ago • 1 comments

@TatankaConCube Specify the sample to which the issue belongs (use [x]): [x] Chat sample [] P2P Calls sample [] Conference Calls sample

Platform (use [x]) [x] Android [x] iOS [] macOS [] Windows [] Web [] Linux

Device info Manufacture: Apple/Samsung Model: All Modles OS version: Latest OS

Describe the bug:

Steps to Reproduce:

  1. Randomly, user logs out of the chat session (session expires)
  2. When trying to Reconnect, it just goes on and on and nothing happens further.
  3. We are using in the Flutter SDK

Logs: IllegalStateException: Need login to the chat before performing related operations

Actual result: The user logs out and the session cannot be established again. When the App is killed and opened again, it works. But can't kill the app every time an issue pops up.

Expected behaviour: A way to reconnect user session when not working.

Additional info Tried this: https://developers.connectycube.com/flutter/messaging?id=reconnection. This is not working.

Happy to help with any more details, if required.

RushitK avatar Dec 26 '23 14:12 RushitK

we need logs as much as possible to better understand what happens in your app.

Tried this: https://developers.connectycube.com/flutter/messaging?id=reconnection. This is not working.

what it means? do you try CubeChatConnection.instance.relogin(); but nothing happens? could you please provide the full log during perform this action?

TatankaConCube avatar Dec 28 '23 10:12 TatankaConCube