Kubernetes &引用;“上下文已取消”;在Hyperledger结构对等节点中记录的错误

Kubernetes &引用;“上下文已取消”;在Hyperledger结构对等节点中记录的错误,kubernetes,hyperledger-fabric,docker-in-docker,Kubernetes,Hyperledger Fabric,Docker In Docker,我的Hyperledger结构对等节点(v1.4)有时会出现以下错误。有时,系统工作正常后,但一旦我看到ContractRouter是完全启动后,该错误,当链码需要执行。你知道这是什么原因吗?如果运行链码的底层docker容器重新启动,是否会出现问题?(如日志所示,这将是pod nid1-blockchain-hapeer1-mrrc-0.9.8) 如何检查运行链码的docker的DinD docker(我使用Kubernetes)中的日志?(我正在使用Java链码)。谢谢 你解决了吗?我真的没

我的Hyperledger结构对等节点(v1.4)有时会出现以下错误。有时,系统工作正常后,但一旦我看到ContractRouter是完全启动后,该错误,当链码需要执行。你知道这是什么原因吗?如果运行链码的底层docker容器重新启动,是否会出现问题?(如日志所示,这将是pod nid1-blockchain-hapeer1-mrrc-0.9.8)

如何检查运行链码的docker的DinD docker(我使用Kubernetes)中的日志?(我正在使用Java链码)。谢谢


你解决了吗?我真的没有。我发现导致DinD docker容器重新启动的问题。无论如何,我还没有找到一种方法来获取关于引擎盖下到底发生了什么的信息。对不起,我现在帮不了什么忙。你解决了吗?我真的没有。我发现导致DinD docker容器重新启动的问题。无论如何,我还没有找到一种方法来获取关于引擎盖下到底发生了什么的信息。对不起,我现在帮不了什么忙。
2020-01-24 11:57:23.623 UTC [chaincode] ProcessStream -> ERRO 1fc9e handling chaincode support stream: rpc error: code = Canceled desc = context canceled
receive failed
github.com/hyperledger/fabric/core/chaincode.(*Handler).ProcessStream
    /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/handler.go:442
github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).HandleChaincodeStream
    /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:191
github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Register
    /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:196
github.com/hyperledger/fabric/core/chaincode/accesscontrol.(*interceptor).Register
    /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/accesscontrol/interceptor.go:57
github.com/hyperledger/fabric/protos/peer._ChaincodeSupport_Register_Handler
    /opt/gopath/src/github.com/hyperledger/fabric/protos/peer/chaincode_shim.pb.go:1069
github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).processStreamingRPC
    /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1124
github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).handleStream
    /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1212
github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1
    /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:686
runtime.goexit
    /opt/go/src/runtime/asm_amd64.s:1337
2020-01-24 11:57:23.693 UTC [dockercontroller] func2 -> INFO 1fc9f Container nid1-blockchain-hapeer1-mrrc-0.9.8 has closed its IO channel