Summary
Error encountered while connecting MongoDB as a source in Airbyte
Question
Hi All,
I’m facing issue while connecting mongodb as a source.
Airbyte version - 0.44.5
MongoDb source version - 1.4.3
2024-07-31 13:58:17 INFO i.a.w.t.TemporalAttemptExecution(get):141 - Executing worker wrapper. Airbyte version: 0.44.5
2024-07-31 13:58:17 INFO i.a.a.c.AirbyteApiClient(retryWithJitterThrows):222 - Attempt 0 to save workflow id for cancellation
2024-07-31 13:58:17 INFO i.a.c.EnvConfigs(getEnvOrDefault):1222 - Using default value for environment variable SIDECAR_KUBE_CPU_LIMIT: '2.0'
2024-07-31 13:58:17 INFO i.a.c.EnvConfigs(getEnvOrDefault):1222 - Using default value for environment variable SOCAT_KUBE_CPU_LIMIT: '2.0'
2024-07-31 13:58:17 INFO i.a.c.EnvConfigs(getEnvOrDefault):1222 - Using default value for environment variable SIDECAR_KUBE_CPU_REQUEST: '0.1'
2024-07-31 13:58:17 INFO i.a.c.EnvConfigs(getEnvOrDefault):1222 - Using default value for environment variable SOCAT_KUBE_CPU_REQUEST: '0.1'
2024-07-31 13:58:17 INFO i.a.c.i.LineGobbler(voidCall):149 -
2024-07-31 13:58:17 INFO i.a.c.EnvConfigs(getEnvOrDefault):1222 - Using default value for environment variable LAUNCHDARKLY_KEY: ''
2024-07-31 13:58:17 INFO i.a.c.i.LineGobbler(voidCall):149 - ----- START CHECK -----
2024-07-31 13:58:17 INFO i.a.c.EnvConfigs(getEnvOrDefault):1222 - Using default value for environment variable FEATURE_FLAG_CLIENT: ''
2024-07-31 13:58:17 INFO i.a.c.i.LineGobbler(voidCall):149 -
2024-07-31 13:58:17 INFO i.a.c.i.LineGobbler(voidCall):149 - Checking if airbyte/source-mongodb-v2:1.4.3 exists...
2024-07-31 13:58:17 INFO i.a.c.i.LineGobbler(voidCall):149 - airbyte/source-mongodb-v2:1.4.3 was found locally.
2024-07-31 13:58:17 INFO i.a.w.p.DockerProcessFactory(create):139 - Creating docker container = source-mongodb-v2-check-26ebe79e-1b2b-4856-a048-fd4139b507ed-0-yxele with resources io.airbyte.config.ResourceRequirements@67a8c015[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=,additionalProperties={}] and allowedHosts null
2024-07-31 13:58:17 INFO i.a.w.p.DockerProcessFactory(create):192 - Preparing command: docker run --rm --init -i -w /data/26ebe79e-1b2b-4856-a048-fd4139b507ed/0 --log-driver none --name source-mongodb-v2-check-26ebe79e-1b2b-4856-a048-fd4139b507ed-0-yxele --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e WORKER_CONNECTOR_IMAGE=airbyte/source-mongodb-v2:1.4.3 -e AUTO_DETECT_SCHEMA=true -e LAUNCHDARKLY_KEY= -e SOCAT_KUBE_CPU_REQUEST=0.1 -e SOCAT_KUBE_CPU_LIMIT=2.0 -e USE_STREAM_CAPABLE_STATE=true -e FIELD_SELECTION_WORKSPACES= -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e APPLY_FIELD_SELECTION=false -e WORKER_JOB_ATTEMPT=0 -e OTEL_COLLECTOR_ENDPOINT=<http://host.docker.internal:4317> -e FEATURE_FLAG_CLIENT= -e AIRBYTE_VERSION=0.44.5 -e WORKER_JOB_ID=26ebe79e-1b2b-4856-a048-fd4139b507ed airbyte/source-mongodb-v2:1.4.3 check --config source_config.json
2024-07-31 13:58:17 INFO i.a.w.i.VersionedAirbyteStreamFactory(create):181 - Reading messages from protocol version 0.2.0
2024-07-31 13:58:18 INFO i.a.w.i.VersionedAirbyteStreamFactory(internalLog):317 - INFO main i.a.i.s.m.MongoDbSource(main):51 starting source: class io.airbyte.integrations.source.mongodb.MongoDbSource
2024-07-31 13:58:19 INFO i.a.w.i.VersionedAirbyteStreamFactory(internalLog):317 - INFO main i.a.c.i.b.IntegrationCliParser$Companion(parseOptions):144 integration args: {check=null, config=source_config.json}
2024-07-31 13:58:19 INFO i.a.w.i.VersionedAirbyteStreamFactory(internalLog):317 - INFO main i.a.c.i.b.IntegrationRunner(runInternal):124 Running integration: io.airbyte.integrations.source.mongodb.MongoDbSource
2024-07-31 13:58:19 INFO i.a.w.i.VersionedAirbyteStreamFactory(internalLog):317 - INFO main i.a.c.i.b.IntegrationRunner(runInternal):125 Command: CHECK
2024-07-31 13:58:19 INFO i.a.w.i.VersionedAirbyteStreamFactory(internalLog):317 - INFO main i.a.c.i.b.IntegrationRunner(runInternal):126 Integration config: IntegrationConfig{command=CHECK, configPath='source_config.json', catalogPath='null', statePath='null'}```
<br>
---
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1722490814322449) if you want
to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
["mongodb-source", "airbyte-version-0.44.5", "source-mongodb-v2-1.4.3", "docker", "integration-error"]
</sub>