{"record":{"id":"d67416f9a281cfb6","repo":"juanfont/headscale","slug":"adding-tailscale-node-w","errorCode":null,"errorMessage":"adding tailscale node: %w","messagePattern":"adding tailscale node: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"integration/scenario.go","lineNumber":740,"sourceCode":"\t\t\t\tuser.Clients[tsClient.Hostname()] = tsClient\n\n\t\t\t\ts.mu.Unlock()\n\n\t\t\t\treturn nil\n\t\t\t})\n\t\t}\n\n\t\terr := user.createWaitGroup.Wait()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tlog.Printf(\"testing versions %v, MustTestVersions %v\", lo.Uniq(versions), MustTestVersions)\n\n\t\treturn nil\n\t}\n\n\treturn fmt.Errorf(\"adding tailscale node: %w\", errNoUserAvailable)\n}\n\n// RunTailscaleUp will log in all of the [TailscaleClient]s associated with a\n// [User] to the given [ControlServer] (by URL).\nfunc (s *Scenario) RunTailscaleUp(\n\tuserStr, loginServer, authKey string,\n) error {\n\tif user, ok := s.users[userStr]; ok {\n\t\tfor _, client := range user.Clients {\n\t\t\tc := client\n\n\t\t\tuser.joinWaitGroup.Go(func() error {\n\t\t\t\treturn c.Login(loginServer, authKey)\n\t\t\t})\n\t\t}\n\n\t\terr := user.joinWaitGroup.Wait()\n\t\tif err != nil {","sourceCodeStart":722,"sourceCodeEnd":758,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/integration/scenario.go#L722-L758","documentation":"Error \"adding tailscale node: %w\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at integration/scenario.go:740 when the library encounters an invalid state.","commonSituations":"Adding the tailscale node container to the scenario failed. Check Docker is healthy and the requested tailscale version image is available.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (adding tailscale node); retry the operation after fixing the input, configuration, or environment."],"exampleFix":"Inspect the wrapped error for the underlying cause and correct the failing condition (adding tailscale node); 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-15T17:31:12.345Z"}