UnblockNeteaseMusic / UnblockNeteaseMusic/server
内网播放正常 外网播放失败 安卓手机端
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.8k
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
Bug 描述
项目大佬 内网环境下windows客户端播放正常 用的youtb音源
把端口映射到外网后 安卓手机开clash连接后 就播放失败 显无法缓冲歌曲 请检查网络
日志如下 求大佬指教
预期行为
No response
实际行为
No response
复现步骤
No response
启动命令及环境变量
无
日志内容
ERROR: (provider/match) Cannot read properties of undefined (reading 'includes')
TypeError: Cannot read properties of undefined (reading 'includes')
at /app/app.js:86:22682
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async g (/app/app.js:10:1861)
at async Promise.any (index 0)
INFO: (spawn) running yt-dlp -f 140 --dump-json ytsearch1:你可以慢点走 (Live) - SHarK / Rapeter / KITO
ERROR: (provider/match) Cannot read properties of undefined (reading 'includes')
TypeError: Cannot read properties of undefined (reading 'includes')
at /app/app.js:86:22682
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async g (/app/app.js:10:1861)
at async Promise.any (index 0)
at async e (/app/app.js:10:4296)
at async Promise.all (index 1)
INFO: (spawn) running yt-dlp -f 140 --dump-json ytsearch1:你可以慢点走 (Live) - SHarK / Rapeter / KITO
ERROR: (provider/match) Cannot read properties of undefined (reading 'includes')
TypeError: Cannot read properties of undefined (reading 'includes')
at /app/app.js:86:22682
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async g (/app/app.js:10:1861)
at async Promise.any (index 0)
at async e (/app/app.js:10:4296)
at async Promise.all (index 1)
INFO: (provider/match) Replaced: [2729440021] 你可以慢点走 (Live)
audioId: 2729440021
songName: "你可以慢点走 (Live)"
INFO: (provider/match) Replaced: [2729440021] 你可以慢点走 (Live)
audioId: 2729440021
songName: "你可以慢点走 (Live)"
INFO: (spawn) running yt-dlp -f 140 --dump-json ytsearch1:藏在云里的星 - 邓佳鑫
ERROR: (provider/match) Cannot read properties of undefined (reading 'includes')
TypeError: Cannot read properties of undefined (reading 'includes')
at /app/app.js:86:22682
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async g (/app/app.js:10:1861)
at async Promise.any (index 0)
at async e (/app/app.js:10:4296)
at async Promise.all (index 0)
INFO: (provider/match) Replaced: [2727354400] 藏在云里的星
audioId: 2727354400
songName: "藏在云里的星"
INFO: (provider/match) Replaced: [2727354400] 藏在云里的星
audioId: 2727354400
songName: "藏在云里的星"
ERROR: (provider/match) Cannot read properties of undefined (reading 'includes')
TypeError: Cannot read properties of undefined (reading 'includes')
at /app/app.js:86:22682
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async g (/app/app.js:10:1861)
at async Promise.any (index 0)
INFO: (spawn) running yt-dlp -f 140 --dump-json ytsearch1:野渡没有收件人 (Live) - Vinz-T / 翁杰Winjay / 马赫mood
ERROR: (provider/match) Cannot read properties of undefined (reading 'includes')
TypeError: Cannot read properties of undefined (reading 'includes')
at /app/app.js:86:22682
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async g (/app/app.js:10:1861)
at async Promise.any (index 0)
at async e (/app/app.js:10:4296)
at async Promise.all (index 0)
INFO: (provider/match) Replaced: [2729440746] 野渡没有收件人 (Live)
audioId: 2729440746
songName: "野渡没有收件人 (Live)"
INFO: (provider/match) Replaced: [2729440746] 野渡没有收件人 (Live)
audioId: 2729440746
songName: "野渡没有收件人 (Live)"
ERROR: (provider/match) Cannot read properties of undefined (reading 'includes')
TypeError: Cannot read properties of undefined (reading 'includes')
at /app/app.js:86:22682
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async g (/app/app.js:10:1861)
at async Promise.any (index 0)
网易云音乐歌曲链接
No response
网易云音乐版本号
7.2.22
操作系统
安卓手机客户端
其他信息
No response
问题排查
- 我确认我使用的核心是由 UnblockNeteaseMusic 项目官方发行,不是其他任何 fork。
- 我确认我已经升级到了最新的核心版本(推荐使用最新构建而不是 release)。
- 我确认我已经启用了 HTTPS 端口。
- 我确认我已经正确设置了 EndPoint。
- 我确认我已经在对应的客户端正确安装了 CA 证书。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Android client failure through the externally mapped HTTPS endpoint, then inspect provider/match handling around /app/app.js:86:22682 and the yt-dlp output shown in the logs. Done means the repeated Cannot read properties of undefined error is resolved and the affected songs buffer and play in this setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100