Skip to content

偶发网易云 API 502 #286

Closed as duplicate
Closed as duplicate

Description

@Neclyon

检查清单

  • 我已检索仓库中所有的 Issues,确保我没有重复提交问题;或有相似 Issue,但我觉得我的情况不包含在那个相似 Issue 之内
  • 我已经找到了可以复现这个问题的方法,并且写在了下面的「具体信息」中
  • 此问题可以在我的设备和当前环境中稳定复现
  • 此问题可以在最新版本 (Latest Release) 中复现
  • 此问题是在我更新到当前版本后才出现的

环境信息

Commit: f6e2d7a
Date: 2026-09-02T15:16:52+08:00 (2 weeks ago)
Electron: 43.2.0
Chromium: 150.0.7871.129
Node.js: 24.18.0
V8: 15.0.1240245-electron.0
OS: Linux x64 7.2.4-arch1-2

具体信息

10:33:50.412 (core)          › [apis] netease.playlist_detail failed: NeteaseRequestError: netease 502: fetch failed
    at createRequest (file:///opt/SPlayer-Next/resources/app.asar/out/main/index.js:4201:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async callNetease (file:///opt/SPlayer-Next/resources/app.asar/out/main/index.js:5685:15)
    at async dispatch (file:///opt/SPlayer-Next/resources/app.asar/out/main/index.js:13735:19)
    at async file:///opt/SPlayer-Next/resources/app.asar/out/main/index.js:13755:25
    at async Session.<anonymous> (node:electron/js2c/browser_init:2:120530)

这是当时的日志。
此问题每隔一段时间(短则三、四分钟,长则二十分钟至半个小时)就会出现一次,每次持续约两分钟。
在此段时间内无法播放未缓存音乐,无法加载喜爱歌曲和收藏曲目,无法加载评论。

Activity

  1. github-actions commented on Sep 19, 2026

    @github-actions

    👋 @Neclyon

    感谢提交 Issue!我们已经收到您的反馈,会尽快确认您的问题。

    Thanks for opening this issue! We have received your report and will review it as soon as possible.

  2. Neclyon commented on Sep 19, 2026

    @Neclyon
    Author

    Image😡

  3. Neclyon commented on Sep 19, 2026

    @Neclyon
    Author

    经过本人和 AI 的排查如下:
    这个错误的主要原因是其向网易云请求经过 IPv6 后莫名被阻断(ECONNRESET)。测试时未使用代理。
    被阻断本身不能显然赖到 SPlayer-Next 身上,问题大概是电信的。
    问题在于 SPlayer-Next 在第一次请求失败后,后续重试仍然使用 IPv6 地址。
    现在我在让 Astra 修复这个问题,修改后的逻辑是,在第一次请求因为任何原因失败后,后续重试默认采用 IPv4 地址。

  4. Neclyon commented on Sep 19, 2026

    @Neclyon
    Author

    私房菜还打算在 设置 - 连接 中加入新选项“连接优先采用 IPv4”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions