orca icon indicating copy to clipboard operation
orca copied to clipboard

[Bug]: Auto-updater failing on corporate/VPN networks with ERR_HTTP2_PROTOCOL_ERROR

Open NirajRChaudhari opened this issue 6 months ago • 1 comments

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.

NirajRChaudhari avatar Jun 02 '26 16:06 NirajRChaudhari

will get this fixed ASAP

AmethystLiang avatar Jun 02 '26 20:06 AmethystLiang