无法使用ERRO 06e TLS握手在Fabric 2.2上初始化Java链码失败

问题描述

我正在Ubuntu操作系统上运行Fabric 2.2版本,并开发了Java chaincode。

我能够在网络上打包,安装,批准和提交Java链码,但是当我尝试调用Java链码的initLedger函数(初始化链码)时,出现错误

当我检查对等日志时,我在下面看到以下问题。

Org1

2020-10-02 14:46:44.585 UTC [core.comm] ServerHandshake -> ERRO 06e TLS handshake Failed with error read tcp 172.18.0.8:7052->172.18.0.10:40076: I/O timeout server=ChaincodeServer remoteaddress=172.18.0.10:40076
2020-10-02 14:46:45.794 UTC [lifecycle] Work -> WARN 06f Could not launch chaincode 'housetransfer_1:fefe2f90a7585edafb9a66ea7949fd82b2960c6263d105de24211aa750c54091': timeout expired while starting chaincode housetransfer_1:fefe2f90a7585edafb9a66ea7949fd82b2960c6263d105de24211aa750c54091 for transaction
2020-10-02 14:46:45.794 UTC [endorser] callChaincode -> INFO 070 finished chaincode: HouseTransfer duration: 52359ms channel=testchannel2 txID=0f1388f1
2020-10-02 14:46:45.800 UTC [endorser] SimulateProposal -> ERRO 071 Failed to invoke chaincode HouseTransfer,error: timeout expired while starting chaincode housetransfer_1:fefe2f90a7585edafb9a66ea7949fd82b2960c6263d105de24211aa750c54091 for transaction

组织2

2020-10-02 14:45:52.962 UTC [couchdb] handleRequest -> WARN 064 Attempt 1 of 4 returned Couch DB Error:internal_server_error,Status Code:500 Internal Server Error  Reason:No DB shards Could be opened.. retrying couchdb request in 125ms
2020-10-02 14:45:54.593 UTC [couchdb] createDatabaseIfNotExist -> INFO 065 Created state database testchannel2_$house$transfer
2020-10-02 14:46:39.289 UTC [core.comm] ServerHandshake -> ERRO 066 TLS handshake Failed with error read tcp 172.18.0.9:9052->172.18.0.11:44378: I/O timeout server=ChaincodeServer remoteaddress=172.18.0.11:44378
2020-10-02 14:46:43.877 UTC [core.comm] ServerHandshake -> ERRO 067 TLS handshake Failed with error EOF server=ChaincodeServer remoteaddress=172.18.0.11:44382
2020-10-02 14:46:45.255 UTC [lifecycle] Work -> WARN 068 Could not launch chaincode 'housetransfer_1:fefe2f90a7585edafb9a66ea7949fd82b2960c6263d105de24211aa750c54091': chaincode registration Failed: container exited with 0
2020-10-02 14:46:45.256 UTC [endorser] callChaincode -> INFO 069 finished chaincode: HouseTransfer duration: 51879ms channel=testchannel2 txID=0f1388f1
2020-10-02 14:46:45.257 UTC [endorser] SimulateProposal -> ERRO 06a Failed to invoke chaincode HouseTransfer,error: container exited with 0 github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch.func1
/go/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:118
runtime.goexit

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)