Skip to content

Could not initialise discovery: Unknown error { Address family not supported by protocol (os error 97) } #1694

@tosiara

Description

@tosiara

Hi, any hints how to fix this error?

$ librespot -n "Librespot Speaker" -b 160 --zeroconf-interface 192.168.50.103 -v
[2026-03-13T11:28:49Z INFO  librespot] librespot 0.8.0 VERGEN_IDEMPOTENT_OUTPUT (Built on 2026-03-13, Build ID: PQlN8Ak9, Profile: release)
[2026-03-13T11:28:49Z TRACE librespot] Command line argument(s):
[2026-03-13T11:28:49Z TRACE librespot] 		n "Librespot Speaker"
[2026-03-13T11:28:49Z TRACE librespot] 		b "160"
[2026-03-13T11:28:49Z TRACE librespot] 		zeroconf-interface "192.168.50.103"
[2026-03-13T11:28:49Z TRACE librespot] 		v
[2026-03-13T11:28:49Z DEBUG librespot_core::session] new Session
[2026-03-13T11:28:49Z WARN  librespot_discovery::server] Discovery server failed to start: Address family not supported by protocol (os error 97)
[2026-03-13T11:28:49Z DEBUG librespot] System uptime > 1 min, not retrying to initialise discovery
[2026-03-13T11:28:49Z WARN  librespot] Could not initialise discovery: Unknown error { Address family not supported by protocol (os error 97) }
[2026-03-13T11:28:49Z ERROR librespot] Discovery is unavailable and no credentials provided. Authentication is not possible.

The system has no IPv6 (GRUB_CMDLINE_LINUX="ipv6.disable=1")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions