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
{{ message }}
Repository navigation
SSLV3_ALERT_HANDSHAKE_FAILURE when using private gateway #1470
I'm calling an MCP "https://mcp.deepwiki.com/mcp" through a private gateway. Because of that, the URL I'm calling is "https://secure-gateway:8081", so far so good, but unfortunately, I get _"ConnectError('[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (ssl.c:1000)')".
Unfortunately, in _handle_post_request, even if I send the headers "X-Forwarded-Host", they are ignored. It seems that "sni_hostname" is only retrieved by using extensions which are not present here.
Activity
maxisbey commentedon Dec 2, 2025
Related PRs that should hopefully fix this:
streamable_http_clientwhich acceptshttpx.AsyncClientinstead ofhttpx_client_factory#1177