Closed zhandosm closed 2 years ago
Thanks for reporting this bug. We are trying to reproduce the issue, is there any special situation about the login? Is it the firs t logging to the app? Has any logged out any user from the app? Was the app on the background while logging in?
Thanks for reporting this bug. We are trying to reproduce the issue, is there any special situation about the login?
Is it the firs t logging to the app?
Has any logged out any user from the app?
Was the app on the background while logging in?
With the same set of settings, the issue stopped appearing in the next days. Ever since then we were unable to re-create the case, unfortunately.
Possibly, a simultaneous login from two devices with the same partition key and the way sessions were handled could be the reason.
We've tried it, but the issue didn't appear anymore.
thanks @zhandosm. We will close this for now, but not hesitate to create a new issue in case you see this again. Thanks!
How frequently does the bug occur?
All the time
Description
When I try to initiate Realm instance on an android device (Kotlin), on the user authentication stage the app gets stuck in an infinite loop trying to request a session.
I haven't found any workarounds or solutions yet.
Note: Due to NDA concerns, I can't post the source code, but I've listed detailed steps to re-create the problem
Stacktrace & log output
Can you reproduce the bug?
Yes, sometimes
Reproduction Steps
Steps
Backend setup
App (Client-Side)
Version
10.8.1
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
Android 11 (30)
Build environment
Android Studio version: Android Studio Arctic Fox | 2020.3.1 Patch 1 Android Build Tools version: 30.0.2 Gradle version: 4.2.2