DE-CIX / gnmi-subscribe-go-away

This is an example to reproduce the GO_AWAY message due to client side keepalive messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal Example for GO AWAY messages

  1. Install requirements
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
  1. Insert the IP address of your device (look for INSERT YOUR IP ADDRESS)

  2. Run the code

python -m subscribe
  1. Wait

After 8 minutes (4x120 seconds) the gNMI session will be terminated with:

grpclib.exceptions.StreamTerminatedError: Connection lost

About

This is an example to reproduce the GO_AWAY message due to client side keepalive messages

License:MIT License


Languages

Language:Python 100.0%