{"record":{"id":"c334c4ffa28e42c4","repo":"juanfont/headscale","slug":"unsupported-client-version","errorCode":null,"errorMessage":"unsupported client version","messagePattern":"unsupported client version","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"hscontrol/noise.go","lineNumber":29,"sourceCode":"\t\"net/url\"\n\t\"time\"\n\n\t\"github.com/go-chi/chi/v5\"\n\t\"github.com/go-chi/chi/v5/middleware\"\n\t\"github.com/go-chi/metrics\"\n\t\"github.com/juanfont/headscale/hscontrol/capver\"\n\t\"github.com/juanfont/headscale/hscontrol/types\"\n\t\"github.com/rs/zerolog\"\n\t\"github.com/rs/zerolog/log\"\n\t\"golang.org/x/net/http2\"\n\t\"tailscale.com/control/controlbase\"\n\t\"tailscale.com/control/controlhttp/controlhttpserver\"\n\t\"tailscale.com/tailcfg\"\n\t\"tailscale.com/types/key\"\n)\n\n// ErrUnsupportedClientVersion is returned when a client connects with an unsupported protocol version.\nvar ErrUnsupportedClientVersion = errors.New(\"unsupported client version\")\n\n// ErrMissingURLParameter is returned when a required URL parameter is not provided.\nvar ErrMissingURLParameter = errors.New(\"missing URL parameter\")\n\n// ErrNoAuthSession is returned when an auth_id does not match any active auth session.\nvar ErrNoAuthSession = errors.New(\"no auth session found\")\n\n// ErrSSHDstNodeNotFound is returned when the dst node id on a Noise SSH\n// action request does not match any registered node.\nvar ErrSSHDstNodeNotFound = errors.New(\"ssh action: unknown dst node id\")\n\n// ErrSSHMachineKeyMismatch is returned when the Noise session's machine\n// key does not match the dst node referenced in the SSH action URL.\nvar ErrSSHMachineKeyMismatch = errors.New(\n\t\"ssh action: noise session machine key does not match dst node\",\n)\n\n// ErrSSHAuthSessionNotBound is returned when an SSH action follow-up","sourceCodeStart":11,"sourceCodeEnd":47,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/hscontrol/noise.go#L11-L47","documentation":"Error \"unsupported client version\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at hscontrol/noise.go:29 when the library encounters an invalid state.","commonSituations":"The connecting Tailscale client's capability version is below the minimum headscale supports. Upgrade the Tailscale client on the node.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (unsupported client version); retry the operation after fixing the input, configuration, or environment."],"exampleFix":"Inspect the wrapped error for the underlying cause and correct the failing condition (unsupported client version); retry the operation after fixing the input, configuration, or environment.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"565fd254d06c4c7f9a8cad1714a43445c79ba420","analyzedAt":"2026-08-15T13:12:30.133Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}