{"record":{"id":"e68562d1cd2962d4","repo":"juanfont/headscale","slug":"bringing-up-tailscale-node-w","errorCode":null,"errorMessage":"bringing up tailscale node: %w","messagePattern":"bringing up tailscale node: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"integration/scenario.go","lineNumber":772,"sourceCode":"\t\t\t})\n\t\t}\n\n\t\terr := user.joinWaitGroup.Wait()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tfor _, client := range user.Clients {\n\t\t\terr := client.WaitForRunning(integrationutil.PeerSyncTimeout())\n\t\t\tif err != nil {\n\t\t\t\treturn fmt.Errorf(\"%s bringing up tailscale node: %w\", client.Hostname(), err)\n\t\t\t}\n\t\t}\n\n\t\treturn nil\n\t}\n\n\treturn fmt.Errorf(\"bringing up tailscale node: %w\", errNoUserAvailable)\n}\n\n// CountTailscale returns the total number of [TailscaleClient]s in a [Scenario].\n// This is the sum of Users x TailscaleClients.\nfunc (s *Scenario) CountTailscale() int {\n\tcount := 0\n\n\tfor _, user := range s.users {\n\t\tcount += len(user.Clients)\n\t}\n\n\treturn count\n}\n\n// WaitForTailscaleSync blocks execution until all the [TailscaleClient] reports\n// to have all other [TailscaleClient]s present in their [netmap.NetworkMap].\nfunc (s *Scenario) WaitForTailscaleSync() error {\n\ttsCount := s.CountTailscale()","sourceCodeStart":754,"sourceCodeEnd":790,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/integration/scenario.go#L754-L790","documentation":"Error \"bringing up tailscale node: %w\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at integration/scenario.go:772 when the library encounters an invalid state.","commonSituations":"'tailscale up' inside the container failed. Verify the auth key or login flow and connectivity to the headscale container.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (bringing up 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 (bringing up 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-15T22:17:37.221Z"}