- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
1.5 KiB
Gitea — HTTP 413 on large push (e.g. js repo)
Issue: Pushing the js repo (~1.1GB .git, 220k+ objects) to Gitea fails with:
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
send-pack: unexpected disconnect while reading sideband packet
Cause: The push request body exceeds the server’s allowed size (Gitea and/or Nginx).
Fix on Gitea server (dev VM or wherever Gitea runs)
-
Gitea
app.ini(e.g./etc/gitea/app.inior/opt/gitea/custom/conf/app.ini):[server] HTTP_MAX_REQUEST_BODY = 1073741824(1GB in bytes; increase further if needed.)
-
NPMplus (Gitea is behind NPMplus at gitea.d-bis.org):
In NPMplus UI: Proxy Hosts → gitea.d-bis.org → Advanced → add:
client_max_body_size 1024M;Or via NPMplus API: set
advanced_configfor the gitea.d-bis.org proxy host to include this directive. -
Restart Gitea (and Nginx if changed), then retry the push:
cd ~/projects/js git push "https://${GITEA_TOKEN}@gitea.d-bis.org/d-bis/js.git" main --set-upstream
Client-side (optional)
Increasing Git’s http.postBuffer can help with some proxies; it does not fix a server 413:
git -C ~/projects/js config http.postBuffer 524288000
Push-all script
scripts/dev-vm/push-all-projects-to-gitea.sh pushes all repos; js will keep failing until the server limit is raised. You can re-run the script after fixing the server; other repos are unchanged.