Hyperledger Fabric:Chaincode容器无法连接到本地对等方

While instantiating a very simple chaincode I get the following error in chaincode container and instantiation fails:

2018-04-06 15:29:51.923 UTC [shim] userChaincodeStreamGetter -> ERRO 001 Error trying to connect to local peer: context deadline exceeded
Error starting SimpleAsset chaincode: Error trying to connect to local peer: context deadline exceeded

Which environment variables are determining the connection from chaincode container to the peer? How can I check this further?

Peer Version: 1.0.6 Orderer Version: 1.0.6

douyi3632
douyi3632 2个对等方和1个订购方在不同的服务器上运行。对等方被docker化。直接从二进制文件运行订购程序。我看不到订购者方面的任何问题。
2 年多之前 回复
duanpendan8067
duanpendan8067 您在这里使用哪种环境?
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问