Version: Tungsten Replicator 7.0.1 build 96
Replication: MySQL on RDS -> Extractor -> Applier -> MongoDB Atlas
When I attempted to start the Replicator based on the documentation, I encountered a timeout error while trying to connect to MongoDB Atlas.
https://docs.continuent.com/tungsten-replicator-7.0/deployment-mongodb-atlas-install.html I have also imported the MongoDB Atlas certificate.
Please let me know how to fix this.
The error I get is as follows
```
pendingExceptionMessage: Unable to start replication service due to underlying error: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches com.mongodb.client.internal.MongoClientDelegate$1@4ae13177. Client view of cluster state is {type=REPLICA_SET, servers=[{address=
xxxxxx.xxxxx.mongodb.net:27017, 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}}, {address=
ac-zjkhh1s-shard-00-02.yhrs9kh.mongodb.net:27017, 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}}, {address=
ac-zjkhh1s-shard-00-00.yhrs9kh.mongodb.net:27017, 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}}]
```
The output from tpm reverse is as follows
```
# Installed from tungsten@onedog-tungsten-target-dev:/opt/continuent/software/tungsten-replicator-for-mongodb-7.0.1-96
# Configuration built from /etc/tungsten/tungsten.ini
# Defaults for all data services and hosts
tools/tpm configure defaults \
--auto-recovery-max-attempts=10 \
--datasource-enable-ssl=true \
--disable-security-controls=false \
--enable-rmi-authentication=false \
--enable-rmi-ssl=false \
--enable-thl-ssl=false \
--install-directory=/opt/continuent \
--mysql-allow-intensive-checks=true \
'--profile-script=~/.bash_profile' \
--replicator-rest-api-address=0.0.0.0 \
--replicator-rest-api-authentication=true \
--replicator-rest-api-port=8097 \
--replicator-rest-api-ssl=true \
--rest-api-admin-pass=tungsten \
--rest-api-admin-user=tungsten \
--user=tungsten
# Options for the onedog data service
tools/tpm configure onedog \
--datasource-type=mongodb \
--master=onedog-tungsten-extraction-dev \
--members=onedog-tungsten-target-dev \
'--property=replicator.applier.dbms.connectString=mongodb+srv://${replicator.global.db.user}:${replicator.global.db.password}@${replicator.global.db.host}/?retryWrites=true&w=majority' \
--property=replicator.filter.dropcolumn.definitionsFile=/opt/continuent/share/dropcolumn.json \
--property=replicator.filter.rename.definitionsFile=/opt/continuent/share/rename.csv \
--property=
replicator.filter.replicate.do=onedogplus.breed,onedogplus.dog,onedogplus.owner,onedogplus.breed_phase_info,onedogplus.size_phase_info,onedogplus.dog_phase,onedogplus.dog_size,onedogplus.dog_phase_dog_size,onedogplus.health_care,onedogplus.health_care_group,onedogplus.health_care_photo,onedogplus.health_condition,onedogplus.health_info,onedogplus.health_status,onedogplus.health_type,onedogplus.care_info,onedogplus.care_type,onedogplus.owner_subscription,
onedogplus.post,onedogplus.post_photo_mapping,onedogplus.daily_goal,onedogplus.osanpo_photo_mapping,onedogplus.notebook_dog_illness,onedogplus.notebook_dog_illness_type,onedogplus.notebook_dog_info,onedogplus.notebook_dog_vaccination,onedogplus.notebook_pet_insurance,onedogplus.notebook_pet_facility,onedogplus.notebook_pet_facility_type,onedogplus.activation_target,onedogplus.deli_dog_activity,onedogplus.deli_meals_times,onedogplus.deli_snacks_times \
--replication-host=
xxxxxxx.xxxx.mongodb.net \
--replication-password=@@@@@@@@@@@@@@@@ \
--replication-port=27017 \
--replication-user=ardito_member \
--role=slave \
--svc-applier-filters=dropstatementdata,replicate,dropcolumn,rename
```