URL: https://github.com/open-webui/open-webui/issues/15695
Title: issue: Using an external tool server causes the response to be unable to stop · Issue #15695 · open-webui/open-webui

Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search
Clear
Search syntax tips
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
Name
Query
To see all available qualifiers, see our
documentation
.
Cancel
Create saved search
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
open-webui
/
open-webui
Public
Sponsor
Notifications
You must be signed in to change notification settings
Fork
20.3k
Star
141k
Code
Issues
186
Pull requests
245
Discussions
Actions
Security and quality
93
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
issue: Using an external tool server causes the response to be unable to stop
#15695
New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
issue: Using an external tool server causes the response to be unable to stop
#15695
Copy link
Labels
bug
Something isn't working
Something isn't working
Description
EntropyYue
opened
on
Jul 14, 2025
Contributor
Issue body actions
Check Existing Issues
I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
Installation Method
Git Clone
Open WebUI Version
0.6.15
Ollama Version (if applicable)
0.9.6
Operating System
Windows 10
Browser (if applicable)
No response
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
provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly
listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup
(such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented
step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation
. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
Expected Behavior
The ollama's response should stop normally
Actual Behavior
Although the frontend no longer displays new tokens, ollama is still generating text, and the backend will encounter errors
Steps to Reproduce
Starting from PostgreSQL installation
Create a simple tool server
Connect to it using a direct connection
Request the model to use it in the native tool call mode
Click the stop button before the model stops generating
Logs & Screenshots
open-webui-1 | 2025-07-14 08:08:35.747 | WARNING | open_webui.utils.middleware:post_response_handler:2414 - Task was cancelled! - {}
open-webui-1 | 2025-07-14 08:08:35.777 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.18.0.1:0 - "POST /api/tasks/stop/857b6799-786a-477d-908a-8f60c440ad5a HTTP/1.1" 200 - {}
open-webui-1 | 2025-07-14 08:08:39.087 | ERROR | aiohttp.client:__del__:443 - Unclosed client session
open-webui-1 | client_session: <aiohttp.client.ClientSession object at 0x711e4d568fd0> - {}
open-webui-1 | 2025-07-14 08:08:39.087 | ERROR | aiohttp.connector:__del__:333 - Unclosed connector
open-webui-1 | connections: ['deque([(<aiohttp.client_proto.ResponseHandler object at 0x711e4d1e8750>, 109685.492257441)])']
open-webui-1 | connector: <aiohttp.connector.TCPConnector object at 0x711e5590e6d0> - {}
Additional Information
Output is only unstopable after calling the tool, while it is normal without the tool
Activity
EntropyYue
added
bug
Something isn't working
Something isn't working
on Jul 14, 2025
Godzilla675 commented
on Jul 25, 2025
Godzilla675
on Jul 25, 2025
More actions
i made this to fix your issue:
#16016
tjbck commented
on Aug 18, 2025
tjbck
on Aug 18, 2025
Contributor
More actions
#13027
tjbck
closed this as
duplicate
on Aug 18, 2025
EntropyYue commented
on Aug 27, 2025
EntropyYue
on Aug 27, 2025
Contributor
Author
More actions
@tjbck
This did not solve it, I used 0.6.25
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Metadata
Metadata
Assignees
No one assigned
Labels
bug
Something isn't working
Something isn't working
Type
No type
Fields
Give feedback
No fields configured for issues without a type.
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Participants
Issue actions
Footer
© 2026 GitHub, Inc.
Footer navigation
Terms
Privacy
Security
Status
Community
Docs
Contact
Manage cookies
Do not share my personal information
You can’t perform that action at this time.
