Skip to content
Stand with Ukraine flag

Connection management

ParameterDefaultEnv variable
Server hostlocalhostCLOUD_RPC_HOST
Server port7070CLOUD_RPC_PORT
Reconnect interval3000 msCLOUD_RECONNECT_TIMEOUT
Keepalive ping interval10 sCLOUD_RPC_KEEP_ALIVE_TIME_SEC
Keepalive response timeout5 sCLOUD_RPC_KEEP_ALIVE_TIMEOUT_SEC
SSL/TLSdisabledCLOUD_RPC_SSL_ENABLED
Max inbound message size4194304 (4 MB)CLOUD_RPC_MAX_INBOUND_MESSAGE_SIZE

If the connection drops, the Cloud Manager waits CLOUD_RECONNECT_TIMEOUT milliseconds before attempting to reconnect. Events continue to accumulate in the cloud_events queue during the outage and are delivered in order once the connection is restored.

For keepalive tuning on unstable networks, see gRPC keep-alive. For TLS configuration, see gRPC over SSL.

When Edge runs behind an HTTP CONNECT proxy, set the following variables:

VariableDefaultDescription
CLOUD_RPC_PROXY_ENABLEDfalseEnables proxy routing for the gRPC connection.
CLOUD_RPC_PROXY_HOST(empty)Proxy hostname or IP address.
CLOUD_RPC_PROXY_PORT0Proxy port.
CLOUD_RPC_PROXY_USERNAME(empty)Proxy username, if authentication is required.
CLOUD_RPC_PROXY_PASSWORD(empty)Proxy password, if authentication is required.

For a step-by-step proxy setup guide, see Connect Edge behind a proxy.