Changing the Voice doesn't work in Firefox but works in Chrome (Mac) #1338

Closed
opened 2025-11-11 14:43:17 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @RodriMora on GitHub (Jun 21, 2024).

Bug Report

Description

Bug Summary:
Changing the voice for TTS doesn't work in Firefox (mac) nor Safari (mac), but it does work in Chrome (mac). It always uses the default voice.

Steps to Reproduce:
Get a response, play the TTS, change the voice to another one, play the TTS in Firefox = doesn't work. Chrome = works

Expected Behavior:
It should work in any browser.

Actual Behavior:
The voice doesn't change

Environment

  • Open WebUI Version: [e.g., 0.1.120]

  • Ollama (if applicable): Non applicable, using OpenAI Compatible API (in my case Aphrodite Engine)

  • Operating System: Open-webui running in docker Ubuntu 22.04. Accesed from Mac OS Sonoma 14.5

  • Browser (if applicable): Firefox 127 Mac. Chrome 126.0.6478.62 Mac.

Reproduction Details

Test in firefox. Same voice no matter which is selected
Test in Chrome. Voice changes

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.

Logs and Screenshots

Browser Console Logs:
No errors in the console Logs

Docker Container Logs:

INFO:     ('192.168.10.134', 59646) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=7oE4CCY6UjGO46G1AAAM" [accepted]
INFO:     connection open
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:     192.168.10.134:59644 - "GET /api/v1/auths/ HTTP/1.1" 200 OK
user Rodri(4b1d1e04-0840-40b0-9a42-33e2a9f8e59e) connected with session ID JJoj68kLnjPmwokwAAAN
INFO:     192.168.10.134:59645 - "GET /ws/socket.io/?EIO=4&transport=polling&t=P0w9GD0&sid=7oE4CCY6UjGO46G1AAAM HTTP/1.1" 200 OK
INFO:     192.168.10.134:59643 - "POST /ws/socket.io/?EIO=4&transport=polling&t=P0w9GC_&sid=7oE4CCY6UjGO46G1AAAM HTTP/1.1" 200 OK
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:     192.168.10.134:59644 - "GET /api/changelog HTTP/1.1" 200 OK
INFO:     192.168.10.134:59643 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
INFO:apps.openai.main:get_all_models()
INFO:apps.openai.main:get_all_models()
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:apps.openai.main:get_all_models()
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:     192.168.10.134:59644 - "GET /api/models HTTP/1.1" 200 OK
INFO:     192.168.10.134:59645 - "GET /api/v1/documents/ HTTP/1.1" 200 OK
INFO:     192.168.10.134:59643 - "GET /api/v1/prompts/ HTTP/1.1" 200 OK
INFO:     192.168.10.134:59648 - "GET /api/v1/configs/banners HTTP/1.1" 200 OK
INFO:     192.168.10.134:59649 - "GET /api/v1/chats/tags/all HTTP/1.1" 200 OK
INFO:     192.168.10.134:59647 - "GET /api/v1/tools/ HTTP/1.1" 200 OK
INFO:apps.openai.main:get_all_models()
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:     192.168.10.134:59643 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
INFO:     192.168.10.134:59644 - "GET /api/v1/chats/55569de2-0f85-4619-b570-bb8a24bc439a HTTP/1.1" 200 OK
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:     192.168.10.134:59644 - "GET /api/v1/chats/55569de2-0f85-4619-b570-bb8a24bc439a/tags HTTP/1.1" 200 OK
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:     192.168.10.134:59644 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:apps.ollama.main:get_all_models()
INFO:     192.168.10.134:59644 - "GET /ollama/api/version HTTP/1.1" 200 OK
INFO:apps.openai.main:get_all_models()
ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused]
INFO:     127.0.0.1:36566 - "GET /health HTTP/1.1" 200 OK

Screenshots (if applicable):
Not relevant

Installation Method

Docker running the default command, and then adding the OPENAI Base url manually in the admin settings for my inference server:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Originally created by @RodriMora on GitHub (Jun 21, 2024). # Bug Report ## Description **Bug Summary:** Changing the voice for TTS doesn't work in Firefox (mac) nor Safari (mac), but it does work in Chrome (mac). It always uses the default voice. **Steps to Reproduce:** Get a response, play the TTS, change the voice to another one, play the TTS in Firefox = doesn't work. Chrome = works **Expected Behavior:** It should work in any browser. **Actual Behavior:** The voice doesn't change ## Environment - **Open WebUI Version:** [e.g., 0.1.120] - **Ollama (if applicable):** Non applicable, using OpenAI Compatible API (in my case Aphrodite Engine) - **Operating System:** Open-webui running in docker Ubuntu 22.04. Accesed from Mac OS Sonoma 14.5 - **Browser (if applicable):** Firefox 127 Mac. Chrome 126.0.6478.62 Mac. ## Reproduction Details Test in firefox. Same voice no matter which is selected Test in Chrome. Voice changes **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:** No errors in the console Logs **Docker Container Logs:** ``` INFO: ('192.168.10.134', 59646) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=7oE4CCY6UjGO46G1AAAM" [accepted] INFO: connection open ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO: 192.168.10.134:59644 - "GET /api/v1/auths/ HTTP/1.1" 200 OK user Rodri(4b1d1e04-0840-40b0-9a42-33e2a9f8e59e) connected with session ID JJoj68kLnjPmwokwAAAN INFO: 192.168.10.134:59645 - "GET /ws/socket.io/?EIO=4&transport=polling&t=P0w9GD0&sid=7oE4CCY6UjGO46G1AAAM HTTP/1.1" 200 OK INFO: 192.168.10.134:59643 - "POST /ws/socket.io/?EIO=4&transport=polling&t=P0w9GC_&sid=7oE4CCY6UjGO46G1AAAM HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO: 192.168.10.134:59644 - "GET /api/changelog HTTP/1.1" 200 OK INFO: 192.168.10.134:59643 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() INFO:apps.openai.main:get_all_models() INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO:apps.openai.main:get_all_models() INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO: 192.168.10.134:59644 - "GET /api/models HTTP/1.1" 200 OK INFO: 192.168.10.134:59645 - "GET /api/v1/documents/ HTTP/1.1" 200 OK INFO: 192.168.10.134:59643 - "GET /api/v1/prompts/ HTTP/1.1" 200 OK INFO: 192.168.10.134:59648 - "GET /api/v1/configs/banners HTTP/1.1" 200 OK INFO: 192.168.10.134:59649 - "GET /api/v1/chats/tags/all HTTP/1.1" 200 OK INFO: 192.168.10.134:59647 - "GET /api/v1/tools/ HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO: 192.168.10.134:59643 - "GET /api/v1/chats/ HTTP/1.1" 200 OK INFO: 192.168.10.134:59644 - "GET /api/v1/chats/55569de2-0f85-4619-b570-bb8a24bc439a HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO: 192.168.10.134:59644 - "GET /api/v1/chats/55569de2-0f85-4619-b570-bb8a24bc439a/tags HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO: 192.168.10.134:59644 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO:apps.ollama.main:get_all_models() INFO: 192.168.10.134:59644 - "GET /ollama/api/version HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() ERROR:apps.openai.main:Connection error: Cannot connect to host 192.168.10.109:2242 ssl:default [Connection refused] INFO: 127.0.0.1:36566 - "GET /health HTTP/1.1" 200 OK ``` **Screenshots (if applicable):** Not relevant ## Installation Method Docker running the default command, and then adding the OPENAI Base url manually in the admin settings for my inference server: `docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1338