I wanted to come back here and say thank you, in my opinion you are the only one that provided clear and concise instructions on how to get this up and running. Other youtubers dont even mention creating the config and data folder yourself so its not write protected and owned by you instead of root. They also dont mention a config.yaml file thanks to you i have this amd headscale-admin webui running perfectly.
Glad to hear it! Yeah unfortunately I feel like some of the creators needs some real world experience, rather than just following docs :) Glad I could help
Appreciate the video I think it would be great if you covered how to connect the Ui to headscale. Extremely few if any content creators have covered it. I know this as i just spent the last 12 hours struggling to get this up and running.
thanks. nice and quick. One question: About the manifest for headscale/headscale: you use 0.22.3 and not latest. how do we found the latest tag? thanks
Only 6 months later and things have sure changed. Not a smooth process so far to get this working.. In the docker compose file, the command: headscale serve has changed to command: serve and I get this error: Error initializing error="failed to load configuration while creating headscale instance: server_url cannot contain the base_domain, this will cause the headscale server and embedded DERP to become unreachable from the Tailscale node." which contradicts how your setup is.
Hi, thanks for the video. I’ve followed the instructions meticulously, but I’m still encountering the error: WRN go/src/headscale/hscontrol/noise.go:62 > No Upgrade header in TS2021 request. If headscale is behind a reverse proxy, make sure it is configured to pass WebSockets through. I have Headscale set up behind Cloudflare, and I’m using cloudflared version 2024.6.0 (built 2024-06-03-2017 UTC) to connect the tunnel to Cloudflare Zero Trust. Before this, I also spent many days trying to resolve the issue without success. The main problem is that clients are unable to connect. I suspect there might be an issue with my Cloudflare configuration or something I’m missing, but I can’t figure out what it might be. Any help would be greatly appreciated. Thanks!
6 місяців тому+1
I followed your whole guide and also launched the tunnel, which seems to be working just fine. However, doing the tailscale up step returns a 500 error that I can't figure out. Would you happen to know why?
I ran into that error when trying to install HS using Docker, and my solution was to just abandon the Docker part (since the HS devs don't recommend it anyway) and install HS on bare metal using their .deb package. But other videos I've seen since then have suggested that you need to create the database file--just "touch db.sqlite" in whatever directory you've specified for data.
There's quite a few reasons you could have run into this error. The best advice I can give that will account for as many of these as possible is to rebuild from scratch and follow the video as close as possible. The setup guide will get you a working headscale instance and most errors will be from user deviations. If you made any changes that were necessary for your use case, triple check them. Without further understanding of your setup, troubleshooting will feel like a rat chase. That being said, here are my guesses for where things went wrong. * You failed to properly define your volumes in the docker compose * You used a different version of the headscale image (this guide uses 0.22.3) * You used a different version of the config.yaml file (Try copying the file contents directly)
Hey Nick, great video as usual. Any chance you can do a follow up with the nginx setup with some form of authentication like Authentik and how to configure so any external access requires authentication before accessing services. Hope this is possible, keep up the great videos they have helped me alot.
headscale gives me this error "WRN go/src/headscale/hscontrol/noise.go:62 > No Upgrade header in TS2021 request. If headscale is behind a reverse proxy, make sure it is configured to pass WebSockets through." please help
That's more of a warning and should not prevent Headscale from working. Cloudflare tunnels support websockets but from what I have read it has an issue with one, but this doesn't prevent any functionality that I have seen. Going via a reverse proxy with websocket support will remove this if it's an issue.
I wanted to come back here and say thank you, in my opinion you are the only one that provided clear and concise instructions on how to get this up and running. Other youtubers dont even mention creating the config and data folder yourself so its not write protected and owned by you instead of root. They also dont mention a config.yaml file thanks to you i have this amd headscale-admin webui running perfectly.
Glad to hear it! Yeah unfortunately I feel like some of the creators needs some real world experience, rather than just following docs :)
Glad I could help
Appreciate the video I think it would be great if you covered how to connect the Ui to headscale. Extremely few if any content creators have covered it. I know this as i just spent the last 12 hours struggling to get this up and running.
Yeah, as mentioned the UI will need to be a video of its own, as there’s a few out there and half of them are broken I found
Quick concise video, very good sir!
thanks. nice and quick.
One question:
About the manifest for headscale/headscale: you use 0.22.3 and not latest. how do we found the latest tag?
thanks
@@cattivello you can check out the image on Docker Hub and see what their latest version is or just use the latest flag
Only 6 months later and things have sure changed. Not a smooth process so far to get this working.. In the docker compose file, the command: headscale serve has changed to command: serve
and I get this error: Error initializing error="failed to load configuration while creating headscale instance: server_url cannot contain the base_domain, this will cause the headscale server and embedded DERP to become unreachable from the Tailscale node." which contradicts how your setup is.
Hi, thanks for the video. I’ve followed the instructions meticulously, but I’m still encountering the error:
WRN go/src/headscale/hscontrol/noise.go:62 > No Upgrade header in TS2021 request. If headscale is behind a reverse proxy, make sure it is configured to pass WebSockets through.
I have Headscale set up behind Cloudflare, and I’m using cloudflared version 2024.6.0 (built 2024-06-03-2017 UTC) to connect the tunnel to Cloudflare Zero Trust. Before this, I also spent many days trying to resolve the issue without success. The main problem is that clients are unable to connect. I suspect there might be an issue with my Cloudflare configuration or something I’m missing, but I can’t figure out what it might be. Any help would be greatly appreciated. Thanks!
I followed your whole guide and also launched the tunnel, which seems to be working just fine. However, doing the tailscale up step returns a 500 error that I can't figure out. Would you happen to know why?
What’s the error? Feel free to to join the discord to discuss it
does this help avoiding the relay servers?
It does yeah, you have full control of the entire network.
Hello, can you make a video related to OpenProject? Thank you!
Hello, can you make a video related to Elastic Stack + Docker Compose and Penpot. Thank you!
Great video. Could self hosted NetBird be a better option than Headscale?
Netbird is a solid alternative and I’ll cover that as well. Comes down to preference at that point I believe
Awesome. Will try that!!
Let me know how you get on :)
After write tailscale uo --login server, tailscale command not found :( What wrong?
You need the client downloaded on your machine
Did someone else get this error in docker: failed to save private key to disk: open : no such file or directory"
Did you make the volume folders manually and is your user part of the docker group?
I ran into that error when trying to install HS using Docker, and my solution was to just abandon the Docker part (since the HS devs don't recommend it anyway) and install HS on bare metal using their .deb package. But other videos I've seen since then have suggested that you need to create the database file--just "touch db.sqlite" in whatever directory you've specified for data.
There's quite a few reasons you could have run into this error. The best advice I can give that will account for as many of these as possible is to rebuild from scratch and follow the video as close as possible. The setup guide will get you a working headscale instance and most errors will be from user deviations. If you made any changes that were necessary for your use case, triple check them. Without further understanding of your setup, troubleshooting will feel like a rat chase.
That being said, here are my guesses for where things went wrong.
* You failed to properly define your volumes in the docker compose
* You used a different version of the headscale image (this guide uses 0.22.3)
* You used a different version of the config.yaml file (Try copying the file contents directly)
Not working for me...
Hey Nick, great video as usual. Any chance you can do a follow up with the nginx setup with some form of authentication like Authentik and how to configure so any external access requires authentication before accessing services. Hope this is possible, keep up the great videos they have helped me alot.
For sure, there’s so much to cover with headscale. Might become a little series haha
headscale gives me this error "WRN go/src/headscale/hscontrol/noise.go:62 > No Upgrade header in TS2021 request. If headscale is behind a reverse proxy, make sure it is configured to pass WebSockets through." please help
That's more of a warning and should not prevent Headscale from working. Cloudflare tunnels support websockets but from what I have read it has an issue with one, but this doesn't prevent any functionality that I have seen. Going via a reverse proxy with websocket support will remove this if it's an issue.
@@Techdox it is an issue and i cant port foward so i cant go with a reverse proxy ...
@@maselitoamazigh1385 yeah, even with that warning headscale should work fine though