[GH-ISSUE #14384] issue: Clicking the stop button doesn't have any effect before text output has started #17231

Closed
opened 2026-04-19 22:56:39 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @rotemdan on GitHub (May 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14384

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

After text has started streaming, I verified (via server logs) the connection is terminated when the stop button is clicked.

However, in the period between the request is sent, and the server response starts (likely before headers are sent), clicking the stop button doesn't terminate the connection (no connection closing is logged on the server side).

Even if click multiple times during this period, text will still stream afterwards (see screen capture).

When stream mode is turned off, I saw similar behavior.

Using v0.6.11 on latest Brave Browser / Windows 11

Desired Solution you'd like

Clicking the stop button should terminate the connection with the server, which would also signal it to abort processing the prompt.

Alternatives Considered

There aren't really any simple workarounds for this.

Additional Context

Image

Originally created by @rotemdan on GitHub (May 27, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/14384 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description After text has started streaming, I verified (via server logs) the connection is terminated when the stop button is clicked. However, in the period between the request is sent, and the server response starts (likely before headers are sent), clicking the stop button doesn't terminate the connection (no connection closing is logged on the server side). Even if click multiple times during this period, text will still stream afterwards (see screen capture). When stream mode is turned off, I saw similar behavior. Using `v0.6.11` on latest Brave Browser / Windows 11 ### Desired Solution you'd like Clicking the stop button should terminate the connection with the server, which would also signal it to abort processing the prompt. ### Alternatives Considered There aren't really any simple workarounds for this. ### Additional Context ![Image](https://github.com/user-attachments/assets/c4fe41d2-b0e4-42d4-8b52-a36407eb0e34)
Author
Owner

@tjbck commented on GitHub (May 27, 2025):

#13027

<!-- gh-comment-id:2911744726 --> @tjbck commented on GitHub (May 27, 2025): #13027
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#17231