macOS seems to be blocking LAN streaming
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Perl
- スター
- 1.8k
- フォーク
- 389
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LMS-Community/slimserver のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 67/100
LMS-Community/slimserver#1742 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
LMS-Community/slimserver#1555 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
LMS-Community/slimserver#1744 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Serve a static FLAC DASH manifest as a FLAC stream対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
LMS-Community/slimserver#1741 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
LMS-Community/slimserver#1738 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
LMS-Community/slimserver の issue をすべて見る
似ている issue
-
area:cpan-port area:performance bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#2230 ·
メンテナーはふだん 1 日以内に返信
-
Make logo .svgオープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
larchanka/ppc-code-ai-agent#38 ·
メンテナーはふだん 1 日以内に返信
-
[doc] perlsub wrongly says that `"sub { ... }" creates a new subroutine each time it is executed'オープンdocumentation Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
docs(api): /api/v3/external_sources spec is missing lc and section_title対応中かも @subhwastaken が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
openfoodfacts/openfoodfacts-server#15626 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100