workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

Can't connect to kasm workspaces via ssh -L

Open L9845 opened this issue 1 year ago • 0 comments

I have a kasm server in the cloud. I can ssh into the server using ssh -L 8443:localhost:443 [email protected] -p 123456. I go to my web browser and type in https://localhost:8443 and I can login to kasm just fine. My problem is when I go to create a workspace it says "Sucessfully Created Kasm" message then I get "Connection Failed" message. Nothing shows up in the logs. The funny thing is I can install Tailscale on my server connect to my tailscale on my computer and connect and open workspaces just fine. Same when I have a kasm running on Github Codespaces. I have a kasm running on Github, I open the provided web page and I can login into kasm just fine, just can't create a workspace. I use tailscale with Github everything works fine. I tried changing the Upstream Auth Address to localhost, 443, 8443, etc and other settings still can't get it to work. I really want to connect to kasm via ssh and access workspaces without having to setup tailscale or DNS or whatever.

L9845 avatar May 12 '24 20:05 L9845