netbirdio/netbird · error

no output returned

Error message

no output returned

What it means

Error "no output returned" thrown in netbirdio/netbird.

Source

Thrown at client/iface/freebsd/iface.go:99

	mtuInt, err := strconv.Atoi(mtu)
	if err != nil {
		return nil, fmt.Errorf("failed to parse MTU: %w", err)
	}

	return &iface{
		Name:    name,
		MTU:     mtuInt,
		Group:   group,
		IPAddrs: ips,
	}, nil
}

func parseIFName(output []byte) (string, error) {
	// TODO: implement without allocations
	lines := strings.Split(string(output), "\n")
	if len(lines) == 0 || lines[0] == "" {
		return "", fmt.Errorf("no output returned")
	}

	fields := strings.Fields(lines[0])
	if len(fields) > 1 {
		return "", fmt.Errorf("invalid output")
	}

	return fields[0], nil
}

View on GitHub (pinned to 93e97f4bf1)

When it happens

Trigger: Thrown at client/iface/freebsd/iface.go:99 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of netbirdio/netbird@93e97f4bf1 (2026-08-16). Data as JSON: /api/errors/b6cec56e8a5cc011. Report an issue: GitHub.