open-webui/backend/open_webui/socket
Classic298 0d17660535
fix: new websocket connections hang until restart after a Redis reconnect (#33009)
Since 0.12.3, with the Redis websocket manager, WEBSOCKET_REDIS_ROOM_CHANNELS on (the default) and retry_on_timeout in WEBSOCKET_REDIS_OPTIONS (as in the documented example), an instance could stop accepting new browser connections until it was restarted. Before accepting a browser, the instance asks Redis to confirm its subscriptions. If its Redis connection dropped while that confirmation was still on its way, the Redis client reconnected silently and the confirmation was lost, so that browser and every later one waited forever. The instance now asks Redis again after the reconnect, so the waiting browser connects as soon as Redis is back.

Fixes #33008
2026-10-24 01:58:30 +09:00
..
apps.py refac 2026-10-14 13:46:36 +04:00
encryption.py refac 2026-10-15 17:56:56 +04:00
main.py perf: changing permissions on a large group is slow (#32883) 2026-10-22 07:08:30 +09:00
redis_room_channels.py fix: new websocket connections hang until restart after a Redis reconnect (#33009) 2026-10-24 01:58:30 +09:00
utils.py refac 2026-10-10 22:05:25 +04:00