文档首页/ 数据复制服务 DRS/ 故障排除/ 失败案例/ MongoDB->DDS实时迁移/ 全量或增量迁移失败报错,关键词“Timed out after 60000 ms while waiting to connect”
更新时间:2022-10-10 GMT+08:00
分享

全量或增量迁移失败报错,关键词“Timed out after 60000 ms while waiting to connect”

场景描述

MongoDB->DDS实时迁移场景,全量或增量迁移报错,日志提示信息: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)}}]

可能原因

  • 网络不稳定导致访问源库时建立连接超时。
  • 源库系统繁忙导致建立连接超时。

处理方法

  1. 检查源库运行状态是否正常。
  2. 检查DRS迁移实例和源库之间的网络是否存在丢包、重传等情况。
  3. 联系华为工程师调整默认的超时时间。

相关文档