Hello, I need to configure the connection to docum...
# replication-troubleshooting
w
Hello, I need to configure the connection to documentDb. I'm connecting to mongoDb driver. Error:
State code: -3; Message: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=<http://docdb-2021-05-05-23-22-09.cluster-XXXXXXX.docdb.amazonaws.com:27017|docdb-2021-05-05-23-22-09.cluster-XXXXXXX.docdb.amazonaws.com:27017>, type=UNKNOWN, state=CONNECTING , exception={com.mongodb.MongoSocketWriteException: Exception sending message}, caused by {<http://javax.net|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}}]
I have added in .Env
LOCAL_ROOT=/tmp/airbyte_local
LOCAL_DOCKER_MOUNT=/tmp/airbyte_local JAVA_OPTS="-Xms3G -Xmx3G -Djavax.net.ssl.trustStore=/tmp/airbyte_local/.keystore -Djavax.net.ssl.trustStorePassword=changeit"
and i have added in docker-compose.yaml
what is my mistake?
u
Hi Wendell, is the DocumentDb TLS enabled? We have an issue open for that, it hasn't been resolved yet unfortunately: https://github.com/airbytehq/airbyte/issues/10388