I'm trying to setup mongo as a source in my local ...
# replication-troubleshooting
s
I'm trying to setup mongo as a source in my local environment. Mongo is listening on 127.0.0.1:27017 however still getting this error: "Message: Unable to execute any operation on the source!". Anyone got ideas on how to troubleshoot further?
I also see this logs in docker-compose when I try to setup the source:
Copy code
irbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Running integration: io.airbyte.integrations.source.mongodb.MongoDbSource                                                                                                       
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Command: CHECK                airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Integration config: Integratio
nConfig{command=CHECK, configPath='source_config.json', catalogPath='null', statePath='null'}
airbyte-worker                    | 2022-12-07 20:14:39 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):117 - Unknown keyword order - you sh
ould define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
airbyte-worker                    | 2022-12-07 20:14:39 WARN i.a.w.i.DefaultAirbyteStreamFactory(internalLog):117 - Unknown keyword airbyte_secret
 - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Cluster created with settings 
{hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Cluster description not yet av
ailable. Waiting for 30000 ms before timing out
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Opened connection [connectionI
d{localValue:2, serverValue:24}] to 127.0.0.1:27017
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Opened connection [connectionI
d{localValue:1, serverValue:23}] to 127.0.0.1:27017
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Monitor thread successfully co
nnected to server with description ServerDescription{address=127.0.0.1:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWire
Version=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=26011394}
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Opened connection [connectionI
d{localValue:3, serverValue:25}] to 127.0.0.1:27017
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - Completed integration: io.airb
yte.integrations.source.mongodb.MongoDbSource
airbyte-worker                    | 2022-12-07 20:14:39 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):120 - completed source: class io.air
byte.integrations.source.mongodb.MongoDbSource
airbyte-worker                    | 2022-12-07 20:14:40 INFO i.a.w.t.TemporalAttemptExecution(get):163 - Stopping cancellation check scheduling...
airbyte-worker                    | 2022-12-07 20:14:40 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- END CHECK -----
airbyte-worker                    | 2022-12-07 20:14:40 INFO i.a.c.i.LineGobbler(voidCall):114 - 
airbyte-server                    | 2022-12-07 20:14:40 INFO i.a.s.RequestLogger(filter):112 - REQ 172.18.0.7 POST 200 /api/v1/scheduler/sources/c
heck_connection - {"connectionConfiguration":"REDACTED","workspaceId":"6bfa3c7e-31d6-4e18-8237-9f3ebd9a6839","sourceDefinitionId":"b2e713cd-cc36-4
c0a-b5bd-b47cb8a0561e"}
airbyte-webapp                    | 172.18.0.10 - airbyte [07/Dec/2022:20:14:40 +0000] "POST /api/v1/scheduler/sources/check_connection HTTP/1.0" 
200 5898 "<http://localhost:8000/workspaces/6bfa3c7e-31d6-4e18-8237-9f3ebd9a6839/connections/new-connection>" "Mozilla/5.0 (X11; Linux x86_64) Apple
WebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "172.18.0.1"
airbyte-proxy                     | 172.18.0.1 - airbyte [07/Dec/2022:20:14:40 +0000] "POST /api/v1/scheduler/sources/check_connection HTTP/1.1" 2
00 5898 "<http://localhost:8000/workspaces/6bfa3c7e-31d6-4e18-8237-9f3ebd9a6839/connections/new-connection>" "Mozilla/5.0 (X11; Linux x86_64) AppleW
the logs make it seem like it all worked fine but UI is saying otherwise
n
Hi Sam! Let me try to setup mongo locally on machine and see if I run into the same thing, I'll get back to you in a bit!
👍 1
s
were you able to get mongo to work? @Nataly Merezhuk (Airbyte)
u
Hi Sam! Apologies for the delay and thanks for your patience! I've run into a different error, so working on resolving it. Haven't been able to replicate the one you got yet!