Robomongo: how to connect Robo 3T through Repl

Created on 19 Aug 2017  ·  4Comments  ·  Source: Studio3T/robomongo

there is no any tutorials to tell how to connect to repl set.
i always get this error message below:

Cannot connect to replica set "repl_2"[localhost:28002].

A primary with different host name [127.0.0.1:28001] found in server side. Please double check if same host names and ports are used as in server's replica set configuration.
If same set name is used for different replica sets, this configuration is supported only on different instances of Robomongo. Please open a new Robomongo instance for each replica set which has the same set name.

Reason:
Different members found under same replica set name "test".

Most helpful comment

Same problem here, but I'm using different setup with ssh tunneling. Is it possible to make this primary check optional? Actually in my case members of replica set has names

            "name" : "mongo1:27017",
            "name" : "mongo2:27017",
            "name" : "mongo3:27017",

Now if I configure local /etc/hosts file to resolve into correct remote IP addresses this still wount connect with error:

Cannot connect to replica set "name"[mongo1:27017].

A primary with different host name [:27017] found in server side. Please double check if same host names and ports are used as in server's replica set configuration.
If same set name is used for different replica sets, this configuration is supported only on different instances of Robomongo. Please open a new Robomongo instance for each replica set which has the same set name.

Reason:
Different members found under same replica set name "repl".

All 4 comments

Same problem here, but I'm using different setup with ssh tunneling. Is it possible to make this primary check optional? Actually in my case members of replica set has names

            "name" : "mongo1:27017",
            "name" : "mongo2:27017",
            "name" : "mongo3:27017",

Now if I configure local /etc/hosts file to resolve into correct remote IP addresses this still wount connect with error:

Cannot connect to replica set "name"[mongo1:27017].

A primary with different host name [:27017] found in server side. Please double check if same host names and ports are used as in server's replica set configuration.
If same set name is used for different replica sets, this configuration is supported only on different instances of Robomongo. Please open a new Robomongo instance for each replica set which has the same set name.

Reason:
Different members found under same replica set name "repl".

+1

Cannot connect to replica set "docker-configRS"[192.168.115.132:27100].

A primary with different host name [mongodb-slave1:27101] found in server side. Please double check if same host names and ports are used as in server's replica set configuration.
If same set name is used for different replica sets, this configuration is supported only on different instances of Robomongo. Please open a new Robomongo instance for each replica set which has the same set name.

Reason:
Different members found under same replica set name "configRS".

also get same issue as @pva

Was this page helpful?
0 / 5 - 0 ratings