-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn test people
runs into RPC response too big
#161
Comments
Thanks for the info, lemme debug which storage key failed and ask around about the load balancer settings. |
It is "0x3a636f6465" also known as ":code" that causes that and it's between 2MB-4MB depending of which chain.
Yes, you are correct I tried connecting many times and most of the time it actually works as intended. But I was wrong it's actually 2025-01-06T21:17:42.453733Z DEBUG jsonrpsee-client: Connecting to target: Target { host: "rpc-kusama.luckyfriday.io", host_header: "rpc-kusama.luckyfriday.io", _mode: Tls, path_and_query: "/", basic_auth: None }
2025-01-06T21:17:42.891083Z DEBUG jsonrpsee-client: Connection established to target: Target { host: "rpc-kusama.luckyfriday.io", host_header: "rpc-kusama.luckyfriday.io", _mode: Tls, path_and_query: "/", basic_auth: None }
2025-01-06T21:17:43.032229Z ERROR ws: wss://rpc-kusama.luckyfriday.io error: Call(ErrorObject { code: ServerError(-32008), message: "Response is too big", data: Some(RawValue("Exceeded max limit of 1048576")) }) I can try to contact them but meanwhile the fix could be to switch to some other provider such |
Thanks for the investigation. Will change luckyfriday nodes to dwellir. |
@xlc |
@dcolley Nice. Where can I find a list of all the support networks and the urls? |
@xlc please check this page https://wiki.ibp.network/docs/consumers/archives For supported chains, the convention is: wss://<chainId>.ibp.network |
https://raw.githubusercontent.com/ibp-network/config/refs/heads/main/services_rpc.json |
Hey folks, apologies for the LuckyFriday clerical issue. Looks like we fat-fingered one of the nodes to 1MB instead of 10MB. We have since increased all nodes to 20MB. |
Hey hey,
I have looked into what caused polkadot-fellows/runtimes#521 to fail which ended up with two different "too big responses":
state_getStorage
which could exceed 10MBstate_getRuntimeVersion
which shouldn't be as big as 10MBThe dump with RPC responses can be found below:
Thus, the first error comes from the jsonrpsee which looks legit but the second one doesn't come directly from jsonrpsee because it doesn't use such error format for internal errors and doesn't looks correct. My guess is that the second one comes from subway here which wraps the error message an internal error.
/cc @xlc @shunsukew Can you confirm? Maybe you terminate the connection and send back the error to all pending rpc calls or something?!
The text was updated successfully, but these errors were encountered: