macOS seems to be blocking LAN streaming
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
Direzione di ricerca
Read the packaging notes first: both Info.plist files (outer and nested Lyrion Music Server.app) and the signing setup for the bundled perl, plus the stale org.lyrion.lyrionmusicserver.plist LaunchAgent. Reproduce by running the small IO::Socket::INET test under a user LaunchAgent versus Terminal with the bundled perl, since the Terminal path connects and the LaunchAgent path returns EHOSTUNREACH. Done means a valid unique bundle ID, an NSLocalNetworkUsageDescription entry, a distinct signing identifier for the helper perl, and a LAN stream playing when the server is started from the app rather than Terminal.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
I've been streaming from a local raspberry pi to through my mac runing Lyrion to Booms without problem for years.
I upgraded MacOS from an earlier 15 release to 15.8.3 (24H241) and Lyrion form 9.0.0 to 9.1.1.
MacOS now seems to be blocking outbound network requests to a streaming server.
- I've toggled the permission settings in System Settings > Local Network (which seems to be filled with garbage duplicates).
- I've restarted.
- I've quit, trashed, emptied trash, reinstalled, restarted Lyrion (which did result in a fresh permission prompt).
The same URL pasted from the lyrion system log into MS Edge plays fine.
I tried quiting and using 9.0.0 again but it doesnt seem to start anymore. The menu item shows but the webpage doesn't load. I quit it, replaced it with 9.1.1, and the web page is back but still no streaming luck.
To Reproduce
Steps to reproduce the behavior:
- Play a LAN stream
Expected behavior
Lyrion plays the stream
Screenshots
System Information (please complete the following information):
- OS on which you're running LMS: macOS 15.8.3
- Hardware on which you're running LMS: ARM mac mini
- Web skin used: Default
- Browser: Edge
- LMS Version: 9.1.1
- Player(s) involved: Boom
- Addition information from the Settings/Information header section
Lyrion Music Server Status
Lyrion Music Server Version: 9.1.1 - 1779815526 @ Wed Jun 17 12:31:41 UTC 2026
Hostname: Hank.localdomain
IP: 10.0.0.18
HTTP Port: 9002
OS: macOS 15.8.3 - EN - utf8
Platform: arm64
Database Version: SQLite
Total Players Recognized: 3
Perl and Module Versions
Perl Version: 5.34.0 - darwin-thread-multi-2level
Audio::Scan: 1.06
DBD::SQLite: 1.76 (sqlite 3.46.1)
IO::Socket::SSL: 2.072
Mozilla::CA: 20211001
Net::SSLeay: 1.92 - OpenSSL 1.1.1m 14 Dec 2021
Additional context
[26-11-21 21:05:15.3295] Slim::Utils::Scanner::Remote::__ANON__ (228) Error: Can't connect to remote server to retrieve playlist for, http://10.0.0.17:8001/noise/?color=brown&encoder=mp3&highcut=4000&rampsecs=.5&volume=.5&bufferlength=20000: Connect timed out: .
Claude's report, including some insightful notes about the bundling at the end
The same server, using the same bundled perl, connects normally when started from Terminal. This points to macOS Local Network privacy (LNP) denying the app's server process. Lyrion is shown as allowed in System Settings → Privacy & Security → Local Network.
Environment
- Lyrion Music Server 9.1.1 (build 1779815526, Wed Jun 17 2026), macOS app, Developer ID signed and notarized (Team ID B7PH88ACP8)
- Bundled perl 5.34.0, universal binary (x86_64 + arm64)
- macOS 15.8.3 (24H241), Apple Silicon (arm64)
- Stream source: an HTTP audio server on the same subnet (
http://<lan-ip>:8001/..., audio/mpeg)
Tests
The same URL and host were tried from several launch contexts:
| Launched from | Result |
|---|---|
Lyrion macOS app (login item or open -a) |
❌ Times out, nothing reaches the host |
Bundled perl socket test, run as a user LaunchAgent |
❌ connect fails immediately with EHOSTUNREACH ("No route to host"), the classic LNP denial |
Bundled perl socket test, run from Terminal |
✅ Connects in about 3 ms |
slimserver.pl started with the bundled perl from Terminal |
✅ Stream plays normally |
curl from Terminal, on either network interface |
✅ HTTP 200, audio streams |
The socket test used:
use IO::Socket::INET;
my $s = IO::Socket::INET->new(PeerAddr=>"<lan-ip>", PeerPort=>8001, Proto=>"tcp", Timeout=>8);
print $s ? "OK\n" : "FAILED: $!\n";
These didn't help:
- Turning the Lyrion and both "perl" entries off and on in Local Network settings
- Turning Wi-Fi off and on
- Rebooting
- Fully restarting the app and server (stopping the orphaned server process first; see below)
Packaging observations that may be relevant
- The bundle identifier contains a comma:
org.LyrionCommunity,MichaelHerger.LyrionMusicServer. Commas aren't valid inCFBundleIdentifier, which should be letters, digits, hyphens and periods only. LNP and other privacy subsystems key decisions on code-signing identity, so an invalid identifier could plausibly confuse them. - Two app bundles share that identifier. The outer
Lyrion Music Server.appand the nestedContents/MacOS/Lyrion Music Server.apphave the same ID. This may explain the duplicate entries in the Local Network list. - No
NSLocalNetworkUsageDescriptionis in eitherInfo.plist. Without it, macOS may never show the Local Network prompt, so the user has no way to grant access properly. - The server's bundled
perlis signed with the generic identifierperl. Two linked "perl" entries appear in the Local Network list; turning one off also turns off the other. A unique identifier such asorg.lyrion.perlwould make the server's permission easier to tell apart and manage. - Quitting the app doesn't stop the server.
slimserver.plkeeps running (reparented to launchd), and reopening the app reuses that orphaned server. A user who restarts the app to pick up a permission change is still testing the old process. - Stale LaunchAgents after upgrade. A user LaunchAgent,
org.lyrion.lyrionmusicserver.plist, still pointed to the pre-nested layout (…/Lyrion Music Server.app/Contents/Resources/../MacOS/perl), which 9.1.1 no longer has. It failed at every login with exit code 78. Older Squeezebox LaunchAgent/LaunchDaemon plists pointing to the removedSqueezebox.prefPanewere also still present. The upgrade could clean these up.
Background
Apple's DTS has acknowledged that Local Network privacy can deny an app that System Settings shows as allowed. There is currently no supported way to reset LNP state (FB14944392, documented in TN3179).
Workaround
Starting the server from Terminal works. Many users won't want to give up starting from the app, though, so a packaging fix would help: a valid, unique bundle ID, NSLocalNetworkUsageDescription, and a distinct signing identifier for the helper perl.
- Lingua principale
- Perl
- Stelle
- 1.8k
- Fork
- 389
- Merge medio
- 1g 4h
- PR unite (30g)
- 10
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LMS-Community/slimserver
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 67/100
LMS-Community/slimserver#1742 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
LMS-Community/slimserver#1555 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Serve a static FLAC DASH manifest as a FLAC streamForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
LMS-Community/slimserver#1741 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
LMS-Community/slimserver#1738 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Scanner silently skips NFSv4 ACL-readable music directories due to Perl -r _ check (9.1 / 9.2 dev)Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
LMS-Community/slimserver#1734 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di LMS-Community/slimserver
Issue simili
-
area:cpan-port area:performance bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fglock/PerlOnJava#2230 ·
I maintainer di solito rispondono entro 1 giorno
-
Make logo .svgApertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
larchanka/ppc-code-ai-agent#38 ·
I maintainer di solito rispondono entro 1 giorno
-
[doc] perlsub wrongly says that `"sub { ... }" creates a new subroutine each time it is executed'Apertadocumentation Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno
-
docs(api): /api/v3/external_sources spec is missing lc and section_titleForse già presa @subhwastaken l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
openfoodfacts/openfoodfacts-server#15626 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100