[PR #24857] fix: honor SSL setting for STT requests #115199

Open
opened 2026-05-18 16:09:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/24857
Author: @arieleli01212
Created: 5/18/2026
Status: 🔄 Open

Base: devHead: codex/fix-audio-stt-ssl-verify


📝 Commits (1)

  • 48d027d fix: honor SSL setting for STT requests

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 backend/open_webui/routers/audio.py (+5 -0)

📄 Description

Pull Request Checklist

  • Linked Issue/Discussion: This PR references an existing Issue — Closes #24568.
  • Target branch: The pull request targets the dev branch.
  • Description: A concise description of the changes is provided below.
  • Changelog: A changelog entry following Keep a Changelog format is included at the bottom.
  • Documentation: Not applicable; this fixes existing SSL configuration behavior.
  • Dependencies: No dependency changes.
  • Testing: Manual tests have been performed to verify the fix/feature works correctly and does not introduce regressions.
  • No Unchecked AI Code: This PR has undergone review and validation.
  • Self-Review: A self-review of the code has been performed.
  • Architecture: Reuses the existing AIOHTTP_CLIENT_SESSION_SSL configuration.
  • Git Hygiene: The PR is atomic, based on dev, and contains no unrelated commits.
  • Title Prefix: The PR title uses the fix prefix.

Changelog Entry

Description

  • Honor the existing SSL verification setting for synchronous speech-to-text provider requests.

Added

  • N/A

Changed

  • N/A

Deprecated

  • N/A

Removed

  • N/A

Fixed

  • STT requests made through requests.post now pass verify=AIOHTTP_CLIENT_SESSION_SSL, allowing self-signed certificate setups when SSL verification is disabled.

Security

  • N/A

Breaking Changes

  • N/A

Additional Information

Closes #24568.

Validation:

  • python3 -m py_compile backend/open_webui/routers/audio.py
  • ruff check backend/open_webui/routers/audio.py was attempted, but the file has pre-existing unrelated lint findings.

Screenshots or Videos

  • N/A

Contributor License Agreement


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/24857 **Author:** [@arieleli01212](https://github.com/arieleli01212) **Created:** 5/18/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `codex/fix-audio-stt-ssl-verify` --- ### 📝 Commits (1) - [`48d027d`](https://github.com/open-webui/open-webui/commit/48d027dfaee929a97f4bcfe195770872d50ac7eb) fix: honor SSL setting for STT requests ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/audio.py` (+5 -0) </details> ### 📄 Description # Pull Request Checklist - [x] **Linked Issue/Discussion:** This PR references an existing Issue — Closes #24568. - [x] **Target branch:** The pull request targets the `dev` branch. - [x] **Description:** A concise description of the changes is provided below. - [x] **Changelog:** A changelog entry following Keep a Changelog format is included at the bottom. - [x] **Documentation:** Not applicable; this fixes existing SSL configuration behavior. - [x] **Dependencies:** No dependency changes. - [x] **Testing:** Manual tests have been performed to verify the fix/feature works correctly and does not introduce regressions. - [x] **No Unchecked AI Code:** This PR has undergone review and validation. - [x] **Self-Review:** A self-review of the code has been performed. - [x] **Architecture:** Reuses the existing `AIOHTTP_CLIENT_SESSION_SSL` configuration. - [x] **Git Hygiene:** The PR is atomic, based on `dev`, and contains no unrelated commits. - [x] **Title Prefix:** The PR title uses the `fix` prefix. # Changelog Entry ### Description - Honor the existing SSL verification setting for synchronous speech-to-text provider requests. ### Added - N/A ### Changed - N/A ### Deprecated - N/A ### Removed - N/A ### Fixed - STT requests made through `requests.post` now pass `verify=AIOHTTP_CLIENT_SESSION_SSL`, allowing self-signed certificate setups when SSL verification is disabled. ### Security - N/A ### Breaking Changes - N/A --- ### Additional Information Closes #24568. Validation: - `python3 -m py_compile backend/open_webui/routers/audio.py` - `ruff check backend/open_webui/routers/audio.py` was attempted, but the file has pre-existing unrelated lint findings. ### Screenshots or Videos - N/A ### Contributor License Agreement - [x] By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 16:09:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#115199