I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
v0.6.42
Ollama Version (if applicable)
No response
Operating System
ubuntu 24.04
Browser (if applicable)
Chrome 143
Confirmation
I have read and followed all instructions in README.md.
I am using 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 every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
Expected Behavior
ASR works correctly.
Actual Behavior
Open webui throws a "Oops! It seems like the file format you're trying to upload is not supported. Please upload a file with a supported format and try again."
Steps to Reproduce
Run 0.6.42 ghcr.io/open-webui/open-webui:cuda
Start audio in chat
Received format error
Logs & Screenshots
2025-12-22 01:18:02.545 | ERROR | open_webui.utils.misc:strict_match_mime_type:637 - Failed to match mime type audio/wav: list
index out of range - {"trace_id": "c016792302aae3dcd1280b95bf3df0e1", "span_id": "ee98aa5b31424c78"}
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0xec9a751049a0>
└ <WorkerThread(AnyIO worker thread, started 260122144141728)>
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0xec94a41dd940>
└ <WorkerThread(AnyIO worker thread, started 260122144141728)>
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function transcription at 0xec96cd177e20>,
user=UserModel(id='48a50a0a-d095-48cf-b084-26a710fa0e21', email...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0xec94a413bec0>
File "/app/backend/open_webui/routers/audio.py", line 1159, in transcription
if not strict_match_mime_type(stt_supported_content_types, file.content_type):
│ │ │ └ <property object at 0xec9a70897650>
│ │ └ UploadFile(filename='recording.wav', size=44732,
headers=Headers({'content-disposition': 'form-data; name="file"; filename="r...
│ └ ['']
└ <function strict_match_mime_type at 0xec98d86718a0>
> File "/app/backend/open_webui/utils/misc.py", line 625, in strict_match_mime_type
match = mimeparse.best_match(supported, header)
│ │ │ └ 'audio/wav'
│ │ └ []
│ └ <function best_match at 0xec98d86702c0>
└ <module 'mimeparse' from '/usr/local/lib/python3.11/site-packages/mimeparse.py'>
File "/usr/local/lib/python3.11/site-packages/mimeparse.py", line 215, in best_match
return weighted_matches[-1][0][0] and weighted_matches[-1][2] or ''
│ └ []
└ []
IndexError: list index out of range
Additional Information
No response
Originally created by @zilingzhang on GitHub (Dec 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20087
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
- [x] I am using the latest version of Open WebUI.
### Installation Method
Docker
### Open WebUI Version
v0.6.42
### Ollama Version (if applicable)
_No response_
### Operating System
ubuntu 24.04
### Browser (if applicable)
Chrome 143
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
- [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps:
- Start with the initial platform/version/OS and dependencies used,
- Specify exact install/launch/configure commands,
- List URLs visited, user input (incl. example values/emails/passwords if needed),
- Describe all options and toggles enabled or changed,
- Include any files or environmental changes,
- Identify the expected and actual result at each stage,
- Ensure any reasonably skilled user can follow and hit the same issue.
### Expected Behavior
ASR works correctly.
### Actual Behavior
Open webui throws a "Oops! It seems like the file format you're trying to upload is not supported. Please upload a file with a supported format and try again."
### Steps to Reproduce
1. Run 0.6.42 ghcr.io/open-webui/open-webui:cuda
2. Start audio in chat
3. Received format error
### Logs & Screenshots
2025-12-22 01:18:02.545 | ERROR | open_webui.utils.misc:strict_match_mime_type:637 - Failed to match mime type audio/wav: list
index out of range - {"trace_id": "c016792302aae3dcd1280b95bf3df0e1", "span_id": "ee98aa5b31424c78"}
Traceback (most recent call last):
```
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0xec9a751049a0>
└ <WorkerThread(AnyIO worker thread, started 260122144141728)>
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0xec94a41dd940>
└ <WorkerThread(AnyIO worker thread, started 260122144141728)>
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function transcription at 0xec96cd177e20>,
user=UserModel(id='48a50a0a-d095-48cf-b084-26a710fa0e21', email...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0xec94a413bec0>
File "/app/backend/open_webui/routers/audio.py", line 1159, in transcription
if not strict_match_mime_type(stt_supported_content_types, file.content_type):
│ │ │ └ <property object at 0xec9a70897650>
│ │ └ UploadFile(filename='recording.wav', size=44732,
headers=Headers({'content-disposition': 'form-data; name="file"; filename="r...
│ └ ['']
└ <function strict_match_mime_type at 0xec98d86718a0>
> File "/app/backend/open_webui/utils/misc.py", line 625, in strict_match_mime_type
match = mimeparse.best_match(supported, header)
│ │ │ └ 'audio/wav'
│ │ └ []
│ └ <function best_match at 0xec98d86702c0>
└ <module 'mimeparse' from '/usr/local/lib/python3.11/site-packages/mimeparse.py'>
File "/usr/local/lib/python3.11/site-packages/mimeparse.py", line 215, in best_match
return weighted_matches[-1][0][0] and weighted_matches[-1][2] or ''
│ └ []
└ []
IndexError: list index out of range
```
### Additional Information
_No response_
GiteaMirror
added the bug label 2026-04-20 01:24:19 -05:00
#19496issue: 500 internal server error appears in v0.6.40 by cloudtuotuo • Nov 26, 2025 • bug
#18145issue: 0.6.33 regression by Ark-Levy • Oct 08, 2025 • bug
💡Tips:
If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
If you found a solution in any of these issues, please share it here to help others
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
<!-- gh-comment-id:3679917297 -->
@owui-terminator[bot] commented on GitHub (Dec 22, 2025):
🔍 **Similar Issues Found**
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
1. [#20019](https://github.com/open-webui/open-webui/issues/20019) **issue:**
*by j63440490 • Dec 17, 2025 • `bug`*
2. [#19864](https://github.com/open-webui/open-webui/issues/19864) **issue:**
*by Haervwe • Dec 10, 2025 • `bug`*
3. [#19777](https://github.com/open-webui/open-webui/issues/19777) **issue:**
*by Yaute7 • Dec 05, 2025 • `bug`*
4. [#19877](https://github.com/open-webui/open-webui/issues/19877) **issue:**
*by dotmobo • Dec 11, 2025 • `bug`*
5. [#19861](https://github.com/open-webui/open-webui/issues/19861) **issue:**
*by QuitHub • Dec 10, 2025 • `bug`*
<details>
<summary>Show 5 more related issues</summary>
6. [#19417](https://github.com/open-webui/open-webui/issues/19417) **issue: v0.6.37 SQL Error**
*by AKHYP • Nov 24, 2025 • `bug`*
7. [#19563](https://github.com/open-webui/open-webui/issues/19563) **issue:**
*by naruto7g • Nov 28, 2025 • `bug`*
8. [#19211](https://github.com/open-webui/open-webui/issues/19211) **issue:**
*by Byrnes9 • Nov 16, 2025 • `bug`*
9. [#19496](https://github.com/open-webui/open-webui/issues/19496) **issue: 500 internal server error appears in v0.6.40**
*by cloudtuotuo • Nov 26, 2025 • `bug`*
10. [#18145](https://github.com/open-webui/open-webui/issues/18145) **issue: 0.6.33 regression**
*by Ark-Levy • Oct 08, 2025 • `bug`*
</details>
---
💡 **Tips:**
- If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
- If you found a solution in any of these issues, please share it here to help others
*This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@spammenotinoz commented on GitHub (Dec 22, 2025):
Same, bug introduced in 0.6.42
2025-12-22 12:50:39.727 | ERROR | open_webui.utils.misc:strict_match_mime_type:637 - Failed to match mime type audio/wav: list index out of range
There is a workaround,
In Admin Settings, set Supported MIME Types = audio/wav
Appears the defaults have been lost.
<!-- gh-comment-id:3679971390 -->
@spammenotinoz commented on GitHub (Dec 22, 2025):
Same, bug introduced in 0.6.42
2025-12-22 12:50:39.727 | ERROR | open_webui.utils.misc:strict_match_mime_type:637 - Failed to match mime type audio/wav: list index out of range
There is a workaround,
In Admin Settings, set Supported MIME Types = audio/wav
Appears the defaults have been lost.
@spammenotinoz commented on GitHub (Dec 22, 2025):
Unsure what the defaults were but these also fix the issue, while covering more audio types.
audio/*
or
audio/mpeg, audio/wav, audio/ogg, audio/x-m4a
<!-- gh-comment-id:3679997448 -->
@spammenotinoz commented on GitHub (Dec 22, 2025):
Unsure what the defaults were but these also fix the issue, while covering more audio types.
audio/*
or
audio/mpeg, audio/wav, audio/ogg, audio/x-m4a
@tjbck could you please fix it. The latest version has the same issue !
<!-- gh-comment-id:3683865120 -->
@ALIENvsROBOT commented on GitHub (Dec 22, 2025):
@tjbck could you please fix it. The latest version has the same issue !
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @zilingzhang on GitHub (Dec 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20087
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.42
Ollama Version (if applicable)
No response
Operating System
ubuntu 24.04
Browser (if applicable)
Chrome 143
Confirmation
README.md.Expected Behavior
ASR works correctly.
Actual Behavior
Open webui throws a "Oops! It seems like the file format you're trying to upload is not supported. Please upload a file with a supported format and try again."
Steps to Reproduce
Logs & Screenshots
2025-12-22 01:18:02.545 | ERROR | open_webui.utils.misc:strict_match_mime_type:637 - Failed to match mime type audio/wav: list
index out of range - {"trace_id": "c016792302aae3dcd1280b95bf3df0e1", "span_id": "ee98aa5b31424c78"}
Traceback (most recent call last):
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Dec 22, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20019 issue:
by j63440490 • Dec 17, 2025 •
bug#19864 issue:
by Haervwe • Dec 10, 2025 •
bug#19777 issue:
by Yaute7 • Dec 05, 2025 •
bug#19877 issue:
by dotmobo • Dec 11, 2025 •
bug#19861 issue:
by QuitHub • Dec 10, 2025 •
bugShow 5 more related issues
#19417 issue: v0.6.37 SQL Error
by AKHYP • Nov 24, 2025 •
bug#19563 issue:
by naruto7g • Nov 28, 2025 •
bug#19211 issue:
by Byrnes9 • Nov 16, 2025 •
bug#19496 issue: 500 internal server error appears in v0.6.40
by cloudtuotuo • Nov 26, 2025 •
bug#18145 issue: 0.6.33 regression
by Ark-Levy • Oct 08, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@spammenotinoz commented on GitHub (Dec 22, 2025):
Same, bug introduced in 0.6.42
2025-12-22 12:50:39.727 | ERROR | open_webui.utils.misc:strict_match_mime_type:637 - Failed to match mime type audio/wav: list index out of range
There is a workaround,
In Admin Settings, set Supported MIME Types = audio/wav
Appears the defaults have been lost.
@spammenotinoz commented on GitHub (Dec 22, 2025):
Unsure what the defaults were but these also fix the issue, while covering more audio types.
audio/*
or
audio/mpeg, audio/wav, audio/ogg, audio/x-m4a
@i-iooi-i commented on GitHub (Dec 22, 2025):
Had the same problem
@firestrife23 commented on GitHub (Dec 22, 2025):
Following, having same issues as above.
@ALIENvsROBOT commented on GitHub (Dec 22, 2025):
@tjbck could you please fix it. The latest version has the same issue !