Skip to content

关掉使用代理,还在用代理 #436

Open

Description

@Neclyon

检查清单

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

环境信息

Commit: 9d3ca78
Date: 2026-10-24T16:35:58+08:00 (last week)
Electron: 44.9.0
Chromium: 152.0.7977.167
Node.js: 24.22.0
V8: 15.2.124.43-electron.0
OS: Linux x64 7.2.11-arch1-1

具体信息

  1. 在 开启了系统代理 的系统环境里打开软件
  2. 关掉 设置-服务里的网络代理选项
  3. 发现即使选项关闭,歌曲下载 还在走代理

铁证:

2026/11/01 17:55:30.741401 from 127.0.0.1:38490 accepted http://p2.music.126.net/nQVmg5AnFssq12RoG87z5w==/109951163759751058.jpg?param=1024y1024 [socks -> direct]
2026/11/01 17:55:30.741615 from 127.0.0.1:38502 accepted http://p2.music.126.net/nQVmg5AnFssq12RoG87z5w==/109951163759751058.jpg?param=1024y1024 [socks -> direct]
2026/11/01 17:55:30.741650 from 127.0.0.1:38500 accepted http://p2.music.126.net/nQVmg5AnFssq12RoG87z5w==/109951163759751058.jpg?param=1024y1024 [socks -> direct]
2026/11/01 17:55:30.741666 from 127.0.0.1:38510 accepted http://p2.music.126.net/nQVmg5AnFssq12RoG87z5w==/109951163759751058.jpg?param=1024y1024 [socks -> direct]
2026/11/01 17:55:30.741675 from 127.0.0.1:38524 accepted http://p2.music.126.net/nQVmg5AnFssq12RoG87z5w==/109951163759751058.jpg?param=1024y1024 [socks -> direct]
2026/11/01 17:55:30.754839 from 127.0.0.1:38528 accepted http://p2.music.126.net/nQVmg5AnFssq12RoG87z5w==/109951163759751058.jpg?param=300y300 [socks -> direct]
2026/11/01 17:55:30.760391 from 127.0.0.1:38536 accepted http://m701.music.126.net/20261101182030/8fa447789921e48aedab586dd6ee7f40/jdymusic/obj/wo3DlMOGwrbDjj7DisKw/32501836424/94df/7a2f/6310/a72172a7e03a71ab2b694cc497137265.flac?vuutv=8CCMS2wyAhbN7N2465jZdZAS2nghx9D568lLoCzXOnkanQ0JS2clX3+6L8HRwW4m4vnxBhBPDIuwVSjHf5hjwV5cQiH2HqE8D2X6PxlNsYo= [socks -> direct]

前面几行图片是封面下载,后面是音乐下载。
我去看了一眼代码,发现这个网络代理选项竟然只对 Electron 生效,对后端的netease完全不生效。
然后,就会莫名其妙的导致不停的 502:

17:55:21.975 (core)          › [apis] netease.song_url failed: NeteaseRequestError: netease 502: fetch failed (ECONNRESET)
    at createRequest (file:///opt/SPlayer-Next/resources/app.asar/out/main/index.js:8723:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async callNetease (file:///opt/SPlayer-Next/resources/app.asar/out/main/index.js:10870:14)
    at async callPlatformApi (file:///opt/SPlayer-Next/resources/app.asar/out/main/index.js:19153:20)
    at async Session.<anonymous> (node:electron/js2c/browser_init:1:119032)

然后下载不下来。

另外我交了一个 PR #290 能解决这个问题,但你们根本不看。

Activity

  1. github-actions commented on Nov 1, 2026

    @github-actions

    👋 @Neclyon

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

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

  2. marked 偶发网易云 API 502 #286 as a duplicate of this issue on Nov 1, 2026
  3. added a commit that references this issue on Nov 2, 2026
  4. Neclyon commented on Nov 13, 2026

    @Neclyon
    Author

    @imsyy 没有解决问题。

    Nov 13 21:10:42 1ST-Desktop xray[997]: 2026/11/13 21:10:42.035532 from 127.0.0.1:52592 accepted http://p1.music.126.net/Z4PD3xWHcSBOqabMWRc_Uw==/109951170376526221.jpg?param=1024y1024 [socks -> direct]
    Nov 13 21:10:42 1ST-Desktop xray[997]: 2026/11/13 21:10:42.035988 from 127.0.0.1:52602 accepted http://p1.music.126.net/Z4PD3xWHcSBOqabMWRc_Uw==/109951170376526221.jpg?param=1024y1024 [socks -> direct]
    Nov 13 21:10:42 1ST-Desktop xray[997]: 2026/11/13 21:10:42.036339 from 127.0.0.1:52612 accepted http://p1.music.126.net/Z4PD3xWHcSBOqabMWRc_Uw==/109951170376526221.jpg?param=1024y1024 [socks -> direct]
    Nov 13 21:10:42 1ST-Desktop xray[997]: 2026/11/13 21:10:42.036385 from 127.0.0.1:52616 accepted http://p1.music.126.net/Z4PD3xWHcSBOqabMWRc_Uw==/109951170376526221.jpg?param=1024y1024 [socks -> direct]
    Nov 13 21:10:42 1ST-Desktop xray[997]: 2026/11/13 21:10:42.036895 from 127.0.0.1:52618 accepted http://p1.music.126.net/Z4PD3xWHcSBOqabMWRc_Uw==/109951170376526221.jpg?param=1024y1024 [socks -> direct]
    Nov 13 21:10:42 1ST-Desktop xray[997]: 2026/11/13 21:10:42.038110 from 127.0.0.1:52624 accepted http://p1.music.126.net/Z4PD3xWHcSBOqabMWRc_Uw==/109951170376526221.jpg?param=1024y1024 [socks -> direct]
    

    我使用的是最新 commit:6b26b685,已经包含了f08e9659的修复,且在设置里选择了不使用代理。

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