Skip to content

OBS WebSocket connections leak - multiple unidentified sessions accumulate over time #37

@bvnderb

Description

@bvnderb

System: Bazzite (immutable Fedora-based), KDE Wayland
StreamController version: Latest (running on end-of-life GNOME 48 runtime)
OBS version: Latest

Issue:
StreamController repeatedly spawns new WebSocket connections to OBS without closing existing ones. Over time this results in dozens of unidentified sessions visible in OBS's WebSocket Server Settings, causing severely delayed or unresponsive OBS actions (e.g. Toggle Recording takes ~20 seconds to respond).

To reproduce:

  1. Set up StreamController with OBS plugin
  2. Use OBS actions for a while, or let StreamController run in the background
  3. Open OBS → Tools → WebSocket Server Settings
  4. Multiple unidentified sessions will be visible, all from localhost
  5. Expected: One identified WebSocket session managed by StreamController
  6. Actual: Dozens of unidentified sessions accumulate over time causing ~20 second delays on actions

Workaround: Manually kicking all sessions in OBS WebSocket settings temporarily restores functionality but connections reappear quickly.

Additional note: StreamController is currently running on the end-of-life GNOME 48 runtime which may be contributing to overall instability.

Info: runtime org.gnome.Platform branch 48 is end-of-life, with reason:
  The GNOME 48 runtime is no longer supported as of March 24, 2026. 
  Please ask your application developer to migrate to a supported platform.
Info: applications using this runtime:
  com.core447.StreamController

(StreamController:3): Gsk-WARNING **: 23:53:14.272: The old GL renderer has been removed. Try GSK_RENDERER=help

2026-04-12 23:53:13.882 | INFO     | src.backend.WindowGrabber.WindowGrabber:init_integration:64 - Initializing window grabber for environment: kde under server: wayland
Portal call failed: Failed to start command: Failed to execute child process "kdotool" (No such file or directory)

2026-04-12 23:53:13.602 | ERROR    | __main__:quit_running:247 - org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
2026-04-12 23:53:13.614 | ERROR    | src.backend.GnomeExtensions:connect_dbus:38 - Failed to connect to D-Bus: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions