Skip to content

[ITEP-91776] KVM session websocket disconnects automatically after some time #2495

@ANUSHABHASKAR

Description

@ANUSHABHASKAR

mps-kvm-idle-test 2.log

KVM active session terminates when Browser Window is minimized

When users minimize the angular app(KVM viewer) as part of the entire browser window, the KVM CIRA channel is closed and the relay WebSocket connection to MPS is torn down
Note: when the browser is maximized and remains active (not idle) during that period, the connections remain alive.

Attached are the MPS logs from a few attempts, all showing the same pattern.

MPS: CHANNEL_DATA, 16, 800      //KVM screen data actively flowing
MPS: CHANNEL_DATA, 16, 251
MPS: CHANNEL_DATA, 16, 549
MPS: CHANNEL_DATA, 16, 320
MPS: CHANNEL_CLOSE 16           //channel close
MPS: SendChannelClose, 2       
Relay CIRA state change:0
Closing web socket connection   //MPS closes relay WS to client
Closing web socket connection to 94e00576: 16994   //CIRA tunnel drops (~30s later)

2026-05-20T03:55:43.894000407-07:00 2026-05-20T10:55:43.893Z silly: MPS: CHANNEL_DATA, 16, 320
2026-05-20T03:55:43.894037167-07:00 2026-05-20T10:55:43.893Z silly: MPS: CHANNEL_CLOSE 16
2026-05-20T03:55:43.894040895-07:00 2026-05-20T10:55:43.894Z silly: MPS: SendChannelClose, 2
2026-05-20T03:55:43.894107881-07:00 2026-05-20T10:55:43.894Z debug: Relay CIRA state change:0
2026-05-20T03:55:43.894118130-07:00 2026-05-20T10:55:43.894Z debug: Closing web socket connection
2026-05-20T03:55:51.371053951-07:00 2026-05-20T10:55:51.370Z verbose: Executed Query: {"text":"SELECT 1","duration":9,"rows":1}
2026-05-20T03:56:13.895983069-07:00 2026-05-20T10:56:13.895Z debug: Closing web socket connection to 94e00576-d750-3391-de61-48210b50d802: 16994.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions