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

User Session Times Out and doesn't reconnect #322

Open
RushitK opened this issue Dec 26, 2023 · 1 comment
Open

User Session Times Out and doesn't reconnect #322

RushitK opened this issue Dec 26, 2023 · 1 comment

Comments

@RushitK
Copy link

RushitK commented Dec 26, 2023

@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.

@TatankaConCube
Copy link
Contributor

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?

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

2 participants