mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #11662] issue: QuotaExceededError when sending a large image (14MB) to gemini-2.0-pro #16313
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 @Mcayear on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11662
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
disable ollama.
Operating System
Ubuntu 22.04
Browser (if applicable)
Edge/Chrome/134.0.0.0
Confirmation
README.md.Expected Behavior
When I select the gemini-2.0-pro model and send a prompt along with a 14MB image, I expect the image to be processed by the model and a response to be generated without any errors. The Websocket connection should remain stable throughout this process.
Actual Behavior
When I click the send button after selecting the gemini-2.0-pro model and attempting to query a 14MB image, a QuotaExceededError occurs in the browser's console. The specific error message is:
Following this error, the Websocket connection to the server is also disconnected.
Steps to Reproduce
Select the gemini-2.0-pro model in the openwebui interface.
Attempt to upload or reference a 14MB image file.
Enter a prompt asking a question about the content of the image.
Click the "Send" button.
Observe the QuotaExceededError in the browser's developer console.
Notice that the Websocket connection is closed shortly after the error.
Logs & Screenshots
The error message has been provided above.
Additional Information
The issue seems to be related to the browser's local storage limitations when handling a relatively large image file in conjunction with the gemini-2.0-pro model. The subsequent disconnection of the Websocket suggests that the local storage error might be interrupting the communication with the backend.