kubernetes集群中具有TLS的超级账本对等方不断抛出TLS握手错误

问题描述 投票:0回答:1

以下是对等日志:

2019-12-06 07:00:31.121 UTC [core.comm] ServerHandshake -> ERRO fa975 TLS handshake failed with error EOF server=ChaincodeServer remoteaddress=192.168.131.215:25731
2019-12-06 07:00:31.215 UTC [core.comm] ServerHandshake -> ERRO fa976 TLS handshake failed with error EOF server=ChaincodeServer remoteaddress=192.168.131.215:20784
2019-12-06 07:00:31.301 UTC [core.comm] ServerHandshake -> ERRO fa977 TLS handshake failed with error EOF server=PeerServer remoteaddress=192.168.131.215:8059
2019-12-06 07:00:31.512 UTC [core.comm] ServerHandshake -> ERRO fa978 TLS handshake failed with error EOF server=ChaincodeServer remoteaddress=192.168.163.185:46359
2019-12-06 07:00:31.768 UTC [core.comm] ServerHandshake -> ERRO fa979 TLS handshake failed with error EOF server=PeerServer remoteaddress=192.168.131.215:34603

一切正常。我们能够在链码上进行交易。任何人都可以在这个问题上帮助我们吗?

kubernetes hyperledger-fabric hyperledger
1个回答
0
投票

这种情况发生在您使用错误的证书时。

两方是什么?2个同行或1个同行1个订购者?还是客户?

双方必须具有有效的TLS证书,在这里您使用的是错误的证书。

© www.soinside.com 2019 - 2024. All rights reserved.