realm-browser-osx icon indicating copy to clipboard operation
realm-browser-osx copied to clipboard

Browser crashes if trying to open encrypted realm while app is running

Open jniemin opened this issue 8 years ago • 2 comments

I'm running react-native project and if I try to access encrypted Realm with browser, the browser just crash before asking encryption key. Realm without encryption opens correctly while running app. If I stop my app and then connect to encrypted Realm and start the app again it works correctly. So only breaks if trying to open the encrypted Realm while app is running

jniemin avatar Jul 08 '16 09:07 jniemin

Thanks for reporting this issue, @jniemin! I was also able to reproduce it. Encrypted realms can only be opened in one process at a time, so there is no way to open realm in Browser while your app is running (@tgoyne, am I right?).

But there should be an error message instead of a crash, so we will try to fix this.

stel avatar Jul 12 '16 09:07 stel

Opening an encrypted realm in two processes would be a real improvement! I had to switch back to unencrypted realms because of this issue.

vonox7 avatar Aug 09 '16 18:08 vonox7