Skip to content

[BUG] swag-ondemand: Ignores websockets #1090

@chripede

Description

@chripede

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

When using something like linuxserver/firefox with swag_ondemand, swag will kill the container while it is being used, because all traffic is done via an open websocket. I guess that is because nothing is logged as the connection is long living.

Name of base container

swag

Current Behavior

Kills active container

Expected Behavior

The container should not be killed while in use

Steps To Reproduce

  1. Start linuxserver/firefox with swag_ondemand
  2. Use it
  3. Wait for the kill timeout

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

.

Container logs

2025-11-29 22:07:27 - Thread-1 - INFO - Started firefox
2025-11-29 22:23:43 - Thread-1 - INFO - Stopped firefox after 600s of inactivity
2025-11-29 22:23:48 - Thread-1 - INFO - Started firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions