Open Sentinel-sys opened 1 week ago
I have also experienced this issue. I have tried clean installs of both Debian 12.6 and ubuntu 24.04. Both installs successfully complete without errors. kasm_rdp_https_gateway constantly restarts and prevents login.
2024-11-10T18:05:01.034Z DEBUG main.go:main.main:101 Kasm RDP HTTPS Gateway logging configured 2024-11-10T18:05:01.036Z INFO proc.go:runtime.main:271 Starting remote desktop gateway server 2024-11-10T18:05:01.038Z INFO proc.go:runtime.main:271 Enabling Kasm authentication 2024-11-10T18:05:01.038Z INFO proc.go:runtime.main:271 Enabling Kasm healthchecks 2024-11-10T18:05:01.039Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.056Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.057Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.057Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.071Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.071Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.072Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.085Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.085Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.086Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.098Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.098Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.099Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.111Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.112Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.112Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.125Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.155Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.155Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.168Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.168Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.169Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.187Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.188Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.188Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.200Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.201Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.201Z INFO kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Checking for a healthy host: https://proxy:443/api/__healthcheck 2024-11-10T18:05:01.214Z ERROR kasm.go:kasmtechnologies/rdpgw/cmd/rdpgw/kasm.RegisterComponent:305 Error unmarshaling response JSON: invalid character '<' looking for beginning of value 2024-11-10T18:05:01.214Z DEBUG main.go:main.main:349 Could not find a healthy hostname 2024-11-10T18:05:01.215Z FATAL proc.go:runtime.main:271 Cannot register component: unable to register component
I have many difficulties with the kasm guac container which frequently goes into the unheathly state which prohibits any connection to the service. This often occurs in correlation with heavy system load. See issues number #571 #638. The only way out for me is to completely reinstall kasm on a lightly loaded system. This led me to create a procedure to uninstall/install Kasm and automatically create a workspace. See issue number #476
I have now got it to work. However, not under Ubuntu but Debian 12. I also noticed that I had the same error at the beginning. After about half an hour the container “kasm_rdp_https_gateway” did not restart.
I have just made a completely new installation of KASM for the second time and the installation seems to go through without any problems. Unfortunately, I can neither log in as admin nor as user.
During the first installation I noticed that the capacity of my Ubuntu volume group was halved. From 50 GB to 25 GB.
During the second installation I did not use LVM and gave the VM 100GB as a precaution. Unfortunately the error remains.
Operating system: Ubuntu Server 24.04 with all updates
sudo docker ps shows:
It seems "kasm_rdp_https_gateway" is constantly restarting.
sudo docker logs -f --tail 10 kasm_api shows:
What did I do wrong?