[Bug]: Auto-updater failing on corporate/VPN networks with ERR_HTTP2_PROTOCOL_ERROR
Operating system
macOS
Orca version
No response
Details
Hey @Jinwoo-H , on corporate/VPN networks the auto-updater fails with net::ERR_HTTP2_PROTOCOL_ERROR when downloading the update ZIP. Corporate SSL-intercepting proxies reset HTTP/2 streams mid-transfer, which is exactly what Chromium's network stack (used by electron-updater internally) negotiates by default.
The fix can go probabaly as part of PR https://github.com/stablyai/orca/pull/4450
Fix is a one-liner in src/main/startup/configure-process.ts inside enableMainProcessGpuFeatures(), right before the existing appendSwitch calls:
export function enableMainProcessGpuFeatures(): void {
app.commandLine.appendSwitch('disable-http2') // force HTTP/1.1 for electron-updater downloads on corporate networks
...
}
This is the Electron equivalent of curl --http1.1 — tells Chromium's net stack to skip HTTP/2 negotiation entirely. Scoped to the app process so it covers electron-updater downloads without touching renderer networking. Happy to raise a separate issue/PR for this if helpful.
will get this fixed ASAP