kasmtech / KasmVNC

Modern VNC Server and client, web based and secure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade kasmvnc from 0.94 to 1.3.0; It can be connected remotely, but as long as the mouse moves in the interface, the cable is disconnected and an error is reported

CourageKang opened this issue · comments

Describe the bug
Upgrade kasmvnc from 0.94 to 1.3.0; It can be connected remotely, but as long as the mouse moves in the interface, the cable is disconnected and an error is reported

System Description
[PRIO] Connections: closed: *****::websocket (invalid pixel format) [INFO] EncodeManager: Framebuffer updates: 33
[INFO] EncodeManager: Tight:
[INFO] EncodeManager: Solid: 1 rects, 46.17 kpixels
[INFO] EncodeManager: 16 B (1:11543.2 ratio)
[INFO] EncodeManager: Indexed RLE: 15 rects, 46.856 kpixels
[INFO] EncodeManager: 27.3223 KiB (1:6.70541 ratio)
[INFO] EncodeManager: Full Colour: 22 rects, 80.414 kpixels
[INFO] EncodeManager: 108.095 KiB (1:2.90833 ratio)
[INFO] EncodeManager: Tight (WEBP):
[INFO] EncodeManager: Full Colour: 30 rects, 1.73845 Mpixels
[INFO] EncodeManager: 754.948 KiB (1:8.99556 ratio)
[INFO] EncodeManager: Total: 68 rects, 1.91189 Mpixels
[INFO] EncodeManager: 890.381 KiB (1:8.38869 ratio)

Are you able to provide the full log file at ~/.vnc/*.log

Are you able to provide the full log file at ~/.vnc/*.log

Hello This is the current log, some potentially sensitive information has been * coded

2024-03-27 03:29:38,356 [DEBUG] Config: set KasmPasswordFile(String) to /home/ ******* /.kasmpasswd
2024-03-27 03:29:38,356 [DEBUG] Config: set DLP_ClipAcceptMax(Int) to 0
2024-03-27 03:29:38,356 [DEBUG] Config: set FrameRate(Int) to 60
2024-03-27 03:29:38,356 [DEBUG] Config: set AcceptCutText(Bool) to 1(1)
2024-03-27 03:29:38,356 [DEBUG] Config: set MaxVideoResolution(String) to 1920x1080
2024-03-27 03:29:38,356 [DEBUG] Config: set SendPrimary(Bool) to 0(0)
2024-03-27 03:29:38,356 [DEBUG] Config: set VideoScaling(Int) to 2
2024-03-27 03:29:38,356 [DEBUG] Config: set QueryConnectTimeout(Int) to 10
2024-03-27 03:29:38,356 [DEBUG] Config: set IgnoreClientSettingsKasm(Bool) to 0(0)
2024-03-27 03:29:38,356 [DEBUG] Config: set AllowOverride(String) to AcceptPointerEvents,SendCutText,AcceptCutText,SendPrimary
2024-03-27 03:29:38,356 [DEBUG] Config: set MaxDisconnectionTime(Int) to 0
2024-03-27 03:29:38,356 [DEBUG] Config: set DisconnectClients(Bool) to 1(1)
2024-03-27 03:29:38,356 [DEBUG] Config: set WebpVideoQuality(Int) to -1
2024-03-27 03:29:38,356 [DEBUG] Config: set AcceptKeyEvents(Bool) to 1(1)
2024-03-27 03:29:38,356 [DEBUG] Config: set MaxConnectionTime(Int) to 0
2024-03-27 03:29:38,356 [DEBUG] Config: set RawKeyboard(Bool) to 0(0)
2024-03-27 03:29:38,356 [DEBUG] Config: set DLP_ClipSendMax(Int) to 0
2024-03-27 03:29:38,356 [DEBUG] Config: set DynamicQualityMin(Int) to 7
2024-03-27 03:29:38,356 [DEBUG] Config: set DLP_ClipTypes(String) to chromium/x-web-custom-data,text/html,image/png
2024-03-27 03:29:38,356 [DEBUG] Config: set AcceptPointerEvents(Bool) to 1(1)
2024-03-27 03:29:38,356 [DEBUG] Config: set PrintVideoArea(Bool) to 0(0)
2024-03-27 03:29:38,356 [DEBUG] Config: set TreatLossless(Int) to 10
2024-03-27 03:29:38,356 [DEBUG] Config: set MaxIdleTime(Int) to 0
2024-03-27 03:29:38,356 [DEBUG] Config: set sslOnly(Bool) to 0(0)
2024-03-27 03:29:38,356 [DEBUG] Config: set AvoidShiftNumLock(Bool) to 0(0)
2024-03-27 03:29:38,356 [DEBUG] Config: set AcceptSetDesktopSize(Bool) to 1(1)
2024-03-27 03:29:38,356 [DEBUG] Config: set RectThreads(Int) to 0
2024-03-27 03:29:38,356 [DEBUG] Config: set IdleTimeout(Int) to 0
2024-03-27 03:29:38,356 [DEBUG] Config: set JpegVideoQuality(Int) to -1
2024-03-27 03:29:38,356 [DEBUG] Config: set DynamicQualityMax(Int) to 8
2024-03-27 03:29:38,356 [DEBUG] Config: set rfbport(Int) to 5901
2024-03-27 03:29:38,356 [DEBUG] Config: set PasswordFile(String) to /home/*******/.vnc/passwd
2024-03-27 03:29:38,356 [DEBUG] Config: set ClientWaitTimeMillis(Int) to 30000
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.1.230e50f7b89663316c70de7b0e3db6f6b9340489 - built Mar 15 2024 09:26:22
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12010000, The X.Org Foundation

2024-03-27 03:29:38,357 [DEBUG] vncext: Adding DLP binary mime type chromium/x-web-custom-data
2024-03-27 03:29:38,357 [DEBUG] vncext: Adding DLP binary mime type text/html
2024-03-27 03:29:38,357 [DEBUG] vncext: Adding DLP binary mime type image/png
2024-03-27 03:29:38,357 [DEBUG] vncext: Total 3 binary mime types
2024-03-27 03:29:38,357 [INFO] ICE: Using public IP 0.0.0.0 from args
2024-03-27 03:29:38,357 [INFO] vncext: VNC extension running!
2024-03-27 03:29:38,357 [DEBUG] Config: set immutable AllowOverride
2024-03-27 03:29:38,358 [INFO] vncext: Listening for websocket connections on 0.0.0.0 interface(s), port *******
2024-03-27 03:29:38,358 [DEBUG] VNCServerST: creating single-threaded server ********:1 ()
2024-03-27 03:29:38,358 [INFO] VNCServerST: CPU capability: SSE2 yes, AVX512f no
2024-03-27 03:29:38,358 [INFO] vncext: created VNC server for screen 0
2024-03-27 03:29:38,397 [INFO] Input: Mouse horizonatl scroll factor: 50.000000
2024-03-27 03:29:38,397 [INFO] Input: Mouse vertical scroll factor: 50.000000
2024-03-27 03:29:38,421 [DEBUG] WebUdp: UDP listening on port *******
Running /home/
/.vnc/xstartup

  • xset -dpms
    server does not have extension for -dpms option
  • xset s off
  • xset q
    Keyboard Control:
    auto repeat: on key click percent: 0 LED mask: 00000000
    XKB indicators:
    00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
    03: Compose: off 04: Kana: off 05: Sleep: off
    06: Suspend: off 07: Mute: off 08: Misc: off
    09: Mail: off 10: Charging: off 11: Shift Lock: off
    12: Group 2: off 13: Mouse Keys: off
    auto repeat delay: 660 repeat rate: 25
    auto repeating keys: 00ffffffdffffbbf
    fadfffefffedffff
    9fffffffffffffff
    fff7ffffffffffff
    bell percent: 50 bell pitch: 400 bell duration: 100
    Pointer Control:
    acceleration: 2/1 threshold: 4
    Screen Saver:
    prefer blanking: yes allow exposures: yes
    timeout: 0 cycle: 600
    Colors:
    default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
    Font Path:
    /usr/share/fonts/X11//misc,/usr/share/fonts/X11//Type1,built-ins
    DPMS (Energy Star):
    Server does not have the DPMS Extension
  • . /etc/X11/Xsession
  • set -e
  • PROGNAME=Xsession
  • OPTIONFILE=/etc/X11/Xsession.options
  • SYSRESOURCES=/etc/X11/Xresources
  • USRRESOURCES=/home/*******/.Xresources
  • SYSSESSIONDIR=/etc/X11/Xsession.d
  • USERXSESSION=/home/*******/.xsession
  • USERXSESSIONRC=/home/*******/.xsessionrc
  • ALTUSERXSESSION=/home/*******/.Xsession
  • ERRFILE=/home/*******/.xsession-errors
  • [ -w /home/*******/.xsession-errors ]
  • [ ! -L /home/*******/.xsession-errors ]
  • chmod 600 /home/*******/.xsession-errors
  • stat -c%s /home/*******/.xsession-errors
  • [ 0 -gt 500000 ]
  • exec
    2024-03-27 03:29:38,484 [DEBUG] Selection: Selection owner change for DBUS_SESSION_BUS_SELECTION****************
    2024-03-27 03:29:38,611 [DEBUG] Selection: Selection owner change for _XSETTINGS_S0
    2024-03-27 03:29:38,618 [DEBUG] Selection: Selection owner change for WM_S0
    2024-03-27 03:29:38,707 [DEBUG] Selection: Selection owner change for CLIPBOARD_MANAGER
    2024-03-27 03:29:38,708 [DEBUG] Selection: Selection owner change for XFDESKTOP_SELECTION_0
    2024-03-27 03:29:38,708 [DEBUG] Selection: Selection owner change for _NET_DESKTOP_MANAGER_S0
    2024-03-27 03:29:38,811 [DEBUG] Selection: Selection owner change for XFWM4_COMPOSITING_MANAGER
    2024-03-27 03:29:38,919 [DEBUG] Selection: Selection owner change for _NET_DESKTOP_LAYOUT_S0
    2024-03-27 03:29:39,010 [DEBUG] Selection: Selection owner change for _NET_SYSTEM_TRAY_S0
    2024-03-27 03:29:39,106 [DEBUG] Selection: Selection owner change for @server=fcitx
    2024-03-27 03:29:39,196 [INFO] websocket 0: got client connection from *************
    2024-03-27 03:29:39,196 [DEBUG] websocket 0: ignoring empty handshake
    2024-03-27 03:29:39,196 [DEBUG] websocket 0: No connection after handshake
    2024-03-27 03:29:39,196 [DEBUG] websocket 0: handler exit
    2024-03-27 03:29:40,358 [INFO] websocket 1: got client connection from *************
    2024-03-27 03:29:40,358 [DEBUG] websocket 1: ignoring empty handshake
    2024-03-27 03:29:40,358 [DEBUG] websocket 1: No connection after handshake
    2024-03-27 03:29:40,359 [DEBUG] websocket 1: handler exit
    2024-03-27 03:29:40,688 [INFO] websocket 2: got client connection from *************
    2024-03-27 03:29:40,691 [DEBUG] websocket 2: using SSL socket
    2024-03-27 03:29:40,691 [DEBUG] websocket 2: X-Forwarded-For ip ''
    2024-03-27 03:29:40,694 [DEBUG] websocket 2: BasicAuth matched
    2024-03-27 03:29:40,694 [DEBUG] websocket 2: Invalid WS request, maybe a HTTP one
    2024-03-27 03:29:40,694 [DEBUG] websocket 2: Requested file '/index.html'
    2024-03-27 03:29:40,694 [INFO] websocket 2: ************* ************* kasm_user "GET /index.html HTTP/1.1" 200 *******
    2024-03-27 03:29:40,694 [DEBUG] websocket 2: No connection after handshake
    2024-03-27 03:29:40,694 [DEBUG] websocket 2: handler exit
    2024-03-27 03:29:43,358 [INFO] websocket 3: got client connection from *************
    2024-03-27 03:29:43,358 [DEBUG] websocket 3: ignoring empty handshake
    2024-03-27 03:29:43,358 [DEBUG] websocket 3: No connection after handshake
    2024-03-27 03:29:43,359 [DEBUG] websocket 3: handler exit
    2024-03-27 03:30:55,798 [DEBUG] websocket 35: using SSL socket
    2024-03-27 03:30:55,798 [DEBUG] websocket 35: X-Forwarded-For ip '
    '
    2024-03-27 03:30:55,801 [DEBUG] websocket 35: BasicAuth matched
    2024-03-27 03:30:55,801 [DEBUG] websocket 35: Invalid WS request, maybe a HTTP one
    2024-03-27 03:30:55,801 [DEBUG] websocket 35: Requested file '/index.html'
    2024-03-27 03:30:55,801 [INFO] websocket 35: ************* ************* kasm_user "GET /index.html HTTP/1.1" 200 *****
    2024-03-27 03:30:55,801 [DEBUG] websocket 35: No connection after handshake
    2024-03-27 03:30:55,801 [DEBUG] websocket 35: handler exit
    2024-03-27 03:30:58,358 [INFO] websocket 36: got client connection from *************
    2024-03-27 03:30:58,358 [DEBUG] websocket 36: ignoring empty handshake
    2024-03-27 03:30:58,358 [DEBUG] websocket 36: No connection after handshake
    2024-03-27 03:30:58,358 [DEBUG] websocket 36: handler exit
    2024-03-27 03:30:59,160 [INFO] websocket 37: got client connection from *************
    2024-03-27 03:30:59,160 [DEBUG] websocket 37: ignoring empty handshake
    2024-03-27 03:30:59,160 [DEBUG] websocket 37: No connection after handshake
    2024-03-27 03:30:59,160 [DEBUG] websocket 37: handler exit
    2024-03-27 03:31:01,359 [INFO] websocket 38: got client connection from *************
    2024-03-27 03:31:01,359 [DEBUG] websocket 38: ignoring empty handshake
    2024-03-27 03:31:01,359 [DEBUG] websocket 38: No connection after handshake
    2024-03-27 03:31:01,359 [DEBUG] websocket 38: handler exit
    2024-03-27 03:31:02,816 [INFO] websocket 39: got client connection from *************
    2024-03-27 03:31:02,818 [DEBUG] websocket 39: using SSL socket
    2024-03-27 03:31:02,819 [DEBUG] websocket 39: X-Forwarded-For ip '*************'
    2024-03-27 03:31:02,822 [DEBUG] websocket 39: BasicAuth matched
    2024-03-27 03:31:02,822 [DEBUG] websocket 39: using protocol HyBi/IETF 6455 13
    2024-03-27 03:31:02,822 [DEBUG] websocket 39: connecting to VNC target
    2024-03-27 03:31:02,822 [DEBUG] XserverDesktop: new client, sock 44
    2024-03-27 03:31:02,829 [INFO] EncodeManager: WEBP benchmark result: 5 ms
    2024-03-27 03:31:02,829 [PRIO] Connections: accepted: *************::websocket
    2024-03-27 03:31:03,091 [DEBUG] SConnection: reading protocol version
    2024-03-27 03:31:03,091 [INFO] SConnection: Client needs protocol version 3.8
    2024-03-27 03:31:03,321 [DEBUG] SConnection: processing security type message
    2024-03-27 03:31:03,321 [INFO] SConnection: Client requests security type VncAuth(2)
    2024-03-27 03:31:03,321 [DEBUG] SConnection: processing security message
    2024-03-27 03:31:03,561 [DEBUG] SConnection: processing security message
    2024-03-27 03:31:03,561 [DEBUG] SVncAuth: reading password file
    2024-03-27 03:31:03,561 [DEBUG] VNCServerST: starting desktop
    2024-03-27 03:31:03,564 [INFO] VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
    2024-03-27 03:31:03,871 [DEBUG] SConnection: reading client initialisation
    2024-03-27 03:31:04,100 [INFO] VNCSConnST: Client pixel format depth 24 (32bpp) little-endian bgr888
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param vmwareCursorPosition, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param cursor, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param vmwareCursor, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set PreferBandwidth(Bool) to 1
    2024-03-27 03:31:04,102 [DEBUG] Config: set DynamicQualityMin(Int) to 2
    2024-03-27 03:31:04,102 [DEBUG] Config: set DynamicQualityMax(Int) to 9
    2024-03-27 03:31:04,102 [DEBUG] Config: set TreatLossless(Int) to 8
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param preferBandwidth, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set FrameRate(Int) to 24
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param frameRate 24, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set VideoScaling(Int) to 0
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param videoScaling 0, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set VideoOutTime(Int) to 3
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param videoOutTime 3, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set VideoTime(Int) to 5
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param videoTime 5, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set VideoArea(Int) to 65
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param videoArea 65, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set DynamicQualityMax(Int) to 9
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param dynamicQualityMax 9, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set DynamicQualityMin(Int) to 4
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param dynamicQualityMin 4, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set TreatLossless(Int) to 7
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param treatLossless 7, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set WebpVideoQuality(Int) to 7
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param webpVideoQuality 7, applied
    2024-03-27 03:31:04,102 [DEBUG] Config: set JpegVideoQuality(Int) to 7
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param jpegVideoQuality 7, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param webp, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param extendedClipboard, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param desktopRename, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param continuousUpdates, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param fence, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param extendedDesktopSize, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param qemuKeyEvent, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param lastRect, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param desktopSize, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param compressLevel 2, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param qualityLevel 6, applied
    2024-03-27 03:31:04,102 [DEBUG] CP: Client sent config param copyrect, applied
    2024-03-27 03:31:04,330 [DEBUG] XserverDesktop: Got request for framebuffer resize to 1920x934
    2024-03-27 03:31:04,330 [DEBUG] XserverDesktop: 1 screen(s)
    0 (0x00000000): 1920x934+0+0 (flags 0x00000000)

2024-03-27 03:31:04,330 [DEBUG] RandR: Resizing screen framebuffer to 1920x934
2024-03-27 03:31:04,334 [INFO] ComparingUpdateTracker: 0 pixels in / 0 pixels out
2024-03-27 03:31:04,334 [INFO] ComparingUpdateTracker: (1:-nan ratio)
2024-03-27 03:31:04,334 [DEBUG] RandR: Reconfiguring new output 'VNC-0' to 1920x934+0+0
2024-03-27 03:31:04,334 [DEBUG] Config: set MaxVideoResolution(String) to 960x540
2024-03-27 03:31:04,334 [DEBUG] SMsgReader: Client sent config param maxVideoResolution 960x540, applied
2024-03-27 03:31:04,335 [DEBUG] Selection: Selection owner change for _NET_DESKTOP_LAYOUT_S0
2024-03-27 03:31:04,336 [DEBUG] Selection: Selection owner change for _NET_DESKTOP_LAYOUT_S0
2024-03-27 03:31:04,358 [INFO] websocket 40: got client connection from *************
2024-03-27 03:31:04,359 [DEBUG] websocket 40: ignoring empty handshake
2024-03-27 03:31:04,359 [DEBUG] websocket 40: No connection after handshake
2024-03-27 03:31:04,359 [DEBUG] websocket 40: handler exit
2024-03-27 03:31:05,952 [DEBUG] websocket 39: target closed connection
2024-03-27 03:31:05,952 [DEBUG] websocket 39: handler exit
2024-03-27 03:31:05,952 [DEBUG] XserverDesktop: client gone, sock 44
2024-03-27 03:31:05,952 [PRIO] Connections: closed: *************::websocket (invalid pixel format)
2024-03-27 03:31:05,952 [INFO] EncodeManager: Framebuffer updates: 2
2024-03-27 03:31:05,952 [INFO] EncodeManager: Tight:
2024-03-27 03:31:05,952 [INFO] EncodeManager: Solid: 2 rects, 73.65 kpixels
2024-03-27 03:31:05,952 [INFO] EncodeManager: 32 B (1:9207 ratio)
2024-03-27 03:31:05,952 [INFO] EncodeManager: Indexed RLE: 3 rects, 8.51 kpixels
2024-03-27 03:31:05,953 [INFO] EncodeManager: 913 B (1:37.3231 ratio)
2024-03-27 03:31:05,953 [INFO] EncodeManager: Tight (WEBP):
2024-03-27 03:31:05,953 [INFO] EncodeManager: Full Colour: 45 rects, 2.49755 Mpixels
2024-03-27 03:31:05,953 [INFO] EncodeManager: 1.06731 MiB (1:8.92703 ratio)
2024-03-27 03:31:05,953 [INFO] EncodeManager: Total: 50 rects, 2.57971 Mpixels
2024-03-27 03:31:05,953 [INFO] EncodeManager: 1.06821 MiB (1:9.21295 ratio)
2024-03-27 03:31:05,953 [DEBUG] VNCServerST: stopping desktop
2024-03-27 03:31:05,953 [INFO] ComparingUpdateTracker: 1.79328 Mpixels in / 1.79328 Mpixels out
2024-03-27 03:31:05,953 [INFO] ComparingUpdateTracker: (1:1 ratio)

commented

This is due to the mouse code being out of sync. That is, the JS client code being served is out of date, please make sure it's from the same Kasm version.

This is due to the mouse code being out of sync. That is, the JS client code being served is out of date, please make sure it's from the same Kasm version.

I have upgraded noVnc to the corresponding 1.3 version, but this error is still reported. And I'm not sure if it's an error when the mouse moves or if it's an error whenever the interface changes.

commented

If you didn't restart your browser, you may need to clear browser caches for the new JS to be used.

If you didn't restart your browser, you may need to clear browser caches for the new JS to be used.

I deployed noVnc using nginx and then connected to kasmvnc's ubuntu container. I've been debugging for a few weeks now, and the browser cache should have cleared a few times, but it's still the same error. The feeling is that there is a problem with kasmvnc or novnc parameters

commented

If it happens exactly when you move the mouse, it's clear this is the issue, we saw it back then when the change was first introduced. Could it be you have upstream novnc instead of kasm's?

If it happens exactly when you move the mouse, it's clear this is the issue, we saw it back then when the change was first introduced. Could it be you have upstream novnc instead of kasm's?

The currently installed novnc version is 1.3, which can work normally with my previous 0.9 version of kasmvnc, only the 1.3 version of kasmvnc after upgrade will have this error

Please use the noVNC that is baked into KasmVNC. It is clear that you are tryin to do something custom. We are happy to have people use KAsmVNC for custom integrations, that is fantastic, but we cannot provide engineering support for custom integrations. If you are able to replicate the issue using KAsmVNC that has not been modified in anyway and is using noVNC that is baked into the produdct and does not have NGINX in front of it, please reopen the ticket. I am happy to look into the issue if I can easily replicate it by installing KasmVNC on the same OS as yours without any modifications.