mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
Models timing out, call feature also does not work #1189
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 @dillfrescott on GitHub (Jun 10, 2024).
Bug Report
Description
Bug Summary:
Models refuse to respond, worked fine before this update.
Also the call feature is using my microphone and it still says media devices cannot be found.
Steps to Reproduce:
Update to newest version, try to chat with model or use call feature.
Expected Behavior:
I'd expect it to work I guess.
Actual Behavior:
Models refuse to respond, worked fine before this update.
Also the call feature is using my microphone and it still says media devices cannot be found.
Environment
Open WebUI Version: 0.3.0
Ollama (if applicable): n/a (using openrouter)
Operating System: Docker on Ubuntu
Browser (if applicable): Newest mainline Chrome
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
It keeps going...
Screenshots (if applicable):

Installation Method
Docker
Additional Information
n/a
@dillfrescott commented on GitHub (Jun 10, 2024):
Openrouter is not down either and its a valid key.
@tjbck commented on GitHub (Jun 10, 2024):
Should be fixed with the latest, let me know if the issue persists!
@dillfrescott commented on GitHub (Jun 10, 2024):
Okay
@dillfrescott commented on GitHub (Jun 10, 2024):
The issue is not fixed. It says
Permission denied when accessing media devices@dillfrescott commented on GitHub (Jun 10, 2024):
And I explicitly allowed microphone and camera access.
@tjbck commented on GitHub (Jun 10, 2024):
75d455ac8f/src/lib/components/chat/MessageInput.svelte (L922)@dillfrescott commented on GitHub (Jun 10, 2024):
I don't understand, do i do something with that? Also I am using the docker version and don't know how to change that code
@dillfrescott commented on GitHub (Jun 10, 2024):
Wouldn't you want to change video to false because its an audio call? I dont have a webcam on this machine either
@silentoplayz commented on GitHub (Jun 10, 2024):
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices
The code
await navigator.mediaDevices.getUserMedia({ audio: true, video: true });is JavaScript code that requests access to the user's media devices (such as a microphone and webcam) in order to use them for audio or video communication. ThegetUserMedia()method returns aMediaStreamobject that contains the audio and video data from the user's devices.The user may deny permission: The user will be prompted to allow or deny access to their camera and microphone. If they choose to deny access, the
getUserMedia()method will fail.The user's device may not have a camera or microphone: If the user's device does not have a camera or microphone, or if those devices are currently in use by another application, the
getUserMedia()method will fail.The getUserMedia() method may be blocked by a browser extension: Some browser extensions can block the
getUserMedia()method from being invoked. If this is the case, the code will fail.To summarize, the call feature utilizes both audio and video modalities for vision model support. This is why it requires both a webcam/camera and a microphone. Something is preventing access on your end to utilize this feature properly.
@dillfrescott commented on GitHub (Jun 10, 2024):
Ohhhh got it! Thank you!
@transcendence-x commented on GitHub (Jun 11, 2024):
need https possiabley
@JohnSmithToYou commented on GitHub (Jun 12, 2024):
@tjbck @silentoplayz Please reopen this issued. I don't have a web cam so this method is always failing. Could you catch the error and try the getUserMedia again with video equal to false? I tried using OBS as a webcam but that didn't work. Once I plugged in a real webcam everything was good. (tested in Firefox and Chrome).