---
schema: rendered-html/v1
title: "issue: Using an external tool server causes the response to be unable to stop · Issue #15695 · open-webui/open-webui"
source_url: https://github.com/open-webui/open-webui/issues/15695
generated_at: 2026-06-11T23:48:07.697992+00:00
---

[Skip to content](#start-of-content)


## Navigation Menu

Toggle navigation

[Sign in](/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-webui%2Fopen-webui%2Fissues%2F15695)

Appearance settings

- Platform

  - AI CODE CREATION
    - [GitHub CopilotWrite better code with AI](https://github.com/features/copilot)
    - [GitHub Copilot appDirect agents from issue to merge](https://github.com/features/ai/github-app)
    - [MCP RegistryNewIntegrate external tools](https://github.com/mcp)
  - DEVELOPER WORKFLOWS
    - [ActionsAutomate any workflow](https://github.com/features/actions)
    - [CodespacesInstant dev environments](https://github.com/features/codespaces)
    - [IssuesPlan and track work](https://github.com/features/issues)
    - [Code ReviewManage code changes](https://github.com/features/code-review)
  - APPLICATION SECURITY
    - [GitHub Advanced SecurityFind and fix vulnerabilities](https://github.com/security/advanced-security)
    - [Code securitySecure your code as you build](https://github.com/security/advanced-security/code-security)
    - [Secret protectionStop leaks before they start](https://github.com/security/advanced-security/secret-protection)
  - EXPLORE
    - [Why GitHub](https://github.com/why-github)
    - [Documentation](https://docs.github.com)
    - [Blog](https://github.blog)
    - [Changelog](https://github.blog/changelog)
    - [Marketplace](https://github.com/marketplace)

  [View all features](https://github.com/features)
- Solutions

  - BY COMPANY SIZE
    - [Enterprises](https://github.com/enterprise)
    - [Small and medium teams](https://github.com/team)
    - [Startups](https://github.com/enterprise/startups)
    - [Nonprofits](https://github.com/solutions/industry/nonprofits)
  - BY USE CASE
    - [App Modernization](https://github.com/solutions/use-case/app-modernization)
    - [DevSecOps](https://github.com/solutions/use-case/devsecops)
    - [DevOps](https://github.com/solutions/use-case/devops)
    - [CI/CD](https://github.com/solutions/use-case/ci-cd)
    - [View all use cases](https://github.com/solutions/use-case)
  - BY INDUSTRY
    - [Healthcare](https://github.com/solutions/industry/healthcare)
    - [Financial services](https://github.com/solutions/industry/financial-services)
    - [Manufacturing](https://github.com/solutions/industry/manufacturing)
    - [Government](https://github.com/solutions/industry/government)
    - [View all industries](https://github.com/solutions/industry)

  [View all solutions](https://github.com/solutions)
- Resources

  - EXPLORE BY TOPIC
    - [AI](https://github.com/resources/articles?topic=ai)
    - [Software Development](https://github.com/resources/articles?topic=software-development)
    - [DevOps](https://github.com/resources/articles?topic=devops)
    - [Security](https://github.com/resources/articles?topic=security)
    - [View all topics](https://github.com/resources/articles)
  - EXPLORE BY TYPE
    - [Customer stories](https://github.com/customer-stories)
    - [Events & webinars](https://github.com/resources/events)
    - [Ebooks & reports](https://github.com/resources/whitepapers)
    - [Business insights](https://github.com/solutions/executive-insights)
    - [GitHub Skills](https://skills.github.com)
  - SUPPORT & SERVICES
    - [Documentation](https://docs.github.com)
    - [Customer support](https://support.github.com)
    - [Community forum](https://github.com/orgs/community/discussions)
    - [Trust center](https://github.com/trust-center)
    - [Partners](https://github.com/partners)

  [View all resources](https://github.com/resources)
- Open Source

  - COMMUNITY
    - [GitHub SponsorsFund open source developers](https://github.com/sponsors)
  - PROGRAMS
    - [Security Lab](https://securitylab.github.com)
    - [Maintainer Community](https://maintainers.github.com)
    - [Accelerator](https://github.com/accelerator)
    - [GitHub Stars](https://stars.github.com)
    - [Archive Program](https://archiveprogram.github.com)
  - REPOSITORIES
    - [Topics](https://github.com/topics)
    - [Trending](https://github.com/trending)
    - [Collections](https://github.com/collections)
- Enterprise

  - ENTERPRISE SOLUTIONS
    - [Enterprise platformAI-powered developer platform](https://github.com/enterprise)
  - AVAILABLE ADD-ONS
    - [GitHub Advanced SecurityEnterprise-grade security features](https://github.com/security/advanced-security)
    - [Copilot for BusinessEnterprise-grade AI features](https://github.com/features/copilot/copilot-business)
    - [Premium SupportEnterprise-grade 24/7 support](https://github.com/premium-support)
- [Pricing](https://github.com/pricing)

Search or jump to...


# Search code, repositories, users, issues, pull requests...

Search

Clear

[Search syntax tips](https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax)

# 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](https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax).

Cancel
 Create saved search

[Sign in](/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-webui%2Fopen-webui%2Fissues%2F15695)

[Sign up](/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=open-webui%2Fopen-webui)

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) 
/
**[open-webui](/open-webui/open-webui)**
Public

- [Sponsor](/sponsors/tjbck)
- [Notifications](/login?return_to=%2Fopen-webui%2Fopen-webui) You must be signed in to change notification settings
- [Fork
  20.3k](/login?return_to=%2Fopen-webui%2Fopen-webui)
- [Star
   141k](/login?return_to=%2Fopen-webui%2Fopen-webui)

- [Code](/open-webui/open-webui)
- [Issues
  186](/open-webui/open-webui/issues)
- [Pull requests
  245](/open-webui/open-webui/pulls)
- [Discussions](/open-webui/open-webui/discussions)
- [Actions](/open-webui/open-webui/actions)
- [Security and quality
  93](/open-webui/open-webui/security)
- [Insights](/open-webui/open-webui/pulse)

Additional navigation options


- [Code](/open-webui/open-webui)
- [Issues](/open-webui/open-webui/issues)
- [Pull requests](/open-webui/open-webui/pulls)
- [Discussions](/open-webui/open-webui/discussions)
- [Actions](/open-webui/open-webui/actions)
- [Security and quality](/open-webui/open-webui/security)
- [Insights](/open-webui/open-webui/pulse)

# issue: Using an external tool server causes the response to be unable to stop #15695

[New issue](/login?return_to=https://github.com/open-webui/open-webui/issues/15695)

Copy link

[New issue](/login?return_to=https://github.com/open-webui/open-webui/issues/15695)

Copy link

Closed as duplicate

Closed as duplicate

[issue: Using an external tool server causes the response to be unable to stop](#top)#15695

Copy link

Labels

[bugSomething isn't working](https://github.com/open-webui/open-webui/issues?q=state%3Aopen%20label%3A%22bug%22)Something isn't working

[![@EntropyYue](images/github__com__open-webui__open-webui__issues__15695__164553692__d61b7fe9.jpg)](https://github.com/EntropyYue)

## Description

[![@EntropyYue](images/github__com__open-webui__open-webui__issues__15695__164553692.jpg)](https://github.com/EntropyYue)

[EntropyYue](https://github.com/EntropyYue)

opened [on Jul 14, 2025](https://github.com/open-webui/open-webui/issues/15695#issue-3226996445)

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

[![](images/github__com__open-webui__open-webui__issues__15695__164553692__3116612c.jpg)EntropyYue](/EntropyYue)

added

[bugSomething isn't working](/open-webui/open-webui/issues?q=state%3Aopen%20label%3A%22bug%22)Something isn't working

[on Jul 14, 2025](https://github.com/open-webui/open-webui/issues/15695#event-18607723118)

[![Godzilla675](images/github__com__open-webui__open-webui__issues__15695__131464726__cff5f1a4.png)](https://github.com/Godzilla675)

### Godzilla675 commented on Jul 25, 2025

[![@Godzilla675](images/github__com__open-webui__open-webui__issues__15695__131464726.png)](/Godzilla675)

[Godzilla675](/Godzilla675)

[on Jul 25, 2025](https://github.com/open-webui/open-webui/issues/15695#issuecomment-3115694722)

More actions

i made this to fix your issue: [#16016](https://github.com/open-webui/open-webui/pull/16016)

[![tjbck](images/github__com__open-webui__open-webui__issues__15695__25473318.jpg)](https://github.com/tjbck)

### tjbck commented on Aug 18, 2025

[![@tjbck](images/github__com__open-webui__open-webui__issues__15695__25473318__d0f1fdd5.jpg)](/tjbck)

[tjbck](/tjbck)

[on Aug 18, 2025](https://github.com/open-webui/open-webui/issues/15695#issuecomment-3197828235)

Contributor

More actions

[#13027](https://github.com/open-webui/open-webui/issues/13027)

[![](images/github__com__open-webui__open-webui__issues__15695__25473318__baea6d83.jpg)tjbck](/tjbck)

closed this as [duplicate](/open-webui/open-webui/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Aduplicate)[on Aug 18, 2025](https://github.com/open-webui/open-webui/issues/15695#event-19208679918)

[![EntropyYue](images/github__com__open-webui__open-webui__issues__15695__164553692__d61b7fe9.jpg)](https://github.com/EntropyYue)

### EntropyYue commented on Aug 27, 2025

[![@EntropyYue](images/github__com__open-webui__open-webui__issues__15695__164553692.jpg)](/EntropyYue)

[EntropyYue](/EntropyYue)

[on Aug 27, 2025](https://github.com/open-webui/open-webui/issues/15695#issuecomment-3230129935)

ContributorAuthor

More actions

[@tjbck](https://github.com/tjbck) This did not solve it, I used 0.6.25

[Sign up for free](/signup?return_to=https://github.com/open-webui/open-webui/issues/15695) **to join this conversation on GitHub.** Already have an account? [Sign in to comment](/login?return_to=https://github.com/open-webui/open-webui/issues/15695)

## Metadata

## Metadata

### Assignees

No one assigned

### Labels

[bugSomething isn't working](https://github.com/open-webui/open-webui/issues?q=state%3Aopen%20label%3A%22bug%22)Something isn't working

### Type

No type

### Fields

[Give feedback](https://github.com/orgs/community/discussions/189141)

No fields configured for issues without a type.

### Projects

No projects

### Milestone

No milestone

### Relationships

None yet

### Development

No branches or pull requests

### Participants

[![@tjbck](images/github__com__open-webui__open-webui__issues__15695__25473318__baea6d83.jpg)](/tjbck)[![@Godzilla675](images/github__com__open-webui__open-webui__issues__15695__131464726__cf010dc6.png)](/Godzilla675)[![@EntropyYue](images/github__com__open-webui__open-webui__issues__15695__164553692__3116612c.jpg)](/EntropyYue)

## Issue actions

## Footer

© 2026 GitHub, Inc.

### Footer navigation

- [Terms](https://docs.github.com/site-policy/github-terms/github-terms-of-service)
- [Privacy](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement)
- [Security](https://github.com/security)
- [Status](https://www.githubstatus.com/)
- [Community](https://github.community/)
- [Docs](https://docs.github.com/)
- [Contact](https://support.github.com?tags=dotcom-footer)
- Manage cookies
- Do not share my personal information


You can’t perform that action at this time.
