OpenAI Python SDK: SSL bad record mac is not retried
Summary As of November 2026, upgrade the SDK so unmapped TLS transport failures enter connection-error handling and eligible request retries. Exhaustion raises APIConnectionError; a stream already being consumed is wrapped without replay. Use v3.20.0.
Not for OpenAI Python SDK generic application exceptions, which still propagate unchanged; this change handles unmapped TLS transport failures.
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread openai-python-sdk-ssl-bad-record-mac-not-retried and help me try it