Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 tasks done
RodriMora opened this issue Jun 21, 2024 · 0 comments
Closed
4 tasks done

Comments

@RodriMora
Copy link

RodriMora commented 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

@open-webui open-webui locked and limited conversation to collaborators Jun 21, 2024
@tjbck tjbck converted this issue into discussion #3362 Jun 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant