fabric-sample: got some error message in the orderer node


Hui Kang
 

Hi,
I am following the byfn tutorial to create a fabric network by running
./byfn.sh up. Everything looks fine and I observed the end of test
message "========= All GOOD, BYFN execution completed =========== ".

However, when I check the log of the orderer container (docker logs -f
orderer.example.com), I see some warning message, i.e.,

2018-06-20 02:21:29.757 UTC [orderer/common/broadcast] Handle -> WARN
01e Error reading from 172.19.0.11:51128: rpc error: code = Canceled
desc = context canceled

2018-06-20 02:25:25.864 UTC [orderer/common/broadcast] Handle -> WARN
01f Error reading from 172.19.0.11:51160: rpc error: code = Canceled
desc = context canceled

2018-06-20 02:26:34.809 UTC [orderer/common/broadcast] Handle -> WARN
020 Error reading from 172.19.0.11:51168: rpc error: code = Canceled
desc = context canceled

I find that the 172.19.0.11 is the IP of the cli container. Could
anyone explain the warning message and how to fix it? Thanks.

- Hui


fabiozhang@...
 

Having the same issue when playing with the fabcar example. It seemed like grpc call error, but not sure what is the root cause and how to fix it.

docker logs orderer.example.com >>>

2019-12-12 09:35:55.509 UTC [orderer.common.server] Broadcast -> DEBU b68 Starting new Broadcast handler
2019-12-12 09:35:55.509 UTC [orderer.common.broadcast] Handle -> DEBU b69 Starting new broadcast loop for 192.168.0.13:60208
2019-12-12 09:36:03.752 UTC [orderer.common.broadcast] Handle -> WARN b6a Error reading from 192.168.0.13:60208: rpc error: code = Canceled desc = context canceled
2019-12-12 09:36:03.752 UTC [orderer.common.server] func1 -> DEBU b6b Closing Broadcast stream
2019-12-12 09:36:03.752 UTC [comm.grpc.server] 1 -> INFO b6c streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=192.168.0.13:60208 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=8.2772053s
2019-12-12 09:36:03.752 UTC [grpc] infof -> DEBU b6d transport: loopyWriter.run returning. connection error: desc = "transport is closing"

docker network inspect net_byfn >>>

            "eec75d96d25d3ae054425d2f7fe04eeaab8321b0d2e3feb9e91683d17bfffebc": {
                "Name": "cli",
                "EndpointID": "fead796f82fbed089e118e9a118455ad4304c630fc39815ca2141ef82600c8c5",
                "MacAddress": "02:42:c0:a8:10:0d",
                "IPv4Address": "192.168.16.13/20",
                "IPv6Address": ""
            }