mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #11363] issue: 400 Client Error (Audio) #31730
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @YuriyGavrilov on GitHub (Mar 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11363
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.5.18
Ollama Version (if applicable)
No response
Operating System
Kubernates
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
Voice chat works properly
Actual Behavior
[ERROR: 400: [ERROR: Open WebUI: Server Connection Error]]
Steps to Reproduce
Logs & Screenshots
Additional Information
@FedorRasputin commented on GitHub (Mar 8, 2025):
I have the same issue.
I downloaded the generated file and tried to upload it via Postman, but I got this error: "Cannot extract audio duration. Invalid file or format."
After that, I tried to upload a simple WAV file with audio, and it was successfully recognized.
I use a proxyapi for accessing the OpenAI API, so I can't check this issue on the native OpenAI API.\
UPD
On another API provider, the problem persists as well.
@michaelmarziani commented on GitHub (Mar 12, 2025):
@YuriyGavrilov I'm unable to reproduce this error on my setup. I use local whisper and I've picked a different model, as you can see in my setup below.
Please upload a screenshot of your audio settings, as I think something looks odd with the error you received:
@FedorRasputin Please post the stack trace from the console for your error.
@FedorRasputin commented on GitHub (Mar 12, 2025):
@michaelmarziani Hello.
My settings:
Stack trace from console:
@michaelmarziani commented on GitHub (Mar 13, 2025):
Hi @FedorRasputin, the way I read this, the error is here:
A bad request in this context means that the server is rejecting this transcription request. Unfortunately there isn't enough detail in the error message to know why.
To troubleshoot, I would try different servers in my configuration. If this works, then you know it's a problem with this specific server, if you test a few servers and none of them work, either they all are having an issue or there might be a problem in the request code in OWUI.
Good luck!