[GH-ISSUE #6014] Call function in the new release gets the 404 error #117518

Closed
opened 2026-05-20 19:07:59 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @pianistprogrammer on GitHub (Oct 8, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6014

Screenshot 2024-10-08 at 13 56 46 # Bug Report

Important: Before submitting a bug report, please check whether a similar issue or feature request has already been posted in the Issues or Discussions section. It's likely we're already tracking it. In case of uncertainty, initiate a discussion post first. This helps us all to efficiently focus on improving the project.

Let's collaborate respectfully. If you bring negativity, please understand our capacity to engage may be limited. If you're open to learning and communicating constructively, we're more than happy to assist you. Remember, Open WebUI is a volunteer-driven project maintained by a single maintainer, supported by our amazing contributors who also manage full-time jobs. We respect your time; please respect ours. If you have an issue, We highly encourage you to submit a pull request or to fork the project. We actively work to prevent contributor burnout to preserve the quality and continuity of Open WebUI.

Installation Method

[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]

Environment

  • Open WebUI Version: [e.g., v0.3.32]

  • Ollama (if applicable): [e.g., v0.2.0, v0.1.32-rc1]

  • Operating System: [e.g., macOS Sonoma]

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

The call function is supposed to allow me chat with the models

Actual Behavior:

It throws an error - 404

Description

ERROR [open_webui.apps.audio.main] 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions
Traceback (most recent call last):
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 431, in transcribe
r.raise_for_status()
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions
ERROR [open_webui.apps.audio.main] exceptions must derive from BaseException
Traceback (most recent call last):
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 431, in transcribe
r.raise_for_status()
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 508, in transcription
data = transcribe(file_path)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 453, in transcribe
raise error_detail
TypeError: exceptions must derive from BaseException
ERROR [open_webui.apps.audio.main] 400: Something went wrong :/
exceptions must derive from BaseException
Traceback (most recent call last):
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 431, in transcribe
r.raise_for_status()
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 508, in transcription
data = transcribe(file_path)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 453, in transcribe
raise error_detail
TypeError: exceptions must derive from BaseException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 513, in transcription
raise HTTPException(
fastapi.exceptions.HTTPException: 400: Something went wrong :/
exceptions must derive from BaseException
INFO: 127.0.0.1:59976 - "POST /audio/api/v1/transcriptions HTTP/1.1" 400 Bad Request

Originally created by @pianistprogrammer on GitHub (Oct 8, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/6014 <img width="1437" alt="Screenshot 2024-10-08 at 13 56 46" src="https://github.com/user-attachments/assets/7f04ca1b-8cb4-42a3-b17a-36b5b85495fb"> # Bug Report **Important: Before submitting a bug report, please check whether a similar issue or feature request has already been posted in the Issues or Discussions section. It's likely we're already tracking it. In case of uncertainty, initiate a discussion post first. This helps us all to efficiently focus on improving the project.** **Let's collaborate respectfully. If you bring negativity, please understand our capacity to engage may be limited. If you're open to learning and communicating constructively, we're more than happy to assist you. Remember, Open WebUI is a volunteer-driven project maintained by a single maintainer, supported by our amazing contributors who also manage full-time jobs. We respect your time; please respect ours. If you have an issue, We highly encourage you to submit a pull request or to fork the project. We actively work to prevent contributor burnout to preserve the quality and continuity of Open WebUI.** ## Installation Method [Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.] ## Environment - **Open WebUI Version:** [e.g., v0.3.32] - **Ollama (if applicable):** [e.g., v0.2.0, v0.1.32-rc1] - **Operating System:** [e.g., macOS Sonoma] **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [x] I have included the browser console logs. - [ ] I have included the Docker container logs. - [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: The call function is supposed to allow me chat with the models ## Actual Behavior: It throws an error - 404 ## Description ERROR [open_webui.apps.audio.main] 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions Traceback (most recent call last): File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 431, in transcribe r.raise_for_status() File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions ERROR [open_webui.apps.audio.main] exceptions must derive from BaseException Traceback (most recent call last): File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 431, in transcribe r.raise_for_status() File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 508, in transcription data = transcribe(file_path) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 453, in transcribe raise error_detail TypeError: exceptions must derive from BaseException ERROR [open_webui.apps.audio.main] 400: Something went wrong :/ exceptions must derive from BaseException Traceback (most recent call last): File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 431, in transcribe r.raise_for_status() File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:8000/v1/audio/transcriptions During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 508, in transcription data = transcribe(file_path) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 453, in transcribe raise error_detail TypeError: exceptions must derive from BaseException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/miniconda3/envs/openwebui/lib/python3.11/site-packages/open_webui/apps/audio/main.py", line 513, in transcription raise HTTPException( fastapi.exceptions.HTTPException: 400: Something went wrong :/ exceptions must derive from BaseException INFO: 127.0.0.1:59976 - "POST /audio/api/v1/transcriptions HTTP/1.1" 400 Bad Request
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#117518