【急!!】jumpserver(v4.10.6)连接web资产,偶发连接错误

问题:jumpserver(v4.10.6)通过发布机连接远程web资产,会出现偶发的连接错误,提示是用户名和密码错误,但实际不是,前段控制台日志:

Connecting to Guacamole with params: TOKEN_ID=1fb2b3e7-4fb5-494e-a265-0ed09c7a62b3&GUAC_WIDTH=1920&GUAC_HEIGHT=433&GUAC_DPI=96&GUAC_IMAGE=image%2Fjpeg&GUAC_IMAGE=image%2Fpng&GUAC_IMAGE=image%2Fwebp&GUAC_AUDIO=audio%2FL8&GUAC_AUDIO=audio%2FL16
index-hclUILBk.js:3959 Guacamole client state changed: 1
index-hclUILBk.js:3959 Guacamole client state changed: 2
index-hclUILBk.js:3838 LunaCommunicator initialized with ID: window-fzwyt3rg1j, Origin: https://omt.prod.onmc.top:31284, Protocol: undefined
index-hclUILBk.js:3959 Sending resize to Guacamole client: 1920 433
index-hclUILBk.js:3959 Received JMS event: session
index-hclUILBk.js:3959 WebSocket UUID: $aa184730-bdc4-45a4-88fa-7aeb526cee10
index-hclUILBk.js:3959 Received JMS event: current_user
index-hclUILBk.js:3959 Received JMS event: share_users
index-hclUILBk.js:3959 Online users updated: Proxy(Object) {admin@showsite(admin@showsite)2026-04-23 01:30:43.600924703 +0000 UTC: {…}}
index-hclUILBk.js:3959 Guacamole file system object received: M.Object {index: 0, onundefine: null, onbody: ƒ, requestInputStream: ƒ, createOutputStream: ƒ} Shared Drive
index-hclUILBk.js:3959 Guacamole client state changed: 3
index-hclUILBk.js:3959 Guacamole display resized: 1920

lion服务日志:
[GIN] 2026/04/22 - 09:05:56 | 200 | 43.885632ms | 119.48.140.174 | GET “/lion/connect/?token=b384addf-64e3-4ff8-a312-9fcee7b38300”
2026/04/22 09:05:59 5.audio,1.1,31.audio/L16; instruction with bad Content: 5.audio,1.1,31.audio/L16
2026-04-22 09:05:59 tunnel replay_recorder.go [ERROR] ReplayRecorder 4ccf6b1e-579a-4e1f-9ab7-897107b3d982 get part file 4ccf6b1e-579a-4e1f-9ab7-897107b3d982.0.part error: stat 4ccf6b1e-579a-4e1f-9ab7-897107b3d982.0.part: no such file or directory
2026-04-22 09:05:59 tunnel conn.go [ERROR] Session[4ccf6b1e-579a-4e1f-9ab7-897107b3d982] guacamole server read err: read tcp 127.0.0.1:38108->127.0.0.1:4822: use of closed network connection
[GIN] 2026/04/22 - 09:05:59 | 200 | 2.838667718s | 119.48.140.174 | GET “/lion/ws/connect/?TOKEN_ID=b384addf-64e3-4ff8-a312-9fcee7b38300&GUAC_WIDTH=1920&GUAC_HEIGHT=504&GUAC_DPI=96&GUAC_IMAGE=image%2Fjpeg&GUAC_IMAGE=image%2Fpng&GUAC_IMAGE=image%2Fwebp&GUAC_AUDIO=audio%2FL8&GUAC_AUDIO=audio%2FL16”
[GIN] 2026/04/22 - 09:06:04 | 200 | 63.775µs | 10.16.6.1 | GET “/lion/health/”
[GIN] 2026/04/22 - 09:06:14 | 200 | 49.462µs | 10.16.6.1 | GET “/lion/health/”
[GIN] 2026/04/22 - 09:06:24 | 200 | 67.31µs | 10.16.6.1 | GET “/lion/health/”
[GIN] 2026/04/22 - 09:06:34 | 200 | 42.317µs | 10.16.6.1 | GET “/lion/health/”
2026-04-22 09:06:43 tunnel conn.go [ERROR] Session[a6853fa3-1475-486f-a63e-535c3de28b44] send web client err: websocket: close sent
2026-04-22 09:06:43 tunnel conn.go [ERROR] Session[a6853fa3-1475-486f-a63e-535c3de28b44] web client read err: websocket: close 1001 (going away)
2026-04-22 09:06:43 tunnel replay_recorder.go [ERROR] ReplayRecorder a6853fa3-1475-486f-a63e-535c3de28b44 get part file a6853fa3-1475-486f-a63e-535c3de28b44.0.part error: stat a6853fa3-1475-486f-a63e-535c3de28b44.0.part: no such file or directory
[GIN] 2026/04/22 - 09:06:43 | 200 | 3m4s | 119.48.140.172 | GET “/lion/ws/connect/?TOKEN_ID=1c28083d-a331-4267-81fe-ba267d4950cb&GUAC_WIDTH=1920&GUAC_HEIGHT=958&GUAC_DPI=96&GUAC_IMAGE=image%2Fjpeg&GUAC_IMAGE=image%2Fpng&GUAC_IMAGE=image%2Fwebp&GUAC_AUDIO=audio%2FL8&GUAC_AUDIO=audio%2FL16”
[GIN] 2026/04/22 - 09:06:43 | 200 | 47.877685ms | 119.48.140.174 | GET “/lion/connect/?token=6bafbf09-8de4-41eb-ac62-79594caf84cb”
[GIN] 2026/04/22 - 09:06:44 | 200 | 39.177µs | 10.16.6.1 | GET “/lion/health/”
2026/04/22 09:06:44 5.audio,1.1,31.audio/L16; instruction with bad Content: 5.audio,1.1,31.audio/L16
[GIN] 2026/04/22 - 09:06:54 | 200 | 56.638µs | 10.16.6.1 | GET “/lion/health/”
2026-04-22 09:07:00 tunnel replay_recorder.go [ERROR] ReplayRecorder 876e1380-d56c-4af4-86b1-3330fd77a406 get part file 876e1380-d56c-4af4-86b1-3330fd77a406.0.part error: stat 876e1380-d56c-4af4-86b1-3330fd77a406.0.part: no such file or directory
2026-04-22 09:07:00 tunnel conn.go [ERROR] Session[876e1380-d56c-4af4-86b1-3330fd77a406] guacamole server read err: read tcp 127.0.0.1:54586->127.0.0.1:4822: use of closed network connection
[GIN] 2026/04/22 - 09:07:00 | 200 | 16.552219342s | 119.48.140.174 | GET “/lion/ws/connect/?TOKEN_ID=6bafbf09-8de4-41eb-ac62-79594caf84cb&GUAC_WIDTH=1920&GUAC_HEIGHT=958&GUAC_DPI=96&GUAC_IMAGE=image%2Fjpeg&GUAC_IMAGE=image%2Fpng&GUAC_IMAGE=image%2Fwebp&GUAC_AUDIO=audio%2FL8&GUAC_AUDIO=audio%2FL16”
[GIN] 2026/04/22 - 09:07:04 | 200 | 48.524µs | 10.16.6.1 | GET “/lion/health/”
[GIN] 2026/04/22 - 09:07:05 | 200 | 50.319939ms | 119.48.140.174 | GET “/lion/connect/?token=795f3416-bf5d-4cbb-b526-2f1f6492a500”
2026/04/22 09:07:06 5.audio,1.1,31.audio/L16; instruction with bad Content: 5.audio,1.1,31.audio/L16