<@U04S8PLJWMT> i setup mongodb destination connect...
# ask-ai
p
@kapa.ai i setup mongodb destination connection version 0.1.9 and 0.2.0, both version return this error. this connect via SSH proxy. 2025-10-06 115504 INFO 2025-10-06 115504 info 2025-10-06 115504 INFO 2025-10-06 115504 info Connector exited, processing output 2025-10-06 115504 INFO 2025-10-06 115504 info Output file jobOutput.json found 2025-10-06 115504 INFO 2025-10-06 115504 info ----- START CHECK ----- 2025-10-06 115504 INFO 2025-10-06 115504 info 2025-10-06 115504 INFO 2025-10-06 115504 info Connector exited with exit code 0 2025-10-06 115504 INFO 2025-10-06 115504 info Reading messages from protocol version 0.2.0 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.i.d.m.MongodbDestination(main):62 starting destination: class io.airbyte.integrations.destination.mongodb.MongodbDestination 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.c.i.b.IntegrationCliParser(parseOptions):126 integration args: {check=null, config=/config/connectionConfiguration.json} 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.c.i.b.IntegrationRunner(runInternal):132 Running integration: io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.c.i.b.IntegrationRunner(runInternal):133 Command: CHECK 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.c.i.b.IntegrationRunner(runInternal):134 Integration config: IntegrationConfig{command=CHECK, configPath='/config/connectionConfiguration.json', catalogPath='null', statePath='null'} 2025-10-06 115504 WARN 2025-10-06 115504 warn WARN c.n.s.JsonMetaSchema(newValidator):278 Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2025-10-06 115504 WARN 2025-10-06 115504 warn WARN c.n.s.JsonMetaSchema(newValidator):278 Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2025-10-06 115504 WARN 2025-10-06 115504 warn WARN c.n.s.JsonMetaSchema(newValidator):278 Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.c.i.b.s.SshTunnel(getInstance):252 Starting connection with method: SSH_KEY_AUTH 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.c.i.b.IntegrationRunner(runInternal):231 Completed integration: io.airbyte.cdk.integrations.base.ssh.SshWrappedDestination 2025-10-06 115504 INFO 2025-10-06 115504 info INFO i.a.i.d.m.MongodbDestination(main):64 completed destination: class io.airbyte.integrations.destination.mongodb.MongodbDestination 2025-10-06 115504 INFO 2025-10-06 115504 info Checking for optional control message... 2025-10-06 115504 INFO 2025-10-06 115504 info Optional control message not found. Skipping... 2025-10-06 115504 INFO 2025-10-06 115504 info Writing output of 8b746512-8c2e-6ac1-4adc-b59faafd473c_fb3f5bed-1120-4e3d-bc35-0dce5f9931df_0_check to the doc store 2025-10-06 115505 INFO 2025-10-06 115505 info Marking workload 8b746512-8c2e-6ac1-4adc-b59faafd473c_fb3f5bed-1120-4e3d-bc35-0dce5f9931df_0_check as successful 2025-10-06 115505 INFO 2025-10-06 115505 info Deliberately exiting process with code 0. 2025-10-06 115505 INFO 2025-10-06 115505 info 2025-10-06 115505 INFO 2025-10-06 115505 info ----- END CHECK ----- 2025-10-06 115505 INFO 2025-10-06 115505 info
k
Based on the information in your logs and the knowledge sources, your Airbyte MongoDB destination connection (versions 0.1.9 and 0.2.0) via SSH proxy appears to complete the check with exit code 0, which typically indicates success. However, you mention that you are still encountering an error. From the logs you provided, there is no explicit error message or stack trace—just normal INFO and WARN logs, and the process exits with code 0. This is consistent with some reports in the knowledge sources where the connection check appears to succeed in the logs, but the Airbyte UI or workflow still reports a failure or "internal server error" without a clear explanation. For example, in [this issue](https://github.com/airbytehq/airbyte/issues/23265), the logs show a successful connection, but the UI reports an error, possibly due to a disconnect between the connector's output and the platform's error handling. Additionally, there are known issues with the MongoDB destination connector (especially around versions 0.1.9 and 0.2.0) where users encounter errors such as "Format specifier '%s'" or unexplained failures, particularly when using SSH tunnels or connecting to standalone MongoDB instances. These issues are documented in several GitHub issues and may not always be visible in the logs you see, but can still cause the connection to fail in the Airbyte UI or backend process, even if the connector itself exits cleanly [source](https://github.com/airbytehq/airbyte/issues/30504), [source](https://github.com/airbytehq/airbyte/issues/35621), [source](https://github.com/airbytehq/airbyte/issues/35440). What you can try: - Double-check your MongoDB connection configuration, especially the SSH tunnel settings, as described in the [official documentation](https://docs.airbyte.com/integrations/destinations/mongodb#getting-started-airbyte-open-source). - If you are not seeing a clear error in the logs, but the UI reports a failure, it may be a bug in how Airbyte interprets the connector's output. - Some users have reported that downgrading to version 0.1.9 temporarily resolves certain connection issues, but this is not guaranteed for all environments [source](https://github.com/airbytehq/airbyte/issues/30504). - If you encounter a "Format specifier '%s'" error, this is a known bug in the connector's connection string handling logic, and there is currently no official fix in the knowledge sources. Summary: Your logs do not show a specific error, but there are known issues with the MongoDB destination connector in the versions you are using, especially with SSH tunnels. If the UI still reports a failure despite exit code 0, it is likely due to one of these unresolved bugs. If possible, try a different connector version, review your configuration, and monitor the Airbyte GitHub for updates or fixes. If you need more targeted troubleshooting, please provide the exact error message from the Airbyte UI or backend, as the logs alone do not indicate a failure.