You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/api-reference/websockets/subscription-api.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,10 @@ Next, install a command line tool for making WebSocket requests such as [wscat](
85
85
86
86
The following limits apply for WebSocket connections:
87
87
88
-
* 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.
88
+
* There is a limit of **100 WebSocket connections** for the FREE tier and **2,000 WebSocket connections** for all other tiers.
89
89
* There is a limit of **1,000 unique subscriptions** per WebSocket connection.
90
90
* The maximum size of a JSON-RPC `batch` request that can be sent over a WebSocket connection is 1000
91
+
* The maximum number of concurrent JSON-RPC requests (i.e. requests awaiting responses) on a single WebSocket connection is 200
91
92
92
93
***
93
94
@@ -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. |
99
100
|`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. |
100
-
|`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. |
101
-
|`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. |
101
+
|`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. |
102
+
|`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. |
103
+
|`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. |
0 commit comments