Help Center> Data Replication Service> Troubleshooting> Failure Cases> Real-Time Migration from MongoDB to DDS> Incremental Migration Error: Timed out after 60000 ms while waiting for a server that matches com.mongodb.client.internal
Updated on 2022-11-10 GMT+08:00

Incremental Migration Error: Timed out after 60000 ms while waiting for a server that matches com.mongodb.client.internal

Scenarios

During real-time migration from MongoDB to DDS, an error is reported during incremental migration. The log information is as follows: service INCREMENT failed, cause by: [reason]:Failed to connect to database due to network, check the network between the DRS and the database or try again later.[message]:Timed out after 60000 ms while waiting for a server that matches com.mongodb.client.internal.MongoClientDelegate$1@27105e1a. Client view of cluster state is {type=REPLICA_SET, servers=[{address=***, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection timed out (Connection timed out)}}, {address=***, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.NoRouteToHostExceptio.

Possible Causes

  • The network is unstable. As a result, the connection times out when data is written to the destination database.
  • The destination database is busy. As a result, the connection times out.

Solution

  1. Check whether the destination database is running properly.
  2. Check whether packet loss or retransmission occurs on the network between the DRS replication instance and the destination database.
  3. Contact Huawei engineers to change the default timeout interval.