Skip to content

Extensions: unable to publish to sourcegraph.sgdev.org because nginx POST body size is too small

Created by: chrismwendt

src -config=$HOME/src-config.dogfood.json extension publish
# sourcegraph:prepublish: parcel build src/extension.ts
⠹ Building extension.ts...Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
⠦ Building index.js...Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
⠋ Building zip.js...Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
✨  Built in 9.73s.

dist/extension.map    847.5 KB     56ms
dist/extension.js     229.2 KB    9.63s

error: 413 Request Entity Too Large

<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.15.8</center>
</body>
</html>

My computer is tethered to my phone for wifi, not sure if that is causing the error. I'll try again at the office in 20 minutes.