You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=========================================================================
mongoshake以all,或者fall模式启动,启动命令:/mongoshake/mongoshake/264/collector.linux -conf=/mongoshake/conf/mongoshake.conf
运行一分钟左右后终端页面报错,并指令终止:
start document replication failed: ping to mongodb://mongoshake_reader:@mongodbtest01:23636/admin failed: server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongodbtest01:23636, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : connection(mongodbtest01:23636[-64]) incomplete read of message header: EOF }, ] }
[21:07:38 CST 2021/09/16] [CRIT] (main.startup:140) run replication failed: start document replication failed: ping to mongodb://mongoshake_reader:@mongodbtest01:23636/admin failed: server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongodbtest01:23636, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : connection(mongodbtest01:23636[-64]) incomplete read of message header: EOF }, ] }
连接期间源端加密数据库日志报错:
Thu Sep 16 21:16:33.932 I NETWORK [initandlisten] connection accepted from 192.168.1.41:50412 #2865 (3 connections now open)
Thu Sep 16 21:16:33.932 I NETWORK [conn2865] AssertionException handling request, closing client connection: 17189 The server is configured to only allow SSL connections
Thu Sep 16 21:16:34.432 I NETWORK [initandlisten] connection accepted from 192.168.1.41:50414 #2866 (3 connections now open)
Thu Sep 16 21:16:34.433 I NETWORK [conn2866] AssertionException handling request, closing client connection: 17189 The server is configured to only allow SSL connections
源端:mongodb v3.2.22 社区版
同步软件: mongoshake v2.6.4
目标端: mongodb v3.4.23 社区版
源端mongodb加密配置:
ssl:
mode: requireSSL
PEMKeyFile: /mongodb/data_32/tls/server.pem
CAFile: /mongodb/data_32/tls/cafile.pem
allowConnectionsWithoutCertificates : true
mongoshake相关ssl配置
enable source ssl
mongo_ssl_root_ca_file = /mongoshake/tls/cafile.pem
目标端mongodb无加密
=========================================================================
mongoshake以all,或者fall模式启动,启动命令:/mongoshake/mongoshake/264/collector.linux -conf=/mongoshake/conf/mongoshake.conf
运行一分钟左右后终端页面报错,并指令终止:
start document replication failed: ping to mongodb://mongoshake_reader:@mongodbtest01:23636/admin failed: server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongodbtest01:23636, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : connection(mongodbtest01:23636[-64]) incomplete read of message header: EOF }, ] }
[21:07:38 CST 2021/09/16] [CRIT] (main.startup:140) run replication failed: start document replication failed: ping to mongodb://mongoshake_reader:@mongodbtest01:23636/admin failed: server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: mongodbtest01:23636, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : connection(mongodbtest01:23636[-64]) incomplete read of message header: EOF }, ] }
连接期间源端加密数据库日志报错:
Thu Sep 16 21:16:33.932 I NETWORK [initandlisten] connection accepted from 192.168.1.41:50412 #2865 (3 connections now open)
Thu Sep 16 21:16:33.932 I NETWORK [conn2865] AssertionException handling request, closing client connection: 17189 The server is configured to only allow SSL connections
Thu Sep 16 21:16:34.432 I NETWORK [initandlisten] connection accepted from 192.168.1.41:50414 #2866 (3 connections now open)
Thu Sep 16 21:16:34.433 I NETWORK [conn2866] AssertionException handling request, closing client connection: 17189 The server is configured to only allow SSL connections
=========================================================================
mongoshake以incr模式启动
数据同步、DDL同步一切正常。
The text was updated successfully, but these errors were encountered: