Skip to content

lms 9.1 dev is not able to resolve mdns/avahi names #1392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ErikApption opened this issue May 11, 2025 · 1 comment
Open

lms 9.1 dev is not able to resolve mdns/avahi names #1392

ErikApption opened this issue May 11, 2025 · 1 comment
Labels

Comments

@ErikApption
Copy link

Describe the bug
I want to use LMS to play a stream that is hosted on one of my boxes. Tried 9.1 and docker 9.0 but on both versions LMS throws the following error

[25-05-11 12:54:07.3668] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Utils::Prefs::__ANON__ failed:
[25-05-11 12:57:21.0459] Slim::Web::Graphics::__ANON__ (438) Artwork resize for music/6bbaeb84/cover_150x150_f failed
[25-05-11 12:58:02.0019] Slim::Utils::Scanner::Remote::__ANON__ (228) Error: Can't connect to remote server to retrieve playlist for, http://kitchen-opi.local:5000/c46c9810-6274-a715-a8b9-de9d4ac33873.m3u8: Couldn't resolve IP address for: kitchen-opi.local.
[25-05-11 12:58:07.3132] Slim::Utils::Scanner::Remote::__ANON__ (228) Error: Can't connect to remote server to retrieve playlist for, http://kitchen-opi.local:5000/c46c9810-6274-a715-a8b9-de9d4ac33873.m3u8: Couldn't resolve IP address for: kitchen-opi.local.
[25-05-11 12:58:17.1482] Slim::Utils::Scanner::Remote::__ANON__ (228) Error: Can't connect to remote server to retrieve playlist for, http://kitchen-opi.local:5000/c46c9810-6274-a715-a8b9-de9d4ac33873.m3u8: Couldn't resolve IP address for: kitchen-opi.local.
[25-05-11 12:58:56.5910] Slim::Utils::Scanner::Remote::__ANON__ (228) Error: Can't connect to remote server to retrieve playlist for, http://kitchen-opi.local:5000/c46c9810-6274-a715-a8b9-de9d4ac33873.m3u8: Couldn't resolve IP address for: kitchen-opi.local.
[25-05-11 12:59:14.5971] Slim::Utils::Scanner::Remote::__ANON__ (228) Error: Can't connect to remote server to retrieve playlist for, http://kitchen-opi.local:5000/c46c9810-6274-a715-a8b9-de9d4ac33873.m3u8: Couldn't resolve IP address for: kitchen-opi.local.

Resolution of the host works fine on the debian system

user@homeserver:/var/log/squeezeboxserver$ ping kitchen-opi.local
PING kitchen-opi.local (10.0.0.27) 56(84) bytes of data.
64 bytes from kitchen-opi (10.0.0.27): icmp_seq=1 ttl=64 time=99.2 ms
64 bytes from kitchen-opi (10.0.0.27): icmp_seq=2 ttl=64 time=328 ms

To Reproduce
Steps to reproduce the behavior:

  1. Create a playlist with .local m3u8 entry
  2. Click on play
  3. See error in logs

Expected behavior
LMS should leverage host dns resolution

System Information (please complete the following information):

  • OS on which you're running LMS: [e.g. pCP 10]: Debian bookworm
  • LMS Version [e.g. 22]; 9.0 docker and 9.1-dev
  • Player(s) involved - squeezelite
@ErikApption
Copy link
Author

Had a quick look at the source code - the dns stack is fully custom :-\ so I assume this behavior is expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant