[GH-ISSUE #1138] Setting up dns-sd failed #530

Closed
opened 2026-02-27 19:31:08 +03:00 by kerem · 2 comments
Owner

Originally created by @truppelito on GitHub (Mar 30, 2023).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1138

Describe the bug
I'm on a RaspberryPi 4 using Raspberry Pi OS. All software is up-to-date (I do regular updates, as far as I can tell everything is up-to-date). Librespot is installed but is unable to run due to some DNS error.

To reproduce
Run the following command:

pi@raspberrypi:~$ librespot --device plughw:CARD=Headphones,DEV=0 --name TEST --initial-volume 50 --enable-volume-normalisation
[2023-03-30T13:37:28Z INFO  librespot] librespot 0.4.2 d6124bc (Built on 2023-03-29, Build ID: gsYlQmIw, Profile: release)
[2023-03-30T13:37:28Z WARN  librespot] Could not initialise discovery: Setting up dns-sd failed: No buffer space available (os error 105)
[2023-03-30T13:37:28Z ERROR librespot] Discovery is unavailable and no credentials provided. Authentication is not possible.

Additional context
Sometimes (this is not 100% consistent, I think), it seems like librespot works for some time after reboot, then eventually stops showing up on Spotify on my phone or computer, then I try to get it to run again but it produces the error above. I can confirm that the command has worked in the past, and that this is a relatively recent bug (maybe in the last few months).

Originally created by @truppelito on GitHub (Mar 30, 2023). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1138 **Describe the bug** I'm on a RaspberryPi 4 using Raspberry Pi OS. All software is up-to-date (I do regular updates, as far as I can tell everything is up-to-date). Librespot is installed but is unable to run due to some DNS error. **To reproduce** Run the following command: ``` pi@raspberrypi:~$ librespot --device plughw:CARD=Headphones,DEV=0 --name TEST --initial-volume 50 --enable-volume-normalisation [2023-03-30T13:37:28Z INFO librespot] librespot 0.4.2 d6124bc (Built on 2023-03-29, Build ID: gsYlQmIw, Profile: release) [2023-03-30T13:37:28Z WARN librespot] Could not initialise discovery: Setting up dns-sd failed: No buffer space available (os error 105) [2023-03-30T13:37:28Z ERROR librespot] Discovery is unavailable and no credentials provided. Authentication is not possible. ``` **Additional context** Sometimes (this is not 100% consistent, I think), it seems like librespot works for some time after reboot, then eventually stops showing up on Spotify on my phone or computer, then I try to get it to run again but it produces the error above. I can confirm that the command has worked in the past, and that this is a relatively recent bug (maybe in the last few months).
kerem 2026-02-27 19:31:08 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@kingosticks commented on GitHub (Mar 30, 2023):

From what I can see, Mdns error 105 is probably not a librespot bug.

https://blog.mphomphego.co.za/blog/2017/06/28/why-am-i-getting-errno105-no-buffer-space-available-when-subscribing-to-multicast-addresses.html looks relevent.

<!-- gh-comment-id:1490439498 --> @kingosticks commented on GitHub (Mar 30, 2023): From what I can see, Mdns error 105 is probably not a librespot bug. https://blog.mphomphego.co.za/blog/2017/06/28/why-am-i-getting-errno105-no-buffer-space-available-when-subscribing-to-multicast-addresses.html looks relevent.
Author
Owner

@truppelito commented on GitHub (Mar 30, 2023):

That seems to have fixed it! I'm closing this bug report. In case this problem comes back, I'll open it again.

<!-- gh-comment-id:1490693582 --> @truppelito commented on GitHub (Mar 30, 2023): That seems to have fixed it! I'm closing this bug report. In case this problem comes back, I'll open it again.
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#530
No description provided.