Hyperledger fabric 无法在结构2.2上初始化java链码,ERRO 06e TLS握手失败

Hyperledger fabric 无法在结构2.2上初始化java链码,ERRO 06e TLS握手失败,hyperledger-fabric,chaincode,Hyperledger Fabric,Chaincode,我在Ubuntu操作系统上运行Fabric 2.2版本,并开发了Java链码 我能够在网络上打包、安装、批准和提交java链码,但是当我尝试调用java链码(初始化链码)的initLedger函数时,我得到了一个错误 当我检查我的同行日志时,我看到了下面的问题 Org1 组织2 嗨,Vikasopo Hans!您能检查一下您的CouchDB DDBB是否正在运行吗?在Org2日志中,您可以看到与之相关的错误(警告)。此外,如果您还可以共享您正在执行的命令和您的配置,以便尝试重现错误,那将是一件好

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

我能够在网络上打包、安装、批准和提交java链码,但是当我尝试调用java链码(初始化链码)的
initLedger
函数时,我得到了一个错误

当我检查我的同行日志时,我看到了下面的问题

Org1

组织2


嗨,Vikasopo Hans!您能检查一下您的CouchDB DDBB是否正在运行吗?在Org2日志中,您可以看到与之相关的错误(警告)。此外,如果您还可以共享您正在执行的命令和您的配置,以便尝试重现错误,那将是一件好事。
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
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