如何解决无法使用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 举报,一经查实,本站将立刻删除。