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

最近一直发生“获取时发生了错误” #139

Open
DOSforever opened this issue Nov 19, 2024 · 5 comments
Open

最近一直发生“获取时发生了错误” #139

DOSforever opened this issue Nov 19, 2024 · 5 comments
Labels
question Further information is requested

Comments

@DOSforever
Copy link

使用版本 3.5

一直出现大量这样的提示:

[2024-11-19 18:40:19][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:40:19][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:40:19][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt": dial tcp 8.7.198.46:443: i/o timeout (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:40:19][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:40:25][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:40:25][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:40:25][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:40:25][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt": dial tcp 8.7.198.46:443: i/o timeout (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:40:25][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:40:25][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt": read tcp 192.168.0.100:50461->8.7.198.46:443: wsarecv: An existing connection was forcibly closed by the remote host..
[2024-11-19 18:40:25][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:40:25][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:40:25][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt": read tcp 192.168.0.100:50462->8.7.198.46:443: wsarecv: An existing connection was forcibly closed by the remote host..
[2024-11-19 18:40:25][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:40:31][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:48:37][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:48:37][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:48:39][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:48:39][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:48:39][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:48:43][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:48:43][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:48:43][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt": read tcp 192.168.0.100:53115->8.7.198.46:443: wsarecv: An existing connection was forcibly closed by the remote host..
[2024-11-19 18:48:43][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:48:43][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:48:49][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:48:49][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:48:51][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:48:55][Fetch] 读取时发生了错误: context deadline exceeded (Client.Timeout or context cancellation while reading body).
[2024-11-19 18:48:55][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:49:01][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:49:01][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:49:01][Fetch] 获取时发生了错误: Get "https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-19 18:49:01][SetIPBlockListFromURL] 获取时发生了错误.
[2024-11-19 18:49:01][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:49:04][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:49:05][SetIPBlockListFromURL] 设置了 10 条 IP 规则 (来源: IPBlockListURL).
[2024-11-19 18:49:12][SetIPBlockListFromURL] 设置了 0 条 IP 规则 (来源: IPBlockListURL).

@Scribing
Copy link

网络不通,你懂的

@DOSforever
Copy link
Author

本机的回环地址也能网不通?

[2024-11-25 15:53:59][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:53:59][FetchTorrents] 发生错误.
[2024-11-25 15:54:05][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:05][FetchTorrents] 发生错误.
[2024-11-25 15:54:11][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:11][FetchTorrents] 发生错误.
[2024-11-25 15:54:17][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:17][FetchTorrents] 发生错误.
[2024-11-25 15:54:23][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:23][FetchTorrents] 发生错误.
[2024-11-25 15:54:29][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:29][FetchTorrents] 发生错误.
[2024-11-25 15:54:35][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:35][FetchTorrents] 发生错误.
[2024-11-25 15:54:41][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:41][FetchTorrents] 发生错误.
[2024-11-25 15:54:47][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:47][FetchTorrents] 发生错误.
[2024-11-25 15:54:53][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:53][FetchTorrents] 发生错误.
[2024-11-25 15:54:59][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).

@Simple-Tracker
Copy link
Owner

本机的回环地址也能网不通?

[2024-11-25 15:53:59][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:53:59][FetchTorrents] 发生错误.
[2024-11-25 15:54:05][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:05][FetchTorrents] 发生错误.
[2024-11-25 15:54:11][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:11][FetchTorrents] 发生错误.
[2024-11-25 15:54:17][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:17][FetchTorrents] 发生错误.
[2024-11-25 15:54:23][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:23][FetchTorrents] 发生错误.
[2024-11-25 15:54:29][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:29][FetchTorrents] 发生错误.
[2024-11-25 15:54:35][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:35][FetchTorrents] 发生错误.
[2024-11-25 15:54:41][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:41][FetchTorrents] 发生错误.
[2024-11-25 15:54:47][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:47][FetchTorrents] 发生错误.
[2024-11-25 15:54:53][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
[2024-11-25 15:54:53][FetchTorrents] 发生错误.
[2024-11-25 15:54:59][Fetch] 获取时发生了错误: Get "http://127.0.0.1:8080/api/v2/torrents/info?filter=active": context deadline exceeded (Client.Timeout exceeded while awaiting headers).

感谢反馈!

规则无法获取是因部分运营商网络不通 (可能由于高峰期).

客户端无法连接有可能是 qBittorrent 卡顿, 也有可能是代理或者防火墙问题.

@IAALAI
Copy link
Contributor

IAALAI commented Dec 21, 2024

第一个还算正常,因为我们写了一堆不同的连接就是预期不同的人网络连接状况各有不同,但是看起来似乎是接通了 https://bta.iaalai.cn/BTN-Collected-Rules/combine/all.txt 但是也没有正确的设置规则?而且默认的错误重试时间也比较短?

@Simple-Tracker Simple-Tracker added the question Further information is requested label Jan 5, 2025
@mzhboy
Copy link

mzhboy commented Jan 10, 2025

我也遇到类似的 3.7B1,每秒钟都会有url更新请求,结果被429, "updateInterval": 86400, 没效果
url更新规则的逻辑应该优化,获取失败就如此频繁(每秒)更新会被站点当攻击的。

[SetIPBlockListFromURL] This time 0 IP rules are set (Source: IPBlockListURL).
[Fetch] An error occurred while requesting: Unknown status code 429.
[SetIPBlockListFromURL] An error occurred while fetching.

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

No branches or pull requests

5 participants