-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[rpc] --rpc-max-response-size doesn't seem work correctly #13623
Comments
Cc @niklasad1 |
Hey @ianhe8x Can you provide the error message that you got on the too big response? Can you try with We could remove that limit completely now because JSON-RPC server doesn't kill the connection with a too big response if my hunch is correct :P |
The error msg is Overall I got same error with |
Indeed, it's MB but it uses "an estimation for the size" which is However, I have removed it now as it's not needed anymore. |
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
According to doc, the default value of --rpc-max-response-size is 15 MB, which I have found in the source code as well.
When I make a traceblock rpc to my node, I got
exceeds max payload size
error which no matter how I adjust this argument, I can not get pass it.I'm pretty sure something wrong with the implementation. The proof is (against a polkadot node)
res.log: 1.1M
res2.log: 321K
res3.log: Payload likely exceeds max payload size of RPC server.
Doesn't make sense if default limit is 15MB.
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: