无法调用链码名称:“ lscc”,错误:容器退出并显示1

时间:2019-11-20 10:16:06

标签: hyperledger-fabric hyperledger blockchain

java chaincode上运行fabric-simple/fabcar in centos virtualbox时出错,但是运行go chaincode和nodejs chaincode都可以。

这是错误日志

peer0.org1.example.com|2019-11-20 09:54:42.455 UTC [endorser] callChaincode -> INFO 06d [mychannel][ed898cbb] Exit chaincode: name:"lscc"  (122280ms)
peer0.org1.example.com|2019-11-20 09:54:42.455 UTC [endorser] SimulateProposal -> ERRO 06e [mychannel][ed898cbb] failed to invoke chaincode name:"lscc" , error: container exited with 1
peer0.org1.example.com|github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch.func1
peer0.org1.example.com| /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:63
peer0.org1.example.com|runtime.goexit
peer0.org1.example.com| /opt/go/src/runtime/asm_amd64.s:1333
peer0.org1.example.com|chaincode registration failed
peer0.org1.example.com|2019-11-20 09:54:42.455 UTC [comm.grpc.server] 1 -> INFO 06f unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=172.18.0.13:46774 grpc.code=OK grpc.call_duration=2m2.281482435s
orderer.example.com|2019-11-20 09:54:42.457 UTC [orderer.common.broadcast] Handle -> WARN 015 Error reading from 172.18.0.13:47900: rpc error: code = Canceled desc = context canceled
orderer.example.com|2019-11-20 09:54:42.457 UTC [comm.grpc.server] 1 -> INFO 016 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=172.18.0.13:47900 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=2m2.28445501s

0 个答案:

没有答案