From ac28de2ad4e5b2c3bede0166920668496f983cac Mon Sep 17 00:00:00 2001 From: Olari Catalin Georgel Date: Sun, 21 Dec 2025 19:11:36 +0200 Subject: [PATCH 1/2] Update WebSockets limits --- fern/api-reference/websockets/subscription-api.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fern/api-reference/websockets/subscription-api.mdx b/fern/api-reference/websockets/subscription-api.mdx index 291a0ca54..331a1fea9 100644 --- a/fern/api-reference/websockets/subscription-api.mdx +++ b/fern/api-reference/websockets/subscription-api.mdx @@ -85,9 +85,10 @@ Next, install a command line tool for making WebSocket requests such as [wscat]( The following limits apply for WebSocket connections: -* There is a limit of **100 WebSocket connections** for the FREE tier and **2,000 WebSocket connections** for all other tiers, with a maximum of 50,000 connections per instance. +* There is a limit of **100 WebSocket connections** for the FREE tier and **2,000 WebSocket connections** for all other tiers. * There is a limit of **1,000 unique subscriptions** per WebSocket connection. * The maximum size of a JSON-RPC `batch` request that can be sent over a WebSocket connection is 1000 +* The maximum number of concurrent JSON-RPC requests (i.e. requests awaiting responses) on a single WebSocket connection is 200 *** @@ -97,5 +98,6 @@ The following limits apply for WebSocket connections: | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `32600` | `"Sorry, the maximum batch request size is 1000. Please reduce the size of your request and try again."` | Occurs when user attempts to send high-volume JSON-RPC traffic over Websockets. We recommend this traffic be sent over HTTP instead to optimize server backends. | | `1008` | `"WebSocket connection limit reached for this app. Please close existing connections and try again."` | Triggered when the number of open WebSocket connections for the app reaches the allowed limit. Close unused connections to restore access. | -| `1008` | `" This app has exceeded its limit of open WebSockets. Please close some other connections first."` | Triggered when the team previously exceeded the limit and tries to reconnect again before the backoff interval expires. Close existing connections and wait. | -| `1008` | `" You have exceeded the maximum number of concurrent requests on a single WebSocket. At most 200 concurrent requests are allowed per WebSocket."` | Triggered when a client has too many pending JSON-RPC requests on a single WebSocket. Ensure each request completes before sending more. | +| `1008` | `"This app has exceeded its limit of open WebSockets. Please close some other connections first."` | Triggered when the team previously exceeded the limit and tries to reconnect again before the backoff interval expires. Close existing connections and wait. | +| `1008` | `"You have exceeded the maximum number of concurrent requests on a single WebSocket. At most 200 concurrent requests are allowed per WebSocket."` | Triggered when a client has too many pending JSON-RPC requests on a single WebSocket. Ensure each request completes before sending more. | +| `32603` | `"You have exceeded the maximum number of subscriptions on a single WebSocket." | Triggered when a client has too many subscriptions on a single WebSocket. Unsubscribe before creating new subscriptions. | \ No newline at end of file From e28674659055ed8fa790b4f3ac02262aacc39068 Mon Sep 17 00:00:00 2001 From: Catalin Georgel Olari Date: Sun, 21 Dec 2025 19:17:28 +0200 Subject: [PATCH 2/2] Update fern/api-reference/websockets/subscription-api.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- fern/api-reference/websockets/subscription-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/api-reference/websockets/subscription-api.mdx b/fern/api-reference/websockets/subscription-api.mdx index 331a1fea9..ed33d3c9f 100644 --- a/fern/api-reference/websockets/subscription-api.mdx +++ b/fern/api-reference/websockets/subscription-api.mdx @@ -100,4 +100,4 @@ The following limits apply for WebSocket connections: | `1008` | `"WebSocket connection limit reached for this app. Please close existing connections and try again."` | Triggered when the number of open WebSocket connections for the app reaches the allowed limit. Close unused connections to restore access. | | `1008` | `"This app has exceeded its limit of open WebSockets. Please close some other connections first."` | Triggered when the team previously exceeded the limit and tries to reconnect again before the backoff interval expires. Close existing connections and wait. | | `1008` | `"You have exceeded the maximum number of concurrent requests on a single WebSocket. At most 200 concurrent requests are allowed per WebSocket."` | Triggered when a client has too many pending JSON-RPC requests on a single WebSocket. Ensure each request completes before sending more. | -| `32603` | `"You have exceeded the maximum number of subscriptions on a single WebSocket." | Triggered when a client has too many subscriptions on a single WebSocket. Unsubscribe before creating new subscriptions. | \ No newline at end of file +| `32603` | `"You have exceeded the maximum number of subscriptions on a single WebSocket."` | Triggered when a client has too many subscriptions on a single WebSocket. Unsubscribe before creating new subscriptions. | \ No newline at end of file