Message
Too many connections! The tunnel sessionSESSION has violated the rate-limit policy of THRESHOLD connections per minute by initiating COUNT connections in the last SECONDS seconds. Decrease your inbound connection volume or upgrade to a paid plan for additional capacity.
Additional Info
- ngrok limits the number of inbound connections to your tunnels.
- Limits are imposed on connections, not requests. If your HTTP clients use persistent connections aka HTTP keep-alive (most modern ones do), you’ll likely never hit this limit.
- ngrok will return a
429response to HTTP connections that exceed the rate limit. - Connections to TCP and TLS tunnels violating the rate limit will be closed without a response.
Possible Solutions
- Upgrade your account to a Pro or Pay-as-you-go plan from your account dashboard in order to reserve a custom hostname.