juanfont/headscale · error
no IPs returned yet for %s
Error message
no IPs returned yet for %s
What it means
Error "no IPs returned yet for %s" thrown in juanfont/headscale.
Source
Thrown at integration/tsic/tsic.go:897
ips := make([]netip.Addr, 0)
for address := range strings.SplitSeq(result, "\n") {
address = strings.TrimSuffix(address, "\n")
if len(address) < 1 {
continue
}
ip, err := netip.ParseAddr(address)
if err != nil {
return nil, fmt.Errorf("parsing IP %s: %w", address, err)
}
ips = append(ips, ip)
}
if len(ips) == 0 {
return nil, fmt.Errorf("no IPs returned yet for %s", t.hostname) //nolint:err113
}
return ips, nil
}, backoff.WithBackOff(backoff.NewExponentialBackOff()), backoff.WithMaxElapsedTime(10*time.Second))
if err != nil {
return nil, fmt.Errorf("getting IPs for %s after retries: %w", t.hostname, err)
}
return ips, nil
}
func (t *TailscaleInContainer) MustIPs() []netip.Addr {
ips, err := t.IPs()
if err != nil {
panic(err)
}
return ipsView on GitHub (pinned to 565fd254d0)
Solutions
- Inspect the wrapped error for the underlying cause and correct the failing condition (no IPs returned yet for); retry the operation after fixing the input, configuration, or environment.
Example fix
Inspect the wrapped error for the underlying cause and correct the failing condition (no IPs returned yet for); retry the operation after fixing the input, configuration, or environment.
When it happens
Trigger: Thrown at integration/tsic/tsic.go:897 when the library encounters an invalid state.
Common situations: No IPs were returned for the node yet. The node may still be connecting; retry after it reaches Running state.
AI-assisted analysis of juanfont/headscale@565fd254d0 (2026-08-15).
Data as JSON: /api/errors/bd133446bdcbd5b8.
Report an issue: GitHub.