Connecting dbKola from windows 10 to mongoDB replica set on Centos 7

Joseph Dongmo shared this question 4 months ago
Need Answer

Hello,


I am having difficulty getting dbkoda installed on windows 10 pro to connect to Mongodb 3.2 replica set on CentOS Linux release 7.4.1708 .(Core).

rs0:PRIMARY> db.version()

3.2.7


The "Test" connection is successful but when I tried to "Connect" to Mongodb replica set, I got the bellow error in the attachment. I am also including the config.yml file. Any suggestion please?


Thank you,

Comments (9)

photo
1

Hi Joseph,


From the logs it appears that dbKoda is unable to connect to your Mongo Replica set correctly, unfortunately it looks like this is a known issue with some mongo tools (see ticket below):

https://github.com/Automattic/mongoose/issues/3945

Possibly this is due to version incompatibility, we plan to upgrade the version of Mongo dbKoda is using as part of our 1.1 release. It's possible this driver version upgrade will fix your issue.

I'll let you know when version 1.1 of dbKoda is available, you can also subscribe on our website to make sure you find out.


Kind Regards,

Michael from dbKoda.

photo
1

Hi Michael,

Thank you for your prompt response. Looking forward for dbkoda version 1.1.

Regards,

Joseph

On Sun, Aug 19, 2018 at 8:23 PM dbkoda <support@dbkoda.useresponse.com> wrote:

photo
1

Hey Joseph,


We've upgraded the driver version that dbKoda uses so hopefully this can fix your issue, you can access our pre-release build from here


https://github.com/SouthbankSoftware/dbkoda/releases/tag/1.1rc8


Please note this build has not been fully tested and so you may run in to some quirks, don't hesitate to let us know if you have any other issues / queries :)


Kind Regards,

Michael from dbKoda.

photo
1

Thank you for getting back to me with an update.

I have dbKoda install on a windows machine trying to access a mongodb on a  Centos7. I read the dbkoda-1.1rc8\README.md and not sure if I need to follow the instructions in there with an existing installation of dbKoda.

Thank you again

Joseph

On Wed, Aug 22, 2018 at 1:37 AM dbkoda <support@dbkoda.useresponse.com> wrote:

photo
1

Hey Joseph,


Sorry looks like I gave you the wrong link there.

Try this one:


https://github.com/SouthbankSoftware/dbkoda/releases/tag/1.1rc9


You can just download the App directly there and install it as per usual.


Kind Regards,

Michael from dbKoda.

photo
1

Hi Michael,

Thank you for the correct link. I installed the new version and is able to connect to a standalone Mongo on Centos . I wanted to point out one minor discrepancy. When I choose "Test" button, I received an authentication failure message; but choosing "Connect" actually connect me to Mongo on the remote host.

Regarding connecting to a replica set, I tried connecting to a replica set on Azure and on premise and received  this message in both cases:"Timeout of 60000ms exceeded calling mongo-connection::create".

Please can you point me to what I doing wrong? Attached is my configuration via GUI and the  bundle logs.

Thank you,

Joseph

On Sun, Aug 26, 2018 at 6:30 PM dbkoda <support@dbkoda.useresponse.com> wrote:

photo
1

Hi Joseph,

It's not immediately obvious from the support bundle what the exact problem is. Would you be able to compare the URI generated by dbKoda with the URI you would use to connect from the shell? We might be missing something :-(

As an alternative to the cluster connection panel, you can enter a URI directly into URI field at the bottom of the connection screen. I wonder if you do that does the connection complete?


Thanks,

Guy from dbKoda

photo
1

Hi Guy,

I am able to connect from the shell but still having the same issue after entering the same connection string into the URI field..I will play with the profile setting a little bit more. I am not sure what I am doing wrong.

8cdfdfbaa4a8d6e7ae17ea32017aaecb

Thank you for getting back to me right away.

Joseph

On Wed, Sep 5, 2018 at 7:28 PM dbkoda <support@dbkoda.useresponse.com> wrote:

photo
1

Hi Guy,

I just wanted to  reported back that I am able to connect to the replica set  now. All I did was drop the mongo user and recreate it., then install the latest dbkoda from the website. 

I am still on the learning side of the tool but very happy with the potential of the features available.

Thank you for you help.

Joseph

On Wed, Sep 5, 2018 at 7:28 PM dbkoda <support@dbkoda.useresponse.com> wrote: