[GH-ISSUE #11662] issue: QuotaExceededError when sending a large image (14MB) to gemini-2.0-pro #16313

Closed
opened 2026-04-19 22:16:18 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Mcayear on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11662

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

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

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

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:

Uncaught (in promise) QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'chat-input-' exceeded the quota.
    at eo (Chat.svelte:2039:24)
    at Zy.o.$$.update (MessageInput.svelte:77:5)

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.

Originally created by @Mcayear on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11662 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### 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 - [x] I have read and followed all instructions in `README.md`. - [x] I am using 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. - [x] I have listed steps to reproduce the bug in detail. ### 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: ``` Uncaught (in promise) QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'chat-input-' exceeded the quota. at eo (Chat.svelte:2039:24) at Zy.o.$$.update (MessageInput.svelte:77:5) ``` 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.
GiteaMirror added the bug label 2026-04-19 22:16:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16313