Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] support tailscale wasm client #2223

Open
2 tasks done
Need-an-AwP opened this issue Nov 3, 2024 · 1 comment
Open
2 tasks done

[Feature] support tailscale wasm client #2223

Need-an-AwP opened this issue Nov 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Need-an-AwP
Copy link

Use case

support web assembly version of tailscale client connect to headscale controller

Description

wasm tailscale client is from tailscale/tsconnect, which can run a lightweight tailscale client in front end.
ive rewrite it in https://github.com/Need-an-AwP/wasm-tailscale-react-vite, this wasm client works fine with tailscale's offical controller
and when i tried to use my headscale controller url in this wasm client, some websocket errors keep appearing
image

i have already enabled an nginx reverse proxy on this server, which also works fine(not very sure, cause the nginx configuration which can let destop client connect successfully but cannot work with wasm client at all)

my headscale version is 0.22.3 which is not the latest one, idk if this matter with this problem

Contribution

  • I can write the design doc for this feature
  • I can contribute this feature

How can it be implemented?

i havent figure out how does headscale or tailscale controller communicate with wasm client (or destop client)
i dint know what cause this problem

@Need-an-AwP Need-an-AwP added the enhancement New feature or request label Nov 3, 2024
@kradalby
Copy link
Collaborator

my headscale version is 0.22.3 which is not the latest one, idk if this matter with this problem

Likely you need the changes in #2132, which are not released, you can try to build from main and see if that works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants