StreamChannel error and P4Runtime RPC error
hello, I pull the docker from dockerhub docker pull p4lang/p4runtime-sh, and run with the instruction of P4-OVS
> ./p4runtime-sh-docker --grpc-addr 172.17.0.1:50051 --device-id 0 --config demo.p4info.txt,demo.o
CRITICAL:root:StreamChannel error, closing stream
CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed to connect to all addresses
CRITICAL:root:Failed to establish session with server
I use VM Ubuntu18.04.5 LTS run on VirtualBox.
Is 172.17.0.1 the actual address of your Docker bridge?
I think it is
> ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:cdff:fe5e:40bb prefixlen 64 scopeid 0x20<link>
You may want to try with the IANA assigned port for P4Runtime (9559). I would also recommend trying to open a telnet TCP session to the gRPC address. If it doesn't work, then you have to figure out why first.
hello, I pull the docker from dockerhub
docker pull p4lang/p4runtime-sh, and run with the instruction of P4-OVS> ./p4runtime-sh-docker --grpc-addr 172.17.0.1:50051 --device-id 0 --config demo.p4info.txt,demo.o CRITICAL:root:StreamChannel error, closing stream CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed to connect to all addresses CRITICAL:root:Failed to establish session with serverI use VM Ubuntu18.04.5 LTS run on VirtualBox.
hi, have you solved this problem now? I have the same problem and I don't know how to solve it. If you have the solution please tell me, thank you