(Mac) Realm Object Server Login Failed: Email/Password Incorrect

347 views Asked by At

I installed Realm on computer1 and ran the Realm Object Server (creating a new admin user) then installed and ran Realm Object Server on computer2 attempting to create the same admin user I created on computer1. It immediately went to the login page where I assumed it had recognized my credentials from computer1 so I then filled in the same credentials and tapped Login. For some reason this alert is now showing on the screen:

Login Failed: Email/Password combination incorrect.

In the server logs it states:

warn: auth.password: Handle request failed with: InvalidCredentials: The provided credentials are invalid.: Given account: [email protected]

I then restarted the Realm Server and attempted to create a different admin user with different credentials, after filling in the credentials and tap "submit" I am immediately taken to the login page where it gives the alert now saying:

An error occured while setting up your account.

What is also interesting, is that after trying to create that new account I don't receive any information in the logs after tapping submit.

1

There are 1 answers

3
TiM On

It's not possible to run two copies of the Realm Object Server on multiple computers and share user accounts between them at the moment. Those will be two wholly separate and independent copies of the Realm Object Server.

Unless you registered two separate copies of the same admin account, the second login attempt will fail because the account doesn't exist in that instance.

We're working on adding additional scaling capabilities to the Realm Mobile Platform. Thanks for filing an issue on the Mobile Platform GitHub; we'll take it into consideration.