Minimal Example for GO AWAY messages
- Install requirements
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
-
Insert the IP address of your device (
look for INSERT YOUR IP ADDRESS
) -
Run the code
python -m subscribe
- Wait
After 8 minutes (4x120 seconds) the gNMI session will be terminated with:
grpclib.exceptions.StreamTerminatedError: Connection lost