hi team @airbyte am getting error while working w...
# replication-troubleshooting
a
hi team @airbyte am getting error while working with mongo connector The connection tests failed. State code: 18; Message: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName=‘itachi’, source=‘admin’, password=<hidden>, mechanismProperties=<hidden>} logs : 2023-02-11 130837 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):167 - completed source: class io.airbyte.integrations.source.mongodb.MongoDbSource 2023-02-11 130838 INFO i.a.w.g.DefaultCheckConnectionWorker(run):114 - Check connection job received output: io.airbyte.config.StandardCheckConnectionOutput@5515c9e[status=failed,message=State code: 18; Message: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName=‘itachi’, source=‘admin’, password=<hidden>, mechanismProperties=<hidden>}] 2023-02-11 130838 INFO i.a.w.t.TemporalAttemptExecution(get):163 - Stopping cancellation check scheduling... 2023-02-11 130838 INFO i.a.c.i.LineGobbler(voidCall):114 - 2023-02-11 130838 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- END CHECK ----- 2023-02-11 130838 INFO i.a.c.i.LineGobbler(voidCall):114 -
it is the issue with newely created docker image with no changes in code followed airbyte docs for testing the docker image locally
m
Hello @Ankit Kumar this is happening trying to setup a new Mongo Database source? Are you trying to connect to a local mongo container or one in cloud?
a
Hi team airbyte here is a PR https://github.com/airbytehq/airbyte/pull/23064 with the changes : • Adding Max_Level so that the user can configure how much depth the user has to flatten the data for warehouses query. • For extensive data having nested documents the Mongo connector takes a lot of time and Memory. • Use the mongo cursor to find keys so that all collections will not be taken in RAM at once saving RAM. • Added step for also considering empty string key. maintainers have a look
u
Thanks for the contribution, I ran tests and request the connector team some help to review it.