[GH-ISSUE #9104] Websocket error in 0.5.7 #69988

Closed
opened 2026-05-13 02:15:55 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @chemwolf6922 on GitHub (Jan 30, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9104

Installation Method

docker with redis web socket.

Environment

  • Open WebUI Version: 0.5.7

  • Ollama (if applicable): N/A

  • Operating System: N/A

  • Browser (if applicable): N/A

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.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

The completion should success.

Actual Behavior:

The completion failed with a stream error.

Description

Bug Summary:
After updating to 0.5.7, I'm facing loads of stream errors and incomplete chats. I have enabled websocket support. But the problems persist. I can confirm websocket usage in the debug console.

Reproduction Details

Steps to Reproduce:

  • Update to 0.5.7 (from 0.4.x)
  • Chat with a model from azure open ai or deepseek apis.
  • Wait for the compeletion.
  • The compeletion fails almost every time when the result is long.

Logs and Screenshots

Browser Console Logs:

Image

Image
Why is open-webui resending the whole content of the current result every time? I'm not sure if this is related to the proble. But this is a problem.

Docker Container Logs:
N/A

Screenshots/Screen Recordings (if applicable):
Image
This is when the compeletion ends. Which is not normal.

Additional Information

N/A

Originally created by @chemwolf6922 on GitHub (Jan 30, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/9104 ## Installation Method docker with redis web socket. ## Environment - **Open WebUI Version:** 0.5.7 - **Ollama (if applicable):** N/A - **Operating System:** N/A - **Browser (if applicable):** N/A **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [x] I have included the browser console logs. - [ ] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: The completion should success. ## Actual Behavior: The completion failed with a stream error. ## Description **Bug Summary:** After updating to 0.5.7, I'm facing loads of stream errors and incomplete chats. I have enabled websocket support. But the problems persist. I can confirm websocket usage in the debug console. ## Reproduction Details **Steps to Reproduce:** * Update to 0.5.7 (from 0.4.x) * Chat with a model from azure open ai or deepseek apis. * Wait for the compeletion. * The compeletion fails almost every time when the result is long. ## Logs and Screenshots **Browser Console Logs:** ![Image](https://github.com/user-attachments/assets/0bff143e-2f83-4a4c-bcc5-e8985e07b7dc) ![Image](https://github.com/user-attachments/assets/06dde0ef-869c-4400-ae77-0c38817d1d9c) Why is open-webui resending the whole content of the current result every time? I'm not sure if this is related to the proble. But this is a problem. **Docker Container Logs:** N/A **Screenshots/Screen Recordings (if applicable):** ![Image](https://github.com/user-attachments/assets/c9dfa93c-0955-4ada-82d7-eeb1f2d91510) This is when the compeletion ends. Which is not normal. ## Additional Information N/A
Author
Owner

@tjbck commented on GitHub (Jan 30, 2025):

#8074

<!-- gh-comment-id:2623584159 --> @tjbck commented on GitHub (Jan 30, 2025): #8074
Author
Owner

@chemwolf6922 commented on GitHub (Jan 30, 2025):

I have set up websocket. Websocket is working. I'm not using a reverse proxy.
I think you may want to take another look at this.
@tjbck

<!-- gh-comment-id:2623596531 --> @chemwolf6922 commented on GitHub (Jan 30, 2025): I have set up websocket. Websocket is working. I'm not using a reverse proxy. I think you may want to take another look at this. @tjbck
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69988