基于docker单机多节点搭建pxc集群,从节点无法同步集群报错:
[ERROR] [MY-000000] [Galera] handshake with remote endpoint ssl://172.20.0.2:4567 failed: asio.ssl:67567754: 'invalid padding' ( 67567754: 'error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding')
This error is often caused by SSL issues. For more information, please see:
https://per.co.na/pxc/encrypt_cluster_traffic
导致原因:新版本的pxc存在问题
解决办法:
第一步:删除当前版本的pxc # docker rmi pxc
第二步:下载5.7.21版本 # docker pull docker.io/percona/percona-xtradb-cluster:5.7.21
第三步:删掉原来键的节点,重新建立要集群的节点即可