I installed the mongo BI connector on my macbook laptop and getting the following error connecting to the cluster
____________________________LOG FILE_______________________________
2022-04-20T17:08:42.591-0400 I CONTROL [initandlisten] mongosqld starting: version=v2.14.4 pid=4283 host=MLrbqy24J70MD6M
2022-04-20T17:08:42.591-0400 I CONTROL [initandlisten] git version: df0cf0b57e9aac0ab6d545eee0d4451d11d0c6e9
2022-04-20T17:08:42.591-0400 I CONTROL [initandlisten] OpenSSL version OpenSSL 1.1.1n 15 Mar 2022 (built with OpenSSL 1.1.1k 25 Mar 2021)
2022-04-20T17:08:42.591-0400 I CONTROL [initandlisten] options: {config: "/usr/local/etc/mongosql.conf", systemLog: {logAppend: true, path: "/usr/local/var/log/mongodb/mongosql.log", verbosity: 1}, net: {bindIp: [127.0.1 192.168.0.248 0.0.0.0]}, security: {enabled: true}, mongodb: {net: {uri: "marty-dev-cluster.cqjnr.mongodb.net:27015", auth: {username: "marty_dev_user", password: "<protected>", source: "martyDev"}}}}
2022-04-20T17:08:42.599-0400 I NETWORK [initandlisten] waiting for connections at 127.0.0.1:3307
2022-04-20T17:08:42.599-0400 I NETWORK [initandlisten] waiting for connections at 192.168.0.248:3307
2022-04-20T17:08:42.599-0400 I NETWORK [initandlisten] waiting for connections at [::]:3307
2022-04-20T17:08:42.599-0400 I NETWORK [initandlisten] waiting for connections at /tmp/mysql.sock
2022-04-20T17:08:42.600-0400 I SCHEMA [manager] attempting to initialize schema
2022-04-20T17:08:42.600-0400 I SCHEMA [manager] sampling schema
2022-04-20T17:08:47.601-0400 E NETWORK [initandlisten] unable to load MongoDB information: failed to create admin session for loading server cluster information: unable to execute command: server selection error: context deadline exceeded, current topology: { Type: Unknown, Servers: [{ Addr: marty-dev-cluster.cqjnr.mongodb.net:27015, Type: Unknown, Average RTT: 0, Last error: connection() error occured during connection handshake: dial tcp: lookup marty-dev-cluster.cqjnr.mongodb.net: no such host }, ] }
2022-04-20T17:08:47.601-0400 W SCHEMA [manager] error initializing schema: unable to execute command: server selection error: context deadline exceeded, current topology: { Type: Unknown, Servers: [{ Addr: marty-dev-cluster.cqjnr.mongodb.net:27015, Type: Unknown, Average RTT: 0, Last error: connection() error occured during connection handshake: dial tcp: lookup marty-dev-cluster.cqjnr.mongodb.net: no such host }, ] }
Also I tried creating a schema with the following command
mongodrdl --host marty-dev-cluster.cqjnr.mongodb.net:27017 --username xxxxxx --password yyyyy–db martyDev --out martySchema.drdl
_________________________________OUTPUT____________________________________
Failed: unable to execute command: server selection error: context deadline exceeded, current topology: { Type: Single, Servers: [{ Addr: marty-dev-cluster.cqjnr.mongodb.net:27017, Type: Unknown, Average RTT: 0, Last error: connection() error occured during connection handshake: dial tcp: lookup marty-dev-cluster.cqjnr.mongodb.net: no such host }, ] }