Docker option2,传输正在关闭错误

时间:2016-08-23 00:07:33

标签: hyperledger

我正在尝试简单的链代码,其中membersvc和validation peer在Docker for Mac中运行。运行链代码示例2时出现此错误:

CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=localhost:30303 ./chaincode_example02
16:58:41.242 [shim] DEBU : Peer address: localhost:30303
16:58:41.244 [shim] DEBU : os.Args returns: [./chaincode_example02]
16:58:41.244 [shim] DEBU : Registering.. sending REGISTER
2016/08/22 16:58:41 transport: http2Client.notifyError got notified that the client transport was broken EOF.
16:58:41.245 [shim] ERRO : Received error from server: rpc error: code = 13 desc = "transport is closing", ending chaincode stream
Error starting Simple chaincode: rpc error: code = 13 desc = "transport is closing"

1 个答案:

答案 0 :(得分:0)

使用最新的docker-compose文件使用最新的docker build解决了此问题。