airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
16.25k stars 4.15k forks source link

[source-mongoDB] Self Hosted Cluster - Self Signed SSL Certificate Not working #43380

Open saivenkatrammallela opened 3 months ago

saivenkatrammallela commented 3 months ago

Connector Name

source-mongodb

Connector Version

1.4.2

What step the error happened?

Configuring a new connector

Relevant information

I want to setup a Mongo DB on an ec2 instance using docker. It is a single node replica set with TLS enabled through a self signed certificate. When I'm trying to setup a connection for this in Airbyte, I get an error pointing to an SSL/TLS handshake failure.

Is there any option to connect to the cluster without SSL/TLS enable. Even if I disable TLS on the source side and setup the connector, syncs fail at the end of the process due to a Handshake failure. Can I pass a custom certificate in Airbyte to authenticate the connection or disable the handshake?

Relevant log output

https://github.com/user-attachments/files/16310836/check_connection_source-failure-c97856b2-b965-4738-9695-8741956e1b41.txt

Contribute

theyueli commented 2 days ago

We will wait until mongodb-v2 gets migrated to the new CDK. The migration will bring SSL support for free. This is currently planned for Q1 2025.