kasmtech / workspaces-issues

19 stars 5 forks source link

[Bug] - kasm_guac - unhealthy - ERROR guac [server] Healthcheck failed #571

Open fanuelsen opened 5 months ago

fanuelsen commented 5 months ago

Existing Resources

Describe the bug After upgrading kasm (from 1.11 to 1.15) with the autoupgrade script the kasm_guac container is unhealthy. Workspaces is still working so i'm not sure what guac_server is used for. But the following output is inside the kasm_guac container.

2024-06-05 09:05:43,516 INFO guac [server] Registering kasm_guac with configuration: { "target_component": { "type": "connection_proxy", "server_address": "proxy", "server_port": 443, "zone_name": "default" }, "registration_token": "**********", "token": "JWTTOKEN" } 2024-06-05 09:05:43,516 INFO guac [server] Attempt 1/10 attempts 2024-06-05 09:05:43,850 ERROR guac [server] Healthcheck failed for "proxy". Error: Request failed with status code 502 2024-06-05 09:05:43,858 ERROR guac [server] Healthcheck failed for "kasm_proxy". Error: Request failed with status code 502 2024-06-05 09:05:45,861 INFO guac [server] Attempt 2/10 attempts ComponentRegistrationError: Access Denied! at Object.registerWithDeployment (/gclient/kasm.js:81:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async run (/gclient/server.js:242:5) at async run (/gclient/app.js:12:5)

Expected behavior Should start as expected.

Workspaces Version Version 1.15

Workspaces Installation Method Single Server

Workspace Server Information (please provide the output of the following commands):

j-travis commented 5 months ago

The kasm_guac role is used when you want to connect to existing systems over RDP , SSH, or VNC. You can try following this guide - the portions that refer to restoring the guac connection proxy.

That may clear your environment up.

https://kasmweb.atlassian.net/servicedesk/customer/kb/view/8126468

I recommend taking a backup before you do in case you need to restore

octave21 commented 2 weeks ago

I experienced a similar issue with the 1.16 version. It works fine when I first install it. When I turn the server off and on again, the kasm_guac starts but goes unhealthy within 2 minutes.

Sometimes in case of heavy load of the server, the kasm_guac goes unhealthy or restarts again and again.