I'm trying to make a connection with MongoDB as so...
# replication-troubleshooting
g
I'm trying to make a connection with MongoDB as source. This is the following error. State code: -3; Message: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=10.46.56.235:27000, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketWriteException: Exception sending message}, caused by {javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target}, caused by {sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target}, caused by {sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target}}] Can someone please let me know, how to resolve this.
n
I ran into a similar issue when I tried connecting to a redshift cluster that my network won’t be able to connect too. In my case, it’s because the server was behind another jump server. You gotta figure out if your mongo server is reachable.
g
Mongo Server is reachable inside the server, while using the mongodb-compass, but it not able to reach airbyte which is running in the same server.
when accessing the mongodb from mongo compass, I'm using the .pem file, is there a way that it can be used for the same to access it in the airbyte
n
I am not sure. There’s an open github issue on that https://github.com/airbytehq/airbyte/issues/7379. Will the alternative they have proposed work for you?
g
The above thread didn't work for me
n
Let’s see if someone else has run into the same issue and see whether they can provide us with alternate solutions
g
ok
n
Hi Gowrav, Narendran pointed out the correct issue: https://github.com/airbytehq/airbyte/issues/7379 Unfortunately while this issue is not implemented, you'll need to use a workaround such as using a proxy to get access to mongo db without a pem file.
g
Thank you.
r
guys any update