mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
Request response from ollama not updating in UI #115
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 @trustraptor on GitHub (Dec 23, 2023).
Bug Report
Description
Looks as if its loading / waiting indefinitely for response from ollama. I created the docker containers for hassle-free installation as recommended in readme.
i can run inference directly in ollama docker image, or through curl to the api endpoint
docker ps -aresultsollama-webui:latest "sh start.sh" 0.0.0.0:3000->8080/tcp, :::3000->8080/tcp ollama-webui
ollama/ollama:latest "/bin/ollama serve" 0.0.0.0:11434->11434/tcp, :::11434->11434/tcp ollama
Also, saved OLLAMA_HOST=0.0.0.0 and OLLAMA_ORIGINS=* to env variable in docker
Steps to Reproduce:
docker compose up -d --buildExpected Behavior:
add model and chat
Actual Behavior:
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):

Installation Method
build both ollama and webui docker images with docker compose up
Additional Information
not sure where else to start for troubleshooting, im not familiar with .ts / svelte. I'm wondering if its the format of the json request / response expected. Where is that in the code?
@tjbck commented on GitHub (Dec 23, 2023):
Hi! We're going to have to see the browser console logs, please share them with us! Thanks!
@trustraptor commented on GitHub (Dec 23, 2023):
from Firefox console log:
Uncaught (in promise) ReferenceError: TextDecoderStream is not defined
Immutable 41
http://localhost:3000/:43
promise callback* http://localhost:3000/:42
3.7ccbfcc4.js:1:7292
W Immutable
AsyncFunctionThrow self-hosted:672
Immutable 20
InterpretGeneratorResume self-hosted:1458
AsyncFunctionNext self-hosted:668
(Async: async)
v Immutable
map self-hosted:180
Immutable 6
InterpretGeneratorResume self-hosted:1458
AsyncFunctionNext self-hosted:668
(Async: async)
v Immutable
map self-hosted:180
Immutable 6
AsyncFunctionNext self-hosted:668
Immutable 3
http://localhost:3000/:43
(Async: promise callback)
http://localhost:3000/:42
@tjbck commented on GitHub (Dec 23, 2023):
Hmm, first time seeing that error. Maybe you're using an outdated version of firefox? I cannot seem to reproduce the issue on my ubuntu machine with firefox. If you could provide more details on how to reproduce the issue, that would be extremely helpful. Thanks!
@trustraptor commented on GitHub (Dec 23, 2023):
Yes I updated the browser, it's working. Thanks, I feel dumb now!
@themw123 commented on GitHub (Jan 3, 2024):
I am also facing this issue but just with chatgpt. I am using Chrome 120.0.6099.130. On firefox everything works fine. I am using latest olama and latest ghcr.io/ollama-webui/ollama-webui:main , both from docker.
@tjbck commented on GitHub (Jan 3, 2024):
Hi @themw123, Thanks for reporting the issue! Please try out the latest release, It should fix your issue. Let me know if the issue still persists, Thanks!
@themw123 commented on GitHub (Jan 3, 2024):
big thank you @tjbck , it's working again!