question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[React Native] Can't connect to Realm Server.

See original GitHub issue

Hey Guys,

I’ve been trying to get the preview release of 0.15.5-rmp-beta.1 working with my React Native application but running into some trouble.

Would be great to get some help on the issue and could be beneficial to others trying to get it to work.

Here are my steps so far:

  1. Downloaded the Realm Object Server for Mac.

  2. Launched start-object-server.command.

  3. Created an admin user.

  4. Tried to connect and create a Realm with the following:

    var realm;
    Realm.Sync.User.login('http://127.0.0.1:9080/', 'test@one.com', 'MyPassword', (error, user) => {
      realm = new Realm({
        sync: {
          user: user,
          url: 'realm://127.0.0.1:9080/~/realm1',
        },
        schema: [MySchema],
        schemaVersion: 1
      });
    });
    

Any guidance on how to get this working would be great.

Thanks!

Josh

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
joshuapintercommented, Jan 22, 2017

Okay, let me try that and let you know how it goes. Thanks for your help with this.

1reaction
joshuapintercommented, Feb 4, 2017

@kristiandupont Yes I did. I decided to hold off until the official release, which was a few days ago. I then spent this morning giving it another try and it worked liked a charm.

I’ll let you know if I run into trouble again but I’ll close this off for now.

Many Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native link fails on realm - Stack Overflow
react -native link fails on realm - Stack Overflow. Stack Overflow for Teams – Start collaborating and sharing organizational knowledge.
Read more >
Quick Start with Sync - React Native SDK — Realm - MongoDB
Overview. This page contains information to quickly get Realm Database integrated into your app. If you haven't already, install the Realm React Native...
Read more >
Using Hermes - React Native
Once you know where the Metro server is listening, you can connect with Chrome using the following steps: Navigate to chrome://inspect in a ......
Read more >
Build an Offline-First React Native Mobile App with Expo and ...
Change the connection method to the Developer Tools Server ; Get a link to our app. (More on this later when we talk...
Read more >
Getting started with Realm for React Native | by mbvissers.eth
Note: I have had some issues in the past with installing Realm. This could be because of an outdated version of React Native...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found