Hello I’m trying to connect a DigitalOcean Managed...
# replication-troubleshooting
s
Hello I’m trying to connect a DigitalOcean Managed MongoDB which has a DNS Seed List connection string, I have tried: • connecting with standalone by passing the hostname of the first server in the replica set • connecting with Replica Set by passing the hostnames (I only have 1 server in the replica set, so only one server) • connecting with MongoDB Atlas and just providing hostname/dbname?tls=true&authSource=admin&replicaSet=db-mongodb-shared
On all 3 scenarios I test connection and it works
Then I reach “We are fetching the schema of your data source.”
Screenshot 2022-10-25 at 17.57.36.png
On all 3 scenarios the same error happens
I tried with
admin
database too, same error
I have set the authSource=admin from day 1 but it just seems to ignore it - is there a way to pass the connection string directly instead of using these forms? then I could control how this is read from the inputs to the server
u
Hi! It looks like right now the MongoDB source connector only accepts the Standard Connection String Format: https://www.mongodb.com/docs/manual/reference/connection-string/?_ga=2.166037693.2064241928.1654681455-80498819.1654681453#standard-connection-string-format Could you please open a connection request for this in GitHub?
s
@Nataly Merezhuk (Airbyte) I see here it supports other methods too https://docs.airbyte.com/integrations/sources/mongodb-v2/
My mongodb instance is Replica Set
and works like MongoDB Atlas
u
I see! Apologies, I misread a piece of documentation. It looks like this is an issue with the MongoDB user. Just to double check, did you follow the docs when creating the user for this connection? https://docs.airbyte.com/integrations/sources/mongodb-v2#create-users Here's another issue that was dealing with this: https://github.com/airbytehq/airbyte/issues/8752#issuecomment-1019887350
s
Hmm ok I’ll have a look over the next days and get back to you on that