Skip to content

Cookie preferences

We use cookies for our own analytics, to see how our campaigns perform and, if you allow it, to load content from other services such as the Google site search. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details and our Privacy Policy for how we handle personal data.

Security, load balancing and remembering your cookie choice.

Show us which pages people read, how they find the site and where they get stuck, so we can improve it (Google Analytics, Microsoft Clarity).

Show us which of our ad campaigns bring visitors to the site and remember the campaign or partner link you arrived from (Google Ads, LinkedIn, Meta, partner program). We do not use these cookies to build advertising profiles.

Load the site search from Google when you use it. Google sets its own cookies and shows ads in the search results.

© 2026 The ThingsBoard Authors
180 Try for free

ThingsBoard Cloud

Choose your data region

Your data stays in the region you choose, for residency and compliance. No credit card required.

Rather run it yourself? Install on your own servers

Connection management

Parameter Default Env variable
Server host localhost CLOUD_RPC_HOST
Server port 7070 CLOUD_RPC_PORT
Reconnect interval 3000 ms CLOUD_RECONNECT_TIMEOUT
Keepalive ping interval 10 s CLOUD_RPC_KEEP_ALIVE_TIME_SEC
Keepalive response timeout 5 s CLOUD_RPC_KEEP_ALIVE_TIMEOUT_SEC
SSL/TLS disabled CLOUD_RPC_SSL_ENABLED
Max inbound message size 4194304 (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:

Variable Default Description
CLOUD_RPC_PROXY_ENABLED false Enables proxy routing for the gRPC connection.
CLOUD_RPC_PROXY_HOST (empty) Proxy hostname or IP address.
CLOUD_RPC_PROXY_PORT 0 Proxy 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.