boinkor-net / tsnsrv

A reverse proxy that exposes services on your tailnet (as their own tailscale participants)
https://boinkor.net/2023/07/tsnsrv-or-easily-accessing-services-on-your-tailscale-network/
MIT License
181 stars 12 forks source link

Only logs the first-time auth URL at verbose intensity #93

Open antifuchs opened 7 months ago

antifuchs commented 7 months ago

When starting a new tsnsrv service under a new name (and without a preauth key), you have to authenticate to tailscale before the service gets added to your tailnet; the tsnet library logs an authentication URL so an administrator can go and do that, but it logs that at verbose intensity only.

This has been reported to me twice now; I think it's a problem with the tsnet library, but maybe we can do something about it.

antifuchs commented 7 months ago

If you don't pass -tsnetVerbose=true (to see the URL get logged), this manifests as a timeout when establishing the tsnet membership: could not connect to tailnet: tsnet.Up: context deadline exceeded