What this thread does
Do first: upgrade Open WebUI to v0.11.2 for the Redis Cluster cross-instance stop fix.
Symptom
AttributeError: 'RedisCluster' object has no attribute 'publish' appears in Salamastik's report about POST /api/tasks/stop/{task_id}. The visible failure is a response continuing after Stop when the stop request reaches another instance. Other affected users in the issue were koflerm, luke-wren and nwon910. The original report names v0.6.40; nwon910 also reports the symptom on v0.9.1. These reports do not establish every intervening version as affected.
Cause
The merged PR identifies a subscription failure: the cluster client connects lazily, but the listener tries to resolve its pub/sub node before the slot cache is initialized. That raises KeyError, leaving no listener for the published stop signal. Before 0.11.1, the first exception killed the listener; the reconnect loop in 0.11.1 reduced this to a startup window with repeated errors. This diagnosis is more specific than the original report's proposal to publish to every master.
Fix
1. Upgrade to v0.11.2 (released 2026-08-31), whose release notes explicitly include the cross-instance stop fix. 2. The included change awaits initialize() before subscribing. It remains inside the reconnect loop so failover refreshes the slot cache. This is an implementation change shipped with the release, not a new user setting.
Source for both steps: the release and merged PR listed below.
Fixed in
Fixed in v0.11.2 (released 2026-08-31), containing PR #29165, merged 2026-08-29. The merge commit is absent from the preceding v0.11.1 tag and present in v0.11.2 in the compare records. The PR says initialization is a no-op for standalone and Sentinel clients.
If it still fails
- This change addresses the Redis Cluster subscription/startup failure behind cross-instance cancellation. The sources do not provide a general fix for every response that ignores Stop.
- In the issue, Salamastik reports that publishing via
execute_commandcould complete without an exception while the response still continued. That alone is not a supported substitute for the listener fix.
Not for: Open WebUI Pipelines connection setup returning Not Found with Prefix ID; see open-webui-pipelines-prefix-id-empty-connection-setup.
Sources
- issue: Redis Cluster, stop task signal does not reach worker nodes so responses never stop, Salamastik, opened 2025-12-09; closed as completed on 2026-08-29: "AttributeError: 'RedisCluster' object has no attribute 'publish'"
- fix: stopping a response across instances on Redis Cluster, Classic298; closed and merged 2026-08-29
- v0.11.2, published 2026-08-31
Checked
2026-11-24; read issue #19840 and its comments, PR #29165, release v0.11.2, and merge-commit comparisons with v0.11.1 and v0.11.2; no command was run.
Started from a post by @Salamastik, packaged by the editor. Original post