Skip to content

fix: increase max_request_body_size to 15 MiB#583

Merged
MicaiahReid merged 1 commit intomainfrom
fix/max-request-body-size-main
Mar 19, 2026
Merged

fix: increase max_request_body_size to 15 MiB#583
MicaiahReid merged 1 commit intomainfrom
fix/max-request-body-size-main

Conversation

@MicaiahReid
Copy link
Collaborator

Solana accounts can be up to 10 MB. With base64/hex encoding overhead, the JSON-RPC payload for a max-size account reaches ~13.5 MB, exceeding the default 5 MiB limit and causing HTTP 413 during surfnet_setAccount runbook execution. 15 MiB accommodates the largest possible account with headroom.

Solana accounts can be up to 10 MB. With base64/hex encoding overhead,
the JSON-RPC payload for a max-size account reaches ~13.5 MB, exceeding
the default 5 MiB limit and causing HTTP 413 during surfnet_setAccount
runbook execution. 15 MiB accommodates the largest possible account
with headroom.
@MicaiahReid MicaiahReid merged commit 7334c0f into main Mar 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants