-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
bug: Uncaught (in promise) TypeErrors in Open WebUI, causes page freeze & browser console errors until refresh #2208
Comments
1st issue should be fixed on dev! |
I noticed a similar error. I'm using a 70b model on a slow GPU (P40), and I get an error at exactly 5 minutes and the text won't update. Even after the above phenomenon occurred, the AI was still generating answers on the server. After the operation of the AI for answers was over, it was confirmed that VRAM was cleared after an additional 5 minutes as the default setting of OLLAMA_KEEP_ALIVE. |
I'm glad I could help by reporting bugs I've found that you then have fixed to make Open WebUI better for everyone to enjoy. Thanks for your hard work Tim. 🍻 |
I'm seeing the same bug and getting this error in the console when I delete the second message:
|
The second issue should also be fixed on latest dev! |
Thanks! I can confirm that the issue has been fixed in the new update, v0.3.5. |
Hype! You've fixed the bug I've had for so long. It appears that throughout the existence of this bug report, all bugs I've reported within it's time on this specific bug report, has been fixed. Thanks for all your hard work @tjbck! ❤️ I believe this bug report can be closed as completed now. |
I have a similar issue on my instance.
I think it can be easily reproduced following these steps:
Well I am not able to reproduce on freshly created chats again, maybe it comes from old chats i havent used for a while (older than one day), I will update tomorrow or delete my comment if no more issue. |
@damajor I am unable to reproduce this particular Steps to reproduce the new errors in browser console that I've found:
19:43:23.739 Uncaught (in promise) TypeError: t[0].messages[t[11]] is undefined
p CompareMessages.svelte:111
p CompareMessages.svelte:105
p CompareMessages.svelte:104
p CompareMessages.svelte:103
at scheduler.js:119
ut scheduler.js:79
promise callback*lt scheduler.js:20
ht Component.js:81
ctx Component.js:139
he Chat.svelte:319
update Chat.svelte:130
update Chat.svelte:138
at scheduler.js:115
ut scheduler.js:79
promise callback*lt scheduler.js:20
ht Component.js:81
ctx Component.js:139
$$set root.svelte:62
$set Component.js:507
ce client.js:1129
_start_router client.js:1603
c rocket-loader.min.js:1
CompareMessages.svelte:111:65 The page will freeze beyond this point and requires a page refresh to fix. After refreshing the page, you can click the initial chat that you cloned from and get the same error in the browser console. Note: Reproducing the initial error discussed in this comment not only causes the page to freeze, but also requires a page refresh to resolve the issue. These errors are reproducible with both local (Ollama) and external connection models. |
@kojdj0811 A related merge that should fix this issue: #3107 |
Well maybe the UI was in a bad state when I get the issue, but I am not able to reproduce the problem atm. |
Closing in favor of #4408 |
Bug Report
Description
Bug Summary:
Uncaught (in promise) TypeErrors
in Open WebUI, causing unexpected page freeze-like behavior along with a few console log errors produced to potentially help debug the issues.Expected Behavior:
Uncaught (in promise) TypeErrors
, requiring a manual refresh by the user to unfreeze the page and clear out browser console log errors.Actual Behavior:
Uncaught (in promise) TypeErrors
, followed by a series of error messages related toImmutable
, requiring a manual refresh by the user to unfreeze the page to solve.Environment
Confirmation:
Logs and Screenshots
Browser Console Logs Reproduction Details:
1st error (browser console log):
Steps to Reproduce 1st Error:
F12
on your keyboard to open up your browser console and switch to theConsole
tab to observe error.Edit
button of the first message you sent in the chat (before the LLM's response in this chat) and observe new error:Edit
button of the LLM's response to your message and observe another new error:2nd error; not sure if this is a huge issue at all though, as this doesn't appear to cause any issues and is unrelated to the actual bug report I'm making here (browser console log):
This error occurred upon signing out of my Open WebUI account:
This error occurred upon signing into my Open WebUI account:
Docker Container Logs:
Installation Method
Docker Desktop via a custom-built docker-compose.yml file for my Open WebUI instance and domains. Ollama is running natively on Windows via the Windows (Preview) version.
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Please let me know if I've missed anything or if there's any additional information needed!
The text was updated successfully, but these errors were encountered: