RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
2.02k stars 1.18k forks source link

Log in bug: Having to uninstall app on IOS #4431

Closed artutava closed 1 year ago

artutava commented 2 years ago

Description:

After logging in a workspace the chat works for a while. But it gets logged out randomly after some days, and when I try to recconect to the workspace, it starts loading forever. The only workaround is unninstalling and reinstalling the app.

Environment Information:

Steps to reproduce:

  1. Install rocket chat on ios and connect to a self hosted server
  2. Use it for a few days
  3. Once it apparently logs out, it still sends notifications, but when you click on the notifications or open the app it will start in log in screen (form to fill workspace url)
  4. After inserting the url it will load forever
  5. Reinstalling the app solves the issue until it happens again...
jeremyevans6 commented 2 years ago

This is a significant problem. Occurs on my UTD snap server + the current RN app. Has not been an issue for the past year with the same configuration, pointing to a recent release.

diegolmello commented 2 years ago

pointing to a recent release

@jeremyevans6 Recent release of mobile app or server?

ankar84 commented 2 years ago

Confirm that issue but only for iOS. Users make a lot of request about that, but only iOS users. I have no Android user request about that issue at all. Reinstall of application form AppStore fix that issue. Important details. We have KeyCloak as OAuth2 authentication system. Server version 4.8.2 RCRN app version 4.27

But it gets logged out randomly after some days

This is by design. Check Admin UI - Accounts. Default 90 days as I remember it clear. image

diegolmello commented 2 years ago

Thanks for pointing that out. We have some users on Open server reporting that on iOS as well. Do you recall if it would happen prior to 4.27?

ankar84 commented 2 years ago

Thanks for pointing that out. We have some users on Open server reporting that on iOS as well. Do you recall if it would happen prior to 4.27?

No. 4.27 was first version where users start complying about that problem. But we don't release every single version of our application, so if I remember right, previous our version before 4.27 was 4.23.

ankar84 commented 2 years ago

4.30 still have that bug

shevchukma commented 2 years ago

I confirm frequent complaints with this problem on IOS. Rocket Chat version 4.8.6, client 4.30

diegolmello commented 1 year ago

I'll leave it open. 4.33 is going to be released end of November. Let's keep an eye on it and please let us know in case it happens again.