Help Center/ Data Replication Service/ Troubleshooting/ Failure Cases/ Real-Time Migration from MongoDB to DDS/ Full or Incremental Migration Error: Timed out after 60000 ms while waiting to connect
Updated on 2024-11-30 GMT+08:00

Full or Incremental Migration Error: Timed out after 60000 ms while waiting to connect

Scenarios

During real-time migration from MongoDB to DDS, an error is reported during full or incremental migration. The log information is as follows: service LOGMANAGER 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 to connect. Client view of cluster state is {type=UNKNOWN, servers=[{***, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]

Possible Causes

  • The network is unstable. As a result, the connection to the source database times out.
  • The source database is busy. As a result, the connection times out.

Solution

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