You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python3 -m p4runtime_sh --grpc-addr 172.17.0.1
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
The text was updated successfully, but these errors were encountered:
As the last error message says "Failed to establish session with server", I would guess that the p4runtime_sh process attempted to open a TCP connection to the P4Runtime API server on the host with IPv4 address 172.17.0.1, and something caused that connection attempt to fail. Possible causes (but there are many more possibilities, which it would take experimentation and/or looking at your setup to determine which it might be):
There is no process listening on the default TCP port running on the host with IPv4 address 172.17.0.1 (the default TCP port for P4Runtime API servers to listen on, and for clients to connect to, is 9559)
There is such a listening process, but L2 switches, and/or IP routers between the host where you ran the p4runtime_sh command and the host where the process listening for incoming connections are not configured correct to forward IP packets between them, or a firewall is actively blocking these packets
python3 -m p4runtime_sh --grpc-addr 172.17.0.1
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
The text was updated successfully, but these errors were encountered: