Incus version 6.22
Ubuntu 24.04. 6.8.0-101-generic
We had a remote conole with xterm.js running for years.
Posting to /1.0/instances/{name}/console works, get the operation and data/control secrets.
ControlURL: wss://host_IP:8443/1.0/operations/{opertaion}/websocket?secret={[“fds”][control]}
DataURL: wss://host_IP:8443/1.0/operations/{opertaion}/websocket?secret={[“fds”][0]}
though websocket dies with:
[error]: Data undefined
[close]: died Data1006
Keystrokes producing “WebSocket is already in CLOSING or CLOSED state”
Can not debug it further, lxc monitor shows class websocket created, going than from status code 105 to status code 103.
Tested with Ubuntu and alpine containers.
Certificates and config trust certificates are fine, all other API trusted transactions working so far.
It had worked for many years, recently after an upgrade, stopped working, unfortunately can’t trace back which Incus upgrade broke it.
Could it be related to host/container root subuid & subgid?