im trying to use the MongoDB Connector for BI on my cloud instance which runs on compose.io. This is the command im using:
./mongosqld --mongo-uri mongodb://%host%:%port% --mongo-username %myuser% --mongo-password %mypassword% --auth --mongo-authenticationSource=admin --mongo-ssl
the connection is setup but i always receive this error message: [schemaDiscovery] unable to initialize schema: no servers available: server selection failed: context deadline exceeded
any idea?
If you run into this issue with mongosqld itself try adding "/?connect=direct" to the URI, i.e. "mongosqld --mongo-uri "mongodb://YOUR IP ADDRESS OF MONGODB/?connect=direct". I have a replica set of 1 and ran into that error.