[GH-ISSUE #1122] Setting up dns-sd failed: No buffer space available #521

Closed
opened 2026-02-27 19:31:06 +03:00 by kerem · 1 comment
Owner

Originally created by @truppelito on GitHub (Feb 20, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1122

Describe the bug
I'm running librespot on a RaspberryPi 4 (actually, I'm running Raspotify but I think this is a librespot problem), and discovery does not work.

To reproduce
Run the following command:

pi@raspberrypi:~ $ librespot --device plughw:CARD=Headphones,DEV=0 --name TEST --initial-volume 50 --enable-volume-normalisation --verbose
[2023-02-20T16:31:03Z INFO  librespot] librespot 0.4.2 5cda505 (Built on 2023-02-15, Build ID: jnLczk9X, Profile: release)
[2023-02-20T16:31:03Z TRACE librespot] Command line argument(s):
[2023-02-20T16:31:03Z TRACE librespot] 		device "plughw:CARD=Headphones,DEV=0"
[2023-02-20T16:31:03Z TRACE librespot] 		name "TEST"
[2023-02-20T16:31:03Z TRACE librespot] 		initial-volume "50"
[2023-02-20T16:31:03Z TRACE librespot] 		enable-volume-normalisation
[2023-02-20T16:31:03Z TRACE librespot] 		verbose
[2023-02-20T16:31:03Z DEBUG librespot_discovery::server] Zeroconf server listening on 0.0.0.0:38393
[2023-02-20T16:31:03Z DEBUG librespot] System uptime: 701840 secs
[2023-02-20T16:31:03Z DEBUG librespot] System uptime >= 60 secs, not retrying to initialise discovery
[2023-02-20T16:31:03Z WARN  librespot] Could not initialise discovery: Setting up dns-sd failed: No buffer space available (os error 105)
[2023-02-20T16:31:03Z ERROR librespot] Discovery is unavailable and no credentials provided. Authentication is not possible.
Originally created by @truppelito on GitHub (Feb 20, 2023). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1122 **Describe the bug** I'm running librespot on a RaspberryPi 4 (actually, I'm running Raspotify but I think this is a librespot problem), and discovery does not work. **To reproduce** Run the following command: ``` pi@raspberrypi:~ $ librespot --device plughw:CARD=Headphones,DEV=0 --name TEST --initial-volume 50 --enable-volume-normalisation --verbose [2023-02-20T16:31:03Z INFO librespot] librespot 0.4.2 5cda505 (Built on 2023-02-15, Build ID: jnLczk9X, Profile: release) [2023-02-20T16:31:03Z TRACE librespot] Command line argument(s): [2023-02-20T16:31:03Z TRACE librespot] device "plughw:CARD=Headphones,DEV=0" [2023-02-20T16:31:03Z TRACE librespot] name "TEST" [2023-02-20T16:31:03Z TRACE librespot] initial-volume "50" [2023-02-20T16:31:03Z TRACE librespot] enable-volume-normalisation [2023-02-20T16:31:03Z TRACE librespot] verbose [2023-02-20T16:31:03Z DEBUG librespot_discovery::server] Zeroconf server listening on 0.0.0.0:38393 [2023-02-20T16:31:03Z DEBUG librespot] System uptime: 701840 secs [2023-02-20T16:31:03Z DEBUG librespot] System uptime >= 60 secs, not retrying to initialise discovery [2023-02-20T16:31:03Z WARN librespot] Could not initialise discovery: Setting up dns-sd failed: No buffer space available (os error 105) [2023-02-20T16:31:03Z ERROR librespot] Discovery is unavailable and no credentials provided. Authentication is not possible. ```
kerem 2026-02-27 19:31:06 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@truppelito commented on GitHub (Feb 20, 2023):

Nevermind, I had rebooted the RaspberryPi before, but I just noticed the System uptime >= 60 secs, not retrying to initialise discovery line, so I rebooted the Pi again now and it started working. Maybe I was a bit too premature with this bug report.

<!-- gh-comment-id:1437293545 --> @truppelito commented on GitHub (Feb 20, 2023): Nevermind, I had rebooted the RaspberryPi before, but I just noticed the `System uptime >= 60 secs, not retrying to initialise discovery` line, so I rebooted the Pi again now and it started working. Maybe I was a bit too premature with this bug report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#521
No description provided.