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:
[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.
[X ] I have included the Docker container logs.
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
INFO: 127.0.0.1:33274 - "GET /health HTTP/1.1" 200 OK
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
['z0hj_6sTdBzWwEPWAAAP']
Removed usage data for qwen/qwen-2-72b-instruct due to timeout
Models in use: []
INFO: 127.0.0.1:60310 - "GET /health HTTP/1.1" 200 OK
INFO: connection closed
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
['z0hj_6sTdBzWwEPWAAAP']
Removed usage data for qwen/qwen-2-72b-instruct due to timeout
Models in use: []
user c5a382a5-b286-4967-b9cf-20f07eb29f15 disconnected with session ID z0hj_6sTdBzWwEPWAAAP
It keeps going...
Screenshots (if applicable):
Installation Method
Docker
Additional Information
n/a
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:**
- [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.
- [X ] I have included the Docker container logs.
## Logs and Screenshots
**Browser Console Logs:**

**Docker Container Logs:**
```
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
INFO: 127.0.0.1:33274 - "GET /health HTTP/1.1" 200 OK
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
['z0hj_6sTdBzWwEPWAAAP']
Removed usage data for qwen/qwen-2-72b-instruct due to timeout
Models in use: []
INFO: 127.0.0.1:60310 - "GET /health HTTP/1.1" 200 OK
INFO: connection closed
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': '774ff13c-9685-4510-9463-54f9b9756fba'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
Received "usage" event from z0hj_6sTdBzWwEPWAAAP: {'action': 'chat', 'model': 'qwen/qwen-2-72b-instruct', 'chat_id': 'd5640824-1a48-4a98-95af-ee8e93e2d9e3'}
Models in use: ['qwen/qwen-2-72b-instruct']
remove_after_timeout z0hj_6sTdBzWwEPWAAAP qwen/qwen-2-72b-instruct
['z0hj_6sTdBzWwEPWAAAP']
Removed usage data for qwen/qwen-2-72b-instruct due to timeout
Models in use: []
user c5a382a5-b286-4967-b9cf-20f07eb29f15 disconnected with session ID z0hj_6sTdBzWwEPWAAAP
```
It keeps going...
**Screenshots (if applicable):**

## Installation Method
Docker
## Additional Information
n/a
Should be fixed with the latest, let me know if the issue persists!
@tjbck commented on GitHub (Jun 10, 2024):

Should be fixed with the latest, let me know if the issue persists!
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):
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
Wouldn't you want to change video to false because its an audio call? I dont have a webcam on this machine either
@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
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. The getUserMedia() method returns a MediaStream object 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.
@silentoplayz 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
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. The `getUserMedia()` method returns a `MediaStream` object 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.
@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).
@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).
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 @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):
https://github.com/open-webui/open-webui/blob/75d455ac8fc64f741607613c2277a02e28228a3c/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).