Jags (Kloud.io)
01/27/2022, 11:42 AMTimed out after 30000 ms while waiting for a server that matches com.mongodb.client.internal.MongoClientDelegate$1@2575f671. Client view of cluster state is {type=REPLICA_SET, servers=[{address=<http://dds-pub.mongodb.ap-southeast-5.rds.aliyuncs.com:3717|dds-pub.mongodb.ap-southeast-5.rds.aliyuncs.com:3717>, 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}
Can you help me how to fix this?fe wielemaker
01/27/2022, 2:01 PMfe wielemaker
01/27/2022, 2:08 PMfe wielemaker
01/27/2022, 2:16 PMfe wielemaker
01/27/2022, 2:21 PMfe wielemaker
01/27/2022, 2:22 PMfe wielemaker
01/27/2022, 2:22 PMfe wielemaker
01/27/2022, 2:25 PMfe wielemaker
01/27/2022, 2:28 PMfe wielemaker
01/27/2022, 2:31 PMDid you activate TLS on your connection setup @Augustin Lafanechere (Airbyte)I think I forget to activate, but let me check
fe wielemaker
01/27/2022, 2:39 PMfe wielemaker
01/27/2022, 2:53 PMfe wielemaker
01/27/2022, 2:55 PMfe wielemaker
01/27/2022, 3:17 PMcaused 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}},
fe wielemaker
01/27/2022, 3:28 PMAli Mojiz
01/27/2022, 4:06 PM"<mongodb://%s%s/%s?authSource=admin&directConnection=false&ssl=true>";
Ali Mojiz
01/27/2022, 4:08 PMAli Mojiz
01/27/2022, 4:14 PMAli Mojiz
01/27/2022, 4:19 PM$JAVA_HOME/lib/security/cacerts
, but this container is dynamically created and can't be customized by the operator.Ali Mojiz
01/27/2022, 4:20 PMAli Mojiz
01/27/2022, 4:25 PMAli Mojiz
01/27/2022, 4:50 PMDaniel Eduardo Portugal Revilla
01/27/2022, 5:16 PMahsen m
03/23/2022, 8:06 PM