Repository navigation
Conversation
Retry HTTPS model discovery and connection probes without a client certificate when Electron 43 reports ERR_SSL_CLIENT_AUTH_CERT_NEEDED. Preserve proxy routing, TLS verification, cancellation and existing platform compatibility. Add regression tests and Electron E2E coverage. fixes vastsa#1676
|
Verified against What it does: metadata probes in Checked:
Ran the new suites locally: 15/15 pass ( Two non-blocking notes:
This closes the gap from #1676 (model-discovery probes on the global fetch with no |
|
Thanks for the focused fix and local TLS coverage. I verified the reported Electron 43 failure and reviewed the retry boundary: it is limited to HTTPS GET/OPTIONS metadata probes after the exact optional-client-certificate error; cancellation, redirects, proxy routing, hostname/certificate checks, and agent/plugin requests remain protected. On the latest-main candidate, the provider regression tests passed (15/15), the isolated Electron 43 TLS/proxy E2E passed, and Desktop typecheck passed. I updated the PR branch to current |
|
Follow-up after #1735 landed: I refreshed this PR again to latest |
|
Heads-up: this PR is now Cause: Resolution that keeps both (verified locally —
That is the whole fix; no other file conflicts, and |
|
I reproduced this PR's current state locally (merged 1. Merge conflict — one file, one hunk. 2. Your ADR fails the docs gate. Current heading is After those two, I ran the gates on the merged tree:
The certificate logic itself is fine — this is purely rebase + ADR formatting. |
|
Correction, and good news: after your rebase ( So my earlier suggestion to renumber to Current state of your head
Nothing else from me; the certificate logic itself I verified earlier (15/15 provider tests pass). |
|
I confirmed the #1676 failure path: Electron 43's main-process network request fails on the optional client-certificate handshake, and this retry is narrowly scoped to replayable HTTPS metadata requests while retaining TLS verification and proxy routing. The current head is based on latest |
|
Thanks for confirming! The workflow runs for Could a maintainer with the required permissions approve these runs through the GitHub web UI so the checks can proceed? Thanks for your help! |
|
我已在 #1739 合入后把分支更新到最新 |
|
I reviewed the refreshed head I cannot merge yet: CI, Docs check, and PR-base for this exact head are all |
Summary
Electron 43 aborts requests with
ERR_SSL_CLIENT_AUTH_CERT_NEEDEDwhen a server requests an optional client certificate, preventing model discovery and connection tests from reaching HTTP.Retry HTTPS metadata GET/OPTIONS requests once without a client certificate when this exact error occurs. Preserve proxy routing, server certificate and hostname verification, cancellation, and redirect restrictions.
Keep Electron 43 and existing platform compatibility, including macOS 12. Agent turns and plugin requests are unaffected.
Validation
Fixes #1676