{"record":{"id":"e26d03053df8bf26","repo":"juanfont/headscale","slug":"no-ipv4-address-found-for-s","errorCode":null,"errorMessage":"no IPv4 address found for %s","messagePattern":"no IPv4 address found for (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"integration/tsic/tsic.go","lineNumber":931,"sourceCode":"\t}\n\n\treturn ips\n}\n\n// IPv4 returns the IPv4 address of the Tailscale instance.\nfunc (t *TailscaleInContainer) IPv4() (netip.Addr, error) {\n\tips, err := t.IPs()\n\tif err != nil {\n\t\treturn netip.Addr{}, err\n\t}\n\n\tfor _, ip := range ips {\n\t\tif ip.Is4() {\n\t\t\treturn ip, nil\n\t\t}\n\t}\n\n\treturn netip.Addr{}, fmt.Errorf(\"no IPv4 address found for %s\", t.hostname) //nolint:err113\n}\n\nfunc (t *TailscaleInContainer) MustIPv4() netip.Addr {\n\tip, err := t.IPv4()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\treturn ip\n}\n\nfunc (t *TailscaleInContainer) MustIPv6() netip.Addr {\n\tfor _, ip := range t.MustIPs() {\n\t\tif ip.Is6() {\n\t\t\treturn ip\n\t\t}\n\t}\n","sourceCodeStart":913,"sourceCodeEnd":949,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/integration/tsic/tsic.go#L913-L949","documentation":"Error \"no IPv4 address found for %s\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at integration/tsic/tsic.go:931 when the library encounters an invalid state.","commonSituations":"The node has no IPv4 address assigned. Check that an IPv4 prefix is configured in headscale and the node received an address.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (no IPv4 address found for); retry the operation after fixing the input, configuration, or environment."],"exampleFix":"Inspect the wrapped error for the underlying cause and correct the failing condition (no IPv4 address found for); 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"}