Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

系统通过 v2rayNG 来进行代理时,本软件会报错 #132

Open
predb opened this issue Oct 4, 2024 · 3 comments
Open

系统通过 v2rayNG 来进行代理时,本软件会报错 #132

predb opened this issue Oct 4, 2024 · 3 comments

Comments

@predb
Copy link

predb commented Oct 4, 2024

win10,qbittorrent 4.6.7 x64,qBittorrent-ClientBlocker-3.4p8,

当 Windows 系统通过 Android v2rayNG 来进行VPN代理时,本软件会报错;

Android v2rayNG 用的模式:跳过局域网和中国大陆地区。

以及在此期间,qBit Peer列表里出现的-XL0012- 和 Gopeed dev 不会被自动屏蔽了,要手动屏蔽掉;不知道是否和此问题有关。

[2024-10-04 16:12:46][Submit] 获取时发生了错误: Post "http://192.168.1.99:2002/api/v2/app/setPreferences": read tcp 192.168.1.99:54278->192.168.1.88:10809: wsarecv: An existing connection was forcibly closed by the remote host..
[2024-10-04 16:12:46][SubmitBlockPeer] 发生错误.
[2024-10-04 16:12:46][Task] 此次封禁客户端: 0 个, 此次封禁 IP: 1 个, 当前封禁 IP 及客户端: 16 个.
@Simple-Tracker
Copy link
Owner

感谢反馈!

和此问题有关, 因为所有请求均会经过代理进行处理, 而非仅出站请求.

这是由于远端代理主动关闭了链接所致. 建议查看代理日志, 以检查具体问题所在. 或者, 禁用 qBCB 代理功能 (设置 Config 中 Proxy 参数为空).

@predb
Copy link
Author

predb commented Oct 6, 2024

感谢反馈!

和此问题有关, 因为所有请求均会经过代理进行处理, 而非仅出站请求.

这是由于远端代理主动关闭了链接所致. 建议查看代理日志, 以检查具体问题所在. 或者, 禁用 qBCB 代理功能 (设置 Config 中 Proxy 参数为空).

是修改 config.json 吗?这个文件内没有 Proxy 这个字眼。

{
	"debug": false,
	"interval": 10,
	"cleanInterval": 3600,
	"banTime": 86400,
	"timeout": 6,
	"logPath": "logs",
	"logToFile": true,
	"clientType": "qBittorrent",
	"clientURL": "http://192.168.1.99:2002",
	"clientUsername": "qvga",
	"clientPassword": "XXXXXXX",
	"skipCertVerification": false,
	"blockList": [
		"^-(SD|XF|QD|BN|DL)",
		"^-XL", "Xunlei", "cacao_torrent",
		"anacrolix[ /]torrent v?([0-1]\\.(([0-9]|[0-4][0-9]|[0-5][0-2])\\.[0-9]+|(53\\.[0-2]( |$)))|unknown)",
		"^-DT", "dt[ /]torrent", "^-HP", "hp[ /]torrent", "^-XM", "xm[ /]torrent",
		"trafficConsume", "\u07ad__",
		"^-GT0002", "go[ \\.]torrent",
		"Taipei-Torrent dev",
		"qBittorrent[ /]3\\.3\\.15",
		"gobind", "offline-download",
		"ljyun.cn"
	],
	"_blockList": [
		// 可选 blockList.
		"^-UW\\w{4}-", // uTorrent Web.
		"^-SP(([0-2]\\d{3})|(3[0-5]\\d{2}))-", "StellarPlayer", // 恒星播放器.
		"dandanplay" // 弹弹 Play.
	],
	"ipBlockList": [
		// Credit: https://docs.qq.com/doc/DQnJBTGJjSFZBR2JW.
		"1.180.24.0/23",
		"36.102.218.0/24",
		"101.69.63.0/24",
		"112.45.16.0/24",
		"112.45.20.0/24",
		"115.231.84.120/29",
		"115.231.84.128/28",
		"122.224.33.0/24",
		"123.184.152.0/24",
		"218.7.138.0/24",
		"221.11.96.0/24",
		"221.203.3.0/24",
		"221.203.6.0/24",
		"223.78.79.0/24",
		"223.78.80.0/24",
		"2002:df4e:4f00::/48",
		"2002:df4e:5000::/48",
		"2408:862e:ff:ff0d::/60",
		"2408:8631:2e09:d05::/60",
		"2408:8738:6000:d::/60",
		"2409:873c:f03:6000::/56",
		"240e:90c:2000:301::/60",
		"240e:90e:2000:2006::/60",
		"240e:918:8008::/48"
	],
	"ipBlockListURL": "https://raw.githubusercontent.com/PBH-BTN/BTN-Collected-Rules/main/combine/all.txt"
}

@Simple-Tracker
Copy link
Owner

Simple-Tracker commented Oct 6, 2024

可参考最新 config.json. (https://github.com/Simple-Tracker/qBittorrent-ClientBlocker/blob/dev/config.json)

(/* */ 意为注释其包括部分)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants