Summary
Error message indicates a timeout issue while trying to connect to the MongoDB source. The SSL handshake seems to be failing. Need to troubleshoot the SSL configuration.
Question
Hi All.
I am looking for help to connect Mongo DB to Snowflake via Airbyte. We just started using Airbyte open source and for the first time we are setting up Mongodb which is self-hosted. All the test cases are passed when we give the creds and also streams are getting reflected but when we start syncing then we get this error
“2024-03-20 12:47:08 source > INFO pool-2-thread-1 i.a.c.i.d.i.DebeziumRecordPublisher(lambda$start$1):68 Connector configuration is not valid. Unable to connect: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=xx.xxx.xxx.xx:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketWriteException: Exception sending message}, caused by {http://javax.net|javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake}, caused by {java.io.EOFException: SSL peer shut down incorrectly}}, {address=xx.xx.xxx.x:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketWriteException: Exception sending message}, caused by {http://javax.net|javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake}, caused by {java.io.EOFException: SSL peer shut down incorrectly}}, {address=http://xx.xxx.xxx.xxx:27017|xx.xxx.xxx.xxx:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketWriteException: Exception sending message}, caused by {http://javax.net|javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake}, caused by {java.io.EOFException: SSL peer shut down incorrectly}}]”
Any help will be deeply appreciated. Happy to provide any other info if required.
Thank you
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.