You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix: honor ESPERANTO_SSL_* for connection tests and discovery (#1214)
* fix: honor ESPERANTO_SSL_* for connection tests and discovery
Test Connection and Discover Models used raw httpx without the
documented Esperanto SSL env vars, so corporate/self-signed HTTPS
endpoints failed with a misleading ConnectError while chat worked.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix: reject missing ESPERANTO_SSL_CA_BUNDLE instead of falling through
Match Esperanto: a configured but missing CA path raises ValueError so
Test Connection cannot silently disable TLS via ESPERANTO_SSL_VERIFY.
Co-authored-by: Cursor <cursoragent@cursor.com>
* test(credentials): let FakeAsyncClient accept httpx constructor kwargs
discover_with_config now builds httpx.AsyncClient(verify=...) so the
ESPERANTO_SSL_* settings are honored. The test doubles rejected any
constructor argument, so the mocked requests were never captured and
six discovery tests failed after merging main. Accept **kwargs like the
real client does.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEHJVwHQbundHuCFVHAHZS
---------
Co-authored-by: dalexsys <dalexsys@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Luis Novo <lfnovo@gmail.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/6-TROUBLESHOOTING/connection-issues.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -402,7 +402,7 @@ Connection error when using HTTPS endpoints
402
402
Works with HTTP but fails with HTTPS
403
403
```
404
404
405
-
**Cause:** Self-signed certificates not trusted by Python's SSL verification
405
+
**Cause:** Self-signed or privately issued certificates not trusted by Python's SSL verification inside the container. Chat via Esperanto may honor `ESPERANTO_SSL_*`, but **Test Connection** and **Discover Models** used raw httpx and historically ignored those settings (fixed so they share the same env vars).
406
406
407
407
**Solutions:**
408
408
@@ -419,13 +419,17 @@ environment:
419
419
- ESPERANTO_SSL_CA_BUNDLE=/certs/ca-bundle.pem
420
420
```
421
421
422
+
This applies to chat **and** to credential Test Connection / model discovery.
0 commit comments