mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-06 08:55:40 -05:00
[GH-ISSUE #368] Leaving Komodo Web UI in the background makes it send tons of WebSocket connections and drains server's CPU #2136
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AnotiaWang on GitHub (Mar 18, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/368
Komodo version: v1.17.0
Browser: Vivaldi 7.2.3621.63 (Stable channel) (arm64)
To reproduce:
Behavior:
@Buco7854 commented on GitHub (Mar 28, 2025):
Same thing, getting myself blacklisted from my own server since it triggers ratelimits.
@Kickbut101 commented on GitHub (Mar 28, 2025):
Same, finding other issues in network (pihole) complaining about lots of requests.
This is my ALL-TIME permitted domains, for my entire network.
Komodo is already # 4 in pihole, and I only installed it last week...
@Kribbage commented on GitHub (Mar 29, 2025):
well that could explain all the issues I've been having...
@mbecker20 commented on GitHub (Mar 29, 2025):
I see, yes it will aggressively try to reconnect the ws, it needs more of a cooldown
@AnotiaWang commented on GitHub (Mar 29, 2025):
Maybe we could make use of the Page Visibility API or the visibilitychange event, and only try to reconnect when the page is in the foreground
@AnotiaWang commented on GitHub (Apr 17, 2025):
@mbecker20 I've upgraded Komodo to v1.17.1, seems that the issue is not fixed
@royaltongue commented on GitHub (Apr 29, 2025):
Still seeing this with the latest version released yesterday
@cwelsys commented on GitHub (May 1, 2025):
Also experiencing this. I just got IP 🤖banned from my own Komodo instance because of it
@em411 commented on GitHub (May 4, 2025):
If Komodo uses websockets just for sending updates, perhaps we could use Server Sent Events? SSE are unidirectional, simpler, has a built-in reconnection mechanism, and uses fewer resources.
@Buco7854 commented on GitHub (May 4, 2025):
If websocket is already implemented using the visibility change API is probably easier.
@mbecker20 commented on GitHub (May 4, 2025):
Check 1.17.5
@AnotiaWang commented on GitHub (May 5, 2025):
Tested 1.17.5, the reconnecting behavior is much less aggressive now. 👍
@mbecker20 commented on GitHub (Aug 27, 2025):
Should be good since last several releases