This post describes the connection logic between the agent and the gateway, including all the retry mechanisms, timeouts, and connection management details.
Overview
The agent connects to the gateway using gRPC with a streaming connection. The connection logic handles authentication, retries, exponential backoff, and keepalive mechanisms.
Connection Modes
1. Standard