在超账结构中实例化链码时出现grpc错误

时间:2019-05-21 05:45:19

标签: hyperledger-fabric grpc-go

我在确定安装后实例化了链代码,但收到以下错误。在Ubuntu 18.04上

peer         | 2019-05-21 05:05:55.190 UTC [comm.grpc.server] 1 -> INFO 037 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=172.20.0.5:39964 grpc.code=OK grpc.call_duration=187.168218ms
peer         | 2019-05-21 05:06:19.215 UTC [endorser] callChaincode -> INFO 038 [][be9c6dbc] Entry chaincode: name:"cscc"
peer         | 2019-05-21 05:06:19.227 UTC [endorser] callChaincode -> INFO 039 [][be9c6dbc] Exit chaincode: name:"cscc"  (11ms)
peer         | 2019-05-21 05:06:19.227 UTC [comm.grpc.server] 1 -> INFO 03a unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=172.20.0.5:39968 grpc.code=OK grpc.call_duration=13.098939ms
peer         | 2019-05-21 05:06:19.277 UTC [endorser] callChaincode -> INFO 03b [tradechannel][4e0192cc] Entry chaincode: name:"lscc"
orderer      | 2019-05-21 05:06:24.590 UTC [orderer.common.broadcast] Handle -> WARN 00c Error reading from 172.20.0.5:37000: rpc error: code = Canceled desc = context canceled
peer         | 2019-05-21 05:06:24.582 UTC [endorser] callChaincode -> INFO 03c [tradechannel][4e0192cc] Exit chaincode: name:"lscc"  (5304ms)
peer         | 2019-05-21 05:06:24.582 UTC [endorser] SimulateProposal -> ERRO 03d [tradechannel][4e0192cc] failed to invoke chaincode name:"lscc" , error: container exited with 0
peer         | github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch.func1
peer         |  /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:63
peer         | runtime.goexit
peer         |  /opt/go/src/runtime/asm_amd64.s:1333
peer         | chaincode registration failed
peer         | 2019-05-21 05:06:24.583 UTC [comm.grpc.server] 1 -> INFO 03e unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=172.20.0.5:39968 grpc.code=OK grpc.call_duration=5.311257186s
orderer      | 2019-05-21 05:06:24.592 UTC [comm.grpc.server] 1 -> INFO 00d streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=172.20.0.5:37000 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=5.309774321s

寻找答案,并可能推理出

0 个答案:

没有答案