Auto_Bangumi
Auto_Bangumi copied to clipboard
经常跑一段时间就不工作了 重启了就好 然后过几天 又不工作了
确认
- [X] 我的版本是最新版本,我的版本号与 version 相同。
- [X] 我已经查阅了已知问题,并确认我的问题不在其中。
- [X] 我已经 issue 中搜索过,确认我的问题没有被提出过。
- [X] 我已经修改标题,将标题中的 描述 替换为我遇到的问题。
当前程序版本
Version 3.1.12
问题类型
程序运行问题
问题描述
如题。 看日志感觉就没运行的样子。 是不是哪里没配置好呢? 看到这个 Downloader connect failed. 但我下载器是正常的
发生问题时系统日志
[2024-02-22 02:20:44] DEBUG: Using selector: EpollSelector
[2024-02-22 02:20:44] INFO: Started server process [7]
[2024-02-22 02:20:44] INFO: Waiting for application startup.
[2024-02-22 02:20:44] INFO:
[2024-02-22 02:20:44] INFO: _ ____ _
[2024-02-22 02:20:44] INFO: /\ | | | _ \ (_)
[2024-02-22 02:20:44] INFO: / \ _ _| |_ ___ | |_) | __ _ _ __ __ _ _ _ _ __ ___ _
[2024-02-22 02:20:44] INFO: / /\ \| | | | __/ _ \| _ < / _` | '_ \ / _` | | | | '_ ` _ \| |
[2024-02-22 02:20:44] INFO: / ____ \ |_| | || (_) | |_) | (_| | | | | (_| | |_| | | | | | | |
[2024-02-22 02:20:44] INFO: /_/ \_\__,_|\__\___/|____/ \__,_|_| |_|\__, |\__,_|_| |_| |_|_|
[2024-02-22 02:20:44] INFO: __/ |
[2024-02-22 02:20:44] INFO: |___/
[2024-02-22 02:20:44] INFO: Version 3.1.12 Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
[2024-02-22 02:20:44] INFO: GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
[2024-02-22 02:20:44] INFO: Starting AutoBangumi...
[2024-02-22 02:20:44] INFO: Config loaded
[2024-02-22 02:20:44] DEBUG: Starting new HTTP connection (1): 192.168.8.5:8080
[2024-02-22 02:20:44] ERROR [Checker] Downloader connect failed.
[2024-02-22 02:20:44] WARNING: Program failed to start.
[2024-02-22 02:20:44] INFO: Application startup complete.
[2024-02-22 02:20:44] INFO: Uvicorn running on http://0.0.0.0:7892 (Press CTRL+C to quit)
[2024-02-22 10:29:19] WARNING: Invalid HTTP request received.
[2024-02-22 17:50:53] WARNING: Invalid HTTP request received.
[2024-02-22 20:25:53] WARNING: Invalid HTTP request received.
[2024-02-22 20:25:53] WARNING: Invalid HTTP request received.
[2024-02-22 20:25:58] DEBUG: Calling on_field_start with no data
[2024-02-22 20:25:58] DEBUG: Calling on_field_name with data[0:8]
[2024-02-22 20:25:58] DEBUG: Calling on_field_data with data[9:14]
[2024-02-22 20:25:58] DEBUG: Calling on_field_end with no data
[2024-02-22 20:25:58] DEBUG: Calling on_field_start with no data
[2024-02-22 20:25:58] DEBUG: Calling on_field_name with data[15:23]
[2024-02-22 20:25:58] DEBUG: Calling on_field_data with data[24:34]
[2024-02-22 20:25:58] DEBUG: Calling on_field_end with no data
[2024-02-22 20:25:58] DEBUG: Calling on_end with no data
[2024-02-22 20:25:58] DEBUG: detected 'bcrypt' backend, version '4.0.1'
[2024-02-22 20:25:58] DEBUG: 'bcrypt' backend lacks $2$ support, enabling workaround
暂时保留一下现场 先不重启了
非常感谢 麻烦帮忙看看
我也有同样的问题 正常几天之后就不工作了 但是我开关以下调试又开始运行了
确实 我的重命名也是 需要手动重启才好使
非常感谢 麻烦帮忙看看
是用的docker搭建的吗?而且容器使用的是macvlan方式获取网络的那种
conda跑裸金属不好嘛,docker不方便维护哎
应该是你 QB 启动比较慢导致 AB 检测不到 QB 导致的,会在下个大版本解决。可以优先参考其他人的延后启动脚本
同样的问题,docker安装
[2024-02-29 21:05:18] INFO: Started server process [7]
[2024-02-29 21:05:18] INFO: Waiting for application startup.
[2024-02-29 21:05:18] INFO:
[2024-02-29 21:05:18] INFO: _ ____ _
[2024-02-29 21:05:18] INFO: /\ | | | _ \ (_)
[2024-02-29 21:05:18] INFO: / \ _ _| |_ ___ | |_) | __ _ _ __ __ _ _ _ _ __ ___ _
[2024-02-29 21:05:18] INFO: / /\ \| | | | __/ _ \| _ < / _` | '_ \ / _` | | | | '_ ` _ \| |
[2024-02-29 21:05:18] INFO: / ____ \ |_| | || (_) | |_) | (_| | | | | (_| | |_| | | | | | | |
[2024-02-29 21:05:18] INFO: /_/ \_\__,_|\__\___/|____/ \__,_|_| |_|\__, |\__,_|_| |_| |_|_|
[2024-02-29 21:05:18] INFO: __/ |
[2024-02-29 21:05:18] INFO: |___/
[2024-02-29 21:05:18] INFO: Version 3.1.12 Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
[2024-02-29 21:05:18] INFO: GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
[2024-02-29 21:05:18] INFO: Starting AutoBangumi...
[2024-02-29 21:05:18] INFO: Config loaded
[2024-02-29 21:05:18] ERROR [Checker] Downloader connect failed.
[2024-02-29 21:05:18] WARNING: Program failed to start.
[2024-02-29 21:05:18] INFO: Application startup complete.
[2024-02-29 21:05:18] INFO: Uvicorn running on http://0.0.0.0:7892 (Press CTRL+C to quit)
我的QB和AB都一直在运行,不应该存在QB启动慢的问题呀……
我的也有问题,番是能正常下的,但隔一段时间就不能重命名,等重启一下服务才可以,刚重置了,日后贴上log
非常感谢 麻烦帮忙看看
是用的docker搭建的吗?而且容器使用的是macvlan方式获取网络的那种
我是macvlan搭的,新版本也是时不时就要手动重启一下,老版本没这现象 ———————————————————————————————————————— 编辑:补充一下我的情况时是重启docker这种操作还是会连不上qb,因为是同时启动ab和qb的;重启是指必须qb好了的情况下,在ab的webui里点那个重启,下面发了一个我这情况能有效的解决方法
@ATFieldBeast 嘛,可以先加个每天重启一次
我遇到的更加极端,只有启动后的第一次 RSS 解析才能正常运行,之后就再也没有新的 episodes。版本 v3.1.12,网页能正常访问,日志全是 [Renamer]
,我怀疑是不是什么地方阻塞或死循环了
[2024-03-17 05:23:16] DEBUG: Calling on_field_start with no data
[2024-03-17 05:23:16] DEBUG: Calling on_field_name with data[0:8]
[2024-03-17 05:23:16] DEBUG: Calling on_field_data with data[9:14]
[2024-03-17 05:23:16] DEBUG: Calling on_field_end with no data
[2024-03-17 05:23:16] DEBUG: Calling on_field_start with no data
[2024-03-17 05:23:16] DEBUG: Calling on_field_name with data[15:23]
[2024-03-17 05:23:16] DEBUG: Calling on_field_data with data[24:48]
[2024-03-17 05:23:16] DEBUG: Calling on_field_end with no data
[2024-03-17 05:23:16] DEBUG: Calling on_end with no data
[2024-03-17 05:24:04] DEBUG: [Downloader] Authed.
[2024-03-17 05:24:04] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:24:04] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:25:04] DEBUG: [Downloader] Authed.
[2024-03-17 05:25:04] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:25:05] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:26:05] DEBUG: [Downloader] Authed.
[2024-03-17 05:26:05] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:26:05] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:27:05] DEBUG: [Downloader] Authed.
[2024-03-17 05:27:05] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:27:06] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:28:06] DEBUG: [Downloader] Authed.
[2024-03-17 05:28:06] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:28:06] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:29:06] DEBUG: [Downloader] Authed.
[2024-03-17 05:29:06] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:29:07] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:30:07] DEBUG: [Downloader] Authed.
[2024-03-17 05:30:07] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:30:07] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:31:08] DEBUG: [Downloader] Authed.
[2024-03-17 05:31:08] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:31:08] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:32:08] DEBUG: [Downloader] Authed.
[2024-03-17 05:32:08] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:32:09] DEBUG: [Renamer] Rename process finished.
[2024-03-17 05:33:09] DEBUG: [Downloader] Authed.
[2024-03-17 05:33:09] DEBUG: [Renamer] Start rename process.
[2024-03-17 05:33:09] DEBUG: [Renamer] Rename process finished.
我也是,我一般进AB设置点一下应用,我看到那里有一个Restart success,然后就会恢复了。
我也有上面提到的Renamer循环的问题
大部分是因为qb没连上,可以定时重启(
关注, docker遇到相同问题
可以看到自从03-24 09:36:38连接qb报错后,[Renamer]线程?一直没有执行,导致无法重命名,看了下qb的日志,这个时间点确实不在线,可能要优化qb重连机制吧
[2024-03-24 09:35:18] DEBUG: [Renamer] Rename process finished. [2024-03-24 09:36:18] DEBUG: [Downloader] Authed. [2024-03-24 09:36:18] DEBUG: [Renamer] Start rename process. [2024-03-24 09:36:38] WARNING: Retrying (Retry(total=0, connect=1, read=0, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='192.168.1.4', port=28913): Read timed out. (read timeout=10)")': / [2024-03-24 09:36:51] WARNING: Retrying (Retry(total=0, connect=1, read=0, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='192.168.1.4', port=28913): Read timed out. (read timeout=3.1)")': / [2024-03-24 09:37:09] WARNING: Retrying (Retry(total=0, connect=0, read=1, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f974f7b4450>: Failed to establish a new connection: [Errno 111] Connection refused')': / [2024-03-24 09:37:09] WARNING: Retrying (Retry(total=0, connect=0, read=1, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f974fe77510>: Failed to establish a new connection: [Errno 111] Connection refused')': / [2024-03-24 09:37:09] WARNING: Retrying (Retry(total=0, connect=0, read=1, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f974fe75fd0>: Failed to establish a new connection: [Errno 111] Connection refused')': /api/v2/auth/logout [2024-03-24 09:41:10] DEBUG: [Downloader] Authed. [2024-03-24 09:41:10] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 09:41:10] DEBUG: [RSS] No new title has been found. [2024-03-24 09:41:10] DEBUG: [Engine] Get 1 RSS items [2024-03-24 09:41:11] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 09:41:11] DEBUG: Insert 0 torrents in database. [2024-03-24 09:56:11] DEBUG: [Downloader] Authed. [2024-03-24 09:56:11] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 09:56:11] DEBUG: [RSS] No new title has been found. [2024-03-24 09:56:11] DEBUG: [Engine] Get 1 RSS items [2024-03-24 09:56:12] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 09:56:12] DEBUG: Insert 0 torrents in database. [2024-03-24 10:11:12] DEBUG: [Downloader] Authed. [2024-03-24 10:11:12] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:11:12] DEBUG: [RSS] No new title has been found. [2024-03-24 10:11:12] DEBUG: [Engine] Get 1 RSS items [2024-03-24 10:11:12] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:11:12] DEBUG: Insert 0 torrents in database. [2024-03-24 10:26:12] DEBUG: [Downloader] Authed. [2024-03-24 10:26:13] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:26:13] DEBUG: [RSS] No new title has been found. [2024-03-24 10:26:13] DEBUG: [Engine] Get 1 RSS items [2024-03-24 10:26:13] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:26:13] DEBUG: Insert 0 torrents in database. [2024-03-24 10:41:13] DEBUG: [Downloader] Authed. [2024-03-24 10:41:14] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:41:14] DEBUG: [RSS] No new title has been found. [2024-03-24 10:41:14] DEBUG: [Engine] Get 1 RSS items [2024-03-24 10:41:14] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:41:14] DEBUG: Insert 0 torrents in database. [2024-03-24 10:56:14] DEBUG: [Downloader] Authed. [2024-03-24 10:56:15] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:56:15] DEBUG: [RSS] No new title has been found. [2024-03-24 10:56:15] DEBUG: [Engine] Get 1 RSS items [2024-03-24 10:56:15] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 10:56:15] DEBUG: Insert 0 torrents in database. [2024-03-24 11:11:15] DEBUG: [Downloader] Authed. [2024-03-24 11:11:16] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:11:16] DEBUG: [RSS] No new title has been found. [2024-03-24 11:11:16] DEBUG: [Engine] Get 1 RSS items [2024-03-24 11:11:16] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:11:16] DEBUG: Insert 0 torrents in database. [2024-03-24 11:26:16] DEBUG: [Downloader] Authed. [2024-03-24 11:26:17] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:26:17] DEBUG: [RSS] No new title has been found. [2024-03-24 11:26:17] DEBUG: [Engine] Get 1 RSS items [2024-03-24 11:26:17] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:26:17] DEBUG: Insert 0 torrents in database. [2024-03-24 11:41:17] DEBUG: [Downloader] Authed. [2024-03-24 11:41:18] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:41:18] DEBUG: [RSS] No new title has been found. [2024-03-24 11:41:18] DEBUG: [Engine] Get 1 RSS items [2024-03-24 11:41:18] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:41:18] DEBUG: Insert 0 torrents in database. [2024-03-24 11:56:18] DEBUG: [Downloader] Authed. [2024-03-24 11:56:19] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:56:19] DEBUG: [RSS] No new title has been found. [2024-03-24 11:56:19] DEBUG: [Engine] Get 1 RSS items [2024-03-24 11:56:19] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 11:56:19] DEBUG: Insert 0 torrents in database. [2024-03-24 12:11:19] DEBUG: [Downloader] Authed. [2024-03-24 12:11:20] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:11:20] DEBUG: [RSS] No new title has been found. [2024-03-24 12:11:20] DEBUG: [Engine] Get 1 RSS items [2024-03-24 12:11:20] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:11:20] DEBUG: Insert 0 torrents in database. [2024-03-24 12:26:20] DEBUG: [Downloader] Authed. [2024-03-24 12:26:20] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:26:20] DEBUG: [RSS] No new title has been found. [2024-03-24 12:26:20] DEBUG: [Engine] Get 1 RSS items [2024-03-24 12:26:21] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:26:21] DEBUG: Insert 0 torrents in database. [2024-03-24 12:41:21] DEBUG: [Downloader] Authed. [2024-03-24 12:41:21] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:41:21] DEBUG: [RSS] No new title has been found. [2024-03-24 12:41:21] DEBUG: [Engine] Get 1 RSS items [2024-03-24 12:41:22] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:41:22] DEBUG: Insert 0 torrents in database. [2024-03-24 12:56:22] DEBUG: [Downloader] Authed. [2024-03-24 12:56:22] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:56:22] DEBUG: [RSS] No new title has been found. [2024-03-24 12:56:22] DEBUG: [Engine] Get 1 RSS items [2024-03-24 12:56:23] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 12:56:23] DEBUG: Insert 0 torrents in database. [2024-03-24 13:11:23] DEBUG: [Downloader] Authed. [2024-03-24 13:11:24] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:11:24] DEBUG: [RSS] No new title has been found. [2024-03-24 13:11:24] DEBUG: [Engine] Get 1 RSS items [2024-03-24 13:11:24] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:11:24] DEBUG: Insert 0 torrents in database. [2024-03-24 13:26:24] DEBUG: [Downloader] Authed. [2024-03-24 13:26:25] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:26:25] DEBUG: [RSS] No new title has been found. [2024-03-24 13:26:25] DEBUG: [Engine] Get 1 RSS items [2024-03-24 13:26:25] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:26:25] DEBUG: Insert 0 torrents in database. [2024-03-24 13:41:25] DEBUG: [Downloader] Authed. [2024-03-24 13:41:26] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:41:26] DEBUG: [RSS] No new title has been found. [2024-03-24 13:41:26] DEBUG: [Engine] Get 1 RSS items [2024-03-24 13:41:26] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:41:26] DEBUG: Insert 0 torrents in database. [2024-03-24 13:56:26] DEBUG: [Downloader] Authed. [2024-03-24 13:56:27] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:56:27] DEBUG: [RSS] No new title has been found. [2024-03-24 13:56:27] DEBUG: [Engine] Get 1 RSS items [2024-03-24 13:56:27] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 13:56:27] DEBUG: Insert 0 torrents in database. [2024-03-24 14:11:27] DEBUG: [Downloader] Authed. [2024-03-24 14:11:28] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:11:28] DEBUG: [RSS] No new title has been found. [2024-03-24 14:11:28] DEBUG: [Engine] Get 1 RSS items [2024-03-24 14:11:28] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:11:28] DEBUG: Insert 0 torrents in database. [2024-03-24 14:26:28] DEBUG: [Downloader] Authed. [2024-03-24 14:26:28] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:26:29] DEBUG: [RSS] No new title has been found. [2024-03-24 14:26:29] DEBUG: [Engine] Get 1 RSS items [2024-03-24 14:26:29] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:26:29] DEBUG: Insert 0 torrents in database. [2024-03-24 14:41:29] DEBUG: [Downloader] Authed. [2024-03-24 14:41:29] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:41:29] DEBUG: [RSS] No new title has been found. [2024-03-24 14:41:29] DEBUG: [Engine] Get 1 RSS items [2024-03-24 14:41:30] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:41:30] DEBUG: Insert 0 torrents in database. [2024-03-24 14:56:30] DEBUG: [Downloader] Authed. [2024-03-24 14:56:30] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:56:30] DEBUG: [RSS] No new title has been found. [2024-03-24 14:56:30] DEBUG: [Engine] Get 1 RSS items [2024-03-24 14:56:31] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 14:56:31] DEBUG: Insert 0 torrents in database. [2024-03-24 15:11:31] DEBUG: [Downloader] Authed. [2024-03-24 15:11:32] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:11:32] DEBUG: [RSS] No new title has been found. [2024-03-24 15:11:32] DEBUG: [Engine] Get 1 RSS items [2024-03-24 15:11:32] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:11:32] DEBUG: Insert 0 torrents in database. [2024-03-24 15:26:32] DEBUG: [Downloader] Authed. [2024-03-24 15:26:33] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:26:33] DEBUG: [RSS] No new title has been found. [2024-03-24 15:26:33] DEBUG: [Engine] Get 1 RSS items [2024-03-24 15:26:33] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:26:33] DEBUG: Insert 0 torrents in database. [2024-03-24 15:41:33] DEBUG: [Downloader] Authed. [2024-03-24 15:41:34] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:41:34] DEBUG: [RSS] No new title has been found. [2024-03-24 15:41:34] DEBUG: [Engine] Get 1 RSS items [2024-03-24 15:41:35] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:41:35] DEBUG: Insert 0 torrents in database. [2024-03-24 15:56:35] DEBUG: [Downloader] Authed. [2024-03-24 15:56:35] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:56:35] DEBUG: [RSS] No new title has been found. [2024-03-24 15:56:35] DEBUG: [Engine] Get 1 RSS items [2024-03-24 15:56:36] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 15:56:36] DEBUG: Insert 0 torrents in database. [2024-03-24 16:11:36] DEBUG: [Downloader] Authed. [2024-03-24 16:11:40] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:11:40] DEBUG: [RSS] No new title has been found. [2024-03-24 16:11:40] DEBUG: [Engine] Get 1 RSS items [2024-03-24 16:11:40] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:11:40] DEBUG: Insert 0 torrents in database. [2024-03-24 16:26:40] DEBUG: [Downloader] Authed. [2024-03-24 16:26:41] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:26:41] DEBUG: [RSS] No new title has been found. [2024-03-24 16:26:41] DEBUG: [Engine] Get 1 RSS items [2024-03-24 16:26:41] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:26:42] DEBUG: Insert 0 torrents in database. [2024-03-24 16:41:42] DEBUG: [Downloader] Authed. [2024-03-24 16:41:42] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:41:42] DEBUG: [RSS] No new title has been found. [2024-03-24 16:41:42] DEBUG: [Engine] Get 1 RSS items [2024-03-24 16:41:42] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:41:42] DEBUG: Insert 0 torrents in database. [2024-03-24 16:56:42] DEBUG: [Downloader] Authed. [2024-03-24 16:56:43] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:56:43] DEBUG: [RSS] No new title has been found. [2024-03-24 16:56:43] DEBUG: [Engine] Get 1 RSS items [2024-03-24 16:56:43] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 16:56:43] DEBUG: Insert 0 torrents in database. [2024-03-24 17:11:43] DEBUG: [Downloader] Authed. [2024-03-24 17:11:44] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 17:11:44] DEBUG: [RSS] No new title has been found. [2024-03-24 17:11:44] DEBUG: [Engine] Get 1 RSS items [2024-03-24 17:11:45] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 17:11:45] DEBUG: Insert 0 torrents in database. [2024-03-24 17:26:45] DEBUG: [Downloader] Authed. [2024-03-24 17:26:45] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 17:26:45] DEBUG: [RSS] No new title has been found. [2024-03-24 17:26:45] DEBUG: [Engine] Get 1 RSS items [2024-03-24 17:26:46] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 17:26:46] DEBUG: [Network] Successfully connected to https://mikanani.me/Download/20240324/cfa824cceb169044114effb40d3d1909d35d7db0.torrent. Status: 200 [2024-03-24 17:26:46] DEBUG: [Downloader] Add torrent: 香格里拉·弗陇提亚~屎作猎人向神作发起挑战~ [2024-03-24 17:26:46] DEBUG: [Engine] Add torrent [ANi] ShangriLa Frontier / 香格里拉・开拓异境~粪作猎手挑战神作~ - 24 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4] to client [2024-03-24 17:26:46] DEBUG: Insert 1 torrents in database. [2024-03-24 17:41:46] DEBUG: [Downloader] Authed. [2024-03-24 17:41:47] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-24 17:41:47] DEBUG: [RSS] No new title has been found. [2024-03-24 17:41:47] DEBUG: [Engine] Get 1 RSS items * * * * * * [2024-03-29 20:48:52] DEBUG: Insert 0 torrents in database. [2024-03-29 21:03:52] DEBUG: [Downloader] Authed. [2024-03-29 21:03:57] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:04:07] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:04:17] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:04:17] ERROR [Network] Unable to connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, Please check your network settings [2024-03-29 21:04:17] WARNING: [Network] Failed to get torrents: https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [2024-03-29 21:04:17] DEBUG: [RSS] No new title has been found. [2024-03-29 21:04:17] DEBUG: [Engine] Get 1 RSS items [2024-03-29 21:04:22] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:04:32] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:04:42] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:04:42] ERROR [Network] Unable to connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, Please check your network settings [2024-03-29 21:04:42] WARNING: [Network] Failed to get torrents: https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [2024-03-29 21:04:42] DEBUG: Insert 0 torrents in database. [2024-03-29 21:19:42] DEBUG: [Downloader] Authed. [2024-03-29 21:19:47] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:19:57] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:20:07] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:20:07] ERROR [Network] Unable to connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, Please check your network settings [2024-03-29 21:20:07] WARNING: [Network] Failed to get torrents: https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [2024-03-29 21:20:07] DEBUG: [RSS] No new title has been found. [2024-03-29 21:20:07] DEBUG: [Engine] Get 1 RSS items [2024-03-29 21:20:12] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:20:22] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:20:32] DEBUG: [Network] Cannot connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Wait for 5 seconds. [2024-03-29 21:20:32] ERROR [Network] Unable to connect to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, Please check your network settings [2024-03-29 21:20:32] WARNING: [Network] Failed to get torrents: https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [2024-03-29 21:20:32] DEBUG: Insert 0 torrents in database. [2024-03-29 21:35:32] DEBUG: [Downloader] Authed. [2024-03-29 21:35:33] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 21:35:33] DEBUG: [RSS] No new title has been found. [2024-03-29 21:35:33] DEBUG: [Engine] Get 1 RSS items [2024-03-29 21:35:33] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 21:35:33] DEBUG: Insert 0 torrents in database. [2024-03-29 21:50:33] DEBUG: [Downloader] Authed. [2024-03-29 21:50:34] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 21:50:34] DEBUG: [RSS] No new title has been found. [2024-03-29 21:50:34] DEBUG: [Engine] Get 1 RSS items [2024-03-29 21:50:34] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 21:50:34] DEBUG: Insert 0 torrents in database. [2024-03-29 22:05:34] DEBUG: [Downloader] Authed. [2024-03-29 22:05:35] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 22:05:35] DEBUG: [RSS] No new title has been found. [2024-03-29 22:05:35] DEBUG: [Engine] Get 1 RSS items [2024-03-29 22:05:35] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 22:05:35] DEBUG: [Network] Successfully connected to https://mikanani.me/Download/20240329/10ee69cfd103cc52b964aecedec86354d6f54617.torrent. Status: 200 [2024-03-29 22:05:35] DEBUG: [Downloader] Add torrent: 奇异贤伴 黑色天使 第2部分 [2024-03-29 22:05:35] DEBUG: [Engine] Add torrent [喵萌奶茶屋&LoliHouse] SYNDUALITY Noir - 23 [WebRip 1080p HEVC-10bit AAC][简繁日内封字幕] to client [2024-03-29 22:05:35] DEBUG: Insert 1 torrents in database. [2024-03-29 22:20:35] DEBUG: [Downloader] Authed. [2024-03-29 22:20:36] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 22:20:36] DEBUG: [RSS] No new title has been found. [2024-03-29 22:20:36] DEBUG: [Engine] Get 1 RSS items [2024-03-29 22:20:37] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 22:20:37] DEBUG: Insert 0 torrents in database. [2024-03-29 22:35:37] DEBUG: [Downloader] Authed. [2024-03-29 22:35:38] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 22:35:38] DEBUG: [RSS] No new title has been found. [2024-03-29 22:35:38] DEBUG: [Engine] Get 1 RSS items [2024-03-29 22:35:38] DEBUG: [Network] Successfully connected to https://mikanani.me/RSS/MyBangumi?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. Status: 200 [2024-03-29 22:35:39] DEBUG: [Network] Successfully connected to https://mikanani.me/Download/20240329/b8a3fe81466ee3bda6bb4a5aacfd795d3987f733.torrent. Status: 200 [2024-03-29 22:35:39] DEBUG: [Downloader] Add torrent: 最弱的驯养师开启的捡垃圾的旅途。 [2024-03-29 22:35:39] DEBUG: [Engine] Add torrent [ANi] 最弱魔物使开始了捡垃圾之旅。 - 12 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4] to client
我把docker的网络模式从bridge改成了host,目前运行了10天了都没问题
编辑一下,这几天又不行了
我直接定时每天docker restart
我之前也是如此,后来好想关闭了CSRF 就好了
我这边 CSRF 一直没开过,也依然在持续触发这个问题
我之前也是如此,后来好想关闭了CSRF 就好了
不太像是 CSRF 的问题。AutoBangumi 是用三方库 qbittorrent-api
来连接 qb 的,走的是 qb 的 API (JSON)。而 CSRF 一般只有 WebUI (HTML) 才用
我这边排查出来的问题原因是 RSSThread 在 eps_complete()
中没有错误处理导致的线程退出,我这边简单套了一层 try except 之后就没问题了。
backend/src/module/manager/collector.py
import traceback
def eps_complete():
with RSSEngine() as engine:
datas = engine.bangumi.not_complete()
if datas:
logger.info("Start collecting full season...")
for data in datas:
try:
if not data.eps_collect:
with SeasonCollector() as collector:
collector.collect_season(data)
data.eps_collect = True
except Exception as e:
logger.error(e)
logger.error(traceback.format_exc())
engine.bangumi.update_all(datas)
不过当时没把 error 打出来所以不知道具体错误了。
当时导致错误的 RSS 地址为:https://mikanani.me/RSS/Search?searchstr=ANi+关于我转生变成史莱姆这档事+第三季+CHT+Baha+1080P
其中的这个种子导致的:
<item>
<guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid>
<link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link>
<title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title>
<description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][665.97 MB]</description>
<torrent
xmlns="https://mikanani.me/0.1/">
<link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link>
<contentLength>698320128</contentLength>
<pubDate>2024-03-31T09:54:00</pubDate>
</torrent>
<enclosure type="application/x-bittorrent" length="698320128" url="https://mikanani.me/Download/20240331/9216c3e22ac054c1b5a5650785f256ce55fc5e70.torrent" />
</item>
因为其他种子都成功添加到我 qb 里面了,就差这个没有。
完整 RSS XML 留档
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Mikan Project - 搜索结果:ANi 关于我转生变成史莱姆这档事 第三季 CHT Baha 1080P</title>
<link>http://mikanani.me/RSS/Search?searchstr=ANi+%E5%85%B3%E4%BA%8E%E6%88%91%E8%BD%AC%E7%94%9F%E5%8F%98%E6%88%90%E5%8F%B2%E8%8E%B1%E5%A7%86%E8%BF%99%E6%A1%A3%E4%BA%8B+%E7%AC%AC%E4%B8%89%E5%AD%A3+CHT+Baha+1080P</link>
<description>Mikan Project - 搜索结果:ANi 关于我转生变成史莱姆这档事 第三季 CHT Baha 1080P</description>
<item>
<guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 50 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid>
<link>https://mikanani.me/Home/Episode/18af47411613e6f25a36371d46a327550ab6ab78</link>
<title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 50 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title>
<description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 50 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][391.58 MB]</description>
<torrent
xmlns="https://mikanani.me/0.1/">
<link>https://mikanani.me/Home/Episode/18af47411613e6f25a36371d46a327550ab6ab78</link>
<contentLength>410601376</contentLength>
<pubDate>2024-04-12T23:01:26.869</pubDate>
</torrent>
<enclosure type="application/x-bittorrent" length="410601376" url="https://mikanani.me/Download/20240412/18af47411613e6f25a36371d46a327550ab6ab78.torrent" />
</item>
<item>
<guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 02 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid>
<link>https://mikanani.me/Home/Episode/f4e2aad3dc987a2309204fe0f974af1699df3f38</link>
<title>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 02 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title>
<description>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 02 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][1.45 GB]</description>
<torrent
xmlns="https://mikanani.me/0.1/">
<link>https://mikanani.me/Home/Episode/f4e2aad3dc987a2309204fe0f974af1699df3f38</link>
<contentLength>1556925696</contentLength>
<pubDate>2024-04-12T20:03:40.341</pubDate>
</torrent>
<enclosure type="application/x-bittorrent" length="1556925696" url="https://mikanani.me/Download/20240412/f4e2aad3dc987a2309204fe0f974af1699df3f38.torrent" />
</item>
<item>
<guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid>
<link>https://mikanani.me/Home/Episode/b1b71dc7c2e44c27a442deebff0133c9c2d89532</link>
<title>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title>
<description>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][1.37 GB]</description>
<torrent
xmlns="https://mikanani.me/0.1/">
<link>https://mikanani.me/Home/Episode/b1b71dc7c2e44c27a442deebff0133c9c2d89532</link>
<contentLength>1471026304</contentLength>
<pubDate>2024-04-12T20:02:28.55</pubDate>
</torrent>
<enclosure type="application/x-bittorrent" length="1471026304" url="https://mikanani.me/Download/20240412/b1b71dc7c2e44c27a442deebff0133c9c2d89532.torrent" />
</item>
<item>
<guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 49 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid>
<link>https://mikanani.me/Home/Episode/0fca6026ad8bd865902a3d424bb2e78cc92920dc</link>
<title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 49 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title>
<description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 49 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][469.38 MB]</description>
<torrent
xmlns="https://mikanani.me/0.1/">
<link>https://mikanani.me/Home/Episode/0fca6026ad8bd865902a3d424bb2e78cc92920dc</link>
<contentLength>492180608</contentLength>
<pubDate>2024-04-05T23:01:07.441</pubDate>
</torrent>
<enclosure type="application/x-bittorrent" length="492180608" url="https://mikanani.me/Download/20240405/0fca6026ad8bd865902a3d424bb2e78cc92920dc.torrent" />
</item>
<item>
<guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid>
<link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link>
<title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title>
<description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][665.97 MB]</description>
<torrent
xmlns="https://mikanani.me/0.1/">
<link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link>
<contentLength>698320128</contentLength>
<pubDate>2024-03-31T09:54:00</pubDate>
</torrent>
<enclosure type="application/x-bittorrent" length="698320128" url="https://mikanani.me/Download/20240331/9216c3e22ac054c1b5a5650785f256ce55fc5e70.torrent" />
</item>
</channel>
</rss>
我这边是重启docker也没用,必须要在ab的webui里那个重启(在ab活着的情况下reload配置这样大概),因为重启docker还是必定ab和qb一起启动然后ab检测不到qb启动失败,然后在网上搜了个docker的healthcheck参数加上,就可以确保qb连通的情况下再启动ab。 (但是用macvlan的得搜一下,在宿主机再配张虚拟网卡连通容器和宿主机,不然默认是ping不通的)
不过发现靠 restart:always 自动重启的docker并不能识别这个参数的样子,还是同时启动的,所以都改成no了,再写个shell脚本用命令起,加到开机启动里重启服务器后也是正常的(因为每周定时关机完整备份虚拟机,会有这个需求才研究了半天)
我这边排查出来的问题原因是 RSSThread 在
eps_complete()
中没有错误处理导致的线程退出,我这边简单套了一层 try except 之后就没问题了。backend/src/module/manager/collector.py
import traceback def eps_complete(): with RSSEngine() as engine: datas = engine.bangumi.not_complete() if datas: logger.info("Start collecting full season...") for data in datas: try: if not data.eps_collect: with SeasonCollector() as collector: collector.collect_season(data) data.eps_collect = True except Exception as e: logger.error(e) logger.error(traceback.format_exc()) engine.bangumi.update_all(datas)
不过当时没把 error 打出来所以不知道具体错误了。
当时导致错误的 RSS 地址为:
https://mikanani.me/RSS/Search?searchstr=ANi+关于我转生变成史莱姆这档事+第三季+CHT+Baha+1080P
其中的这个种子导致的:<item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][665.97 MB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <contentLength>698320128</contentLength> <pubDate>2024-03-31T09:54:00</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="698320128" url="https://mikanani.me/Download/20240331/9216c3e22ac054c1b5a5650785f256ce55fc5e70.torrent" /> </item>
因为其他种子都成功添加到我 qb 里面了,就差这个没有。
完整 RSS XML 留档
测试了两周没啥问题,可以提个pr了
我这边排查出来的问题原因是 RSSThread 在
eps_complete()
中没有错误处理导致的线程退出,我这边简单套了一层 try except 之后就没问题了。 backend/src/module/manager/collector.pyimport traceback def eps_complete(): with RSSEngine() as engine: datas = engine.bangumi.not_complete() if datas: logger.info("Start collecting full season...") for data in datas: try: if not data.eps_collect: with SeasonCollector() as collector: collector.collect_season(data) data.eps_collect = True except Exception as e: logger.error(e) logger.error(traceback.format_exc()) engine.bangumi.update_all(datas)
不过当时没把 error 打出来所以不知道具体错误了。 当时导致错误的 RSS 地址为:
https://mikanani.me/RSS/Search?searchstr=ANi+关于我转生变成史莱姆这档事+第三季+CHT+Baha+1080P
其中的这个种子导致的:<item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][665.97 MB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <contentLength>698320128</contentLength> <pubDate>2024-03-31T09:54:00</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="698320128" url="https://mikanani.me/Download/20240331/9216c3e22ac054c1b5a5650785f256ce55fc5e70.torrent" /> </item>
因为其他种子都成功添加到我 qb 里面了,就差这个没有。 完整 RSS XML 留档
测试了两周没啥问题,可以提个pr了
有一点小问题是现在正在转协程(
我这边排查出来的问题原因是 RSSThread 在
eps_complete()
中没有错误处理导致的线程退出,我这边简单套了一层 try except 之后就没问题了。backend/src/module/manager/collector.py
import traceback def eps_complete(): with RSSEngine() as engine: datas = engine.bangumi.not_complete() if datas: logger.info("Start collecting full season...") for data in datas: try: if not data.eps_collect: with SeasonCollector() as collector: collector.collect_season(data) data.eps_collect = True except Exception as e: logger.error(e) logger.error(traceback.format_exc()) engine.bangumi.update_all(datas)
不过当时没把 error 打出来所以不知道具体错误了。
当时导致错误的 RSS 地址为:
https://mikanani.me/RSS/Search?searchstr=ANi+关于我转生变成史莱姆这档事+第三季+CHT+Baha+1080P
其中的这个种子导致的:
<item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][665.97 MB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <contentLength>698320128</contentLength> <pubDate>2024-03-31T09:54:00</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="698320128" url="https://mikanani.me/Download/20240331/9216c3e22ac054c1b5a5650785f256ce55fc5e70.torrent" /> </item>
因为其他种子都成功添加到我 qb 里面了,就差这个没有。
完整 RSS XML 留档
<?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title>Mikan Project - 搜索结果:ANi 关于我转生变成史莱姆这档事 第三季 CHT Baha 1080P</title> <link>http://mikanani.me/RSS/Search?searchstr=ANi+%E5%85%B3%E4%BA%8E%E6%88%91%E8%BD%AC%E7%94%9F%E5%8F%98%E6%88%90%E5%8F%B2%E8%8E%B1%E5%A7%86%E8%BF%99%E6%A1%A3%E4%BA%8B+%E7%AC%AC%E4%B8%89%E5%AD%A3+CHT+Baha+1080P</link> <description>Mikan Project - 搜索结果:ANi 关于我转生变成史莱姆这档事 第三季 CHT Baha 1080P</description> <item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 50 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/18af47411613e6f25a36371d46a327550ab6ab78</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 50 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 50 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][391.58 MB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/18af47411613e6f25a36371d46a327550ab6ab78</link> <contentLength>410601376</contentLength> <pubDate>2024-04-12T23:01:26.869</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="410601376" url="https://mikanani.me/Download/20240412/18af47411613e6f25a36371d46a327550ab6ab78.torrent" /> </item> <item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 02 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/f4e2aad3dc987a2309204fe0f974af1699df3f38</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 02 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 02 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][1.45 GB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/f4e2aad3dc987a2309204fe0f974af1699df3f38</link> <contentLength>1556925696</contentLength> <pubDate>2024-04-12T20:03:40.341</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="1556925696" url="https://mikanani.me/Download/20240412/f4e2aad3dc987a2309204fe0f974af1699df3f38.torrent" /> </item> <item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/b1b71dc7c2e44c27a442deebff0133c9c2d89532</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 [特别篇] - 01 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][1.37 GB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/b1b71dc7c2e44c27a442deebff0133c9c2d89532</link> <contentLength>1471026304</contentLength> <pubDate>2024-04-12T20:02:28.55</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="1471026304" url="https://mikanani.me/Download/20240412/b1b71dc7c2e44c27a442deebff0133c9c2d89532.torrent" /> </item> <item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 49 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/0fca6026ad8bd865902a3d424bb2e78cc92920dc</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 49 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 49 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][469.38 MB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/0fca6026ad8bd865902a3d424bb2e78cc92920dc</link> <contentLength>492180608</contentLength> <pubDate>2024-04-05T23:01:07.441</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="492180608" url="https://mikanani.me/Download/20240405/0fca6026ad8bd865902a3d424bb2e78cc92920dc.torrent" /> </item> <item> <guid isPermaLink="false">[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</guid> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <title>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4]</title> <description>[ANi] 关于我转生变成史莱姆这档事 第三季 - 48.5 [1080P][Baha][WEB-DL][AAC AVC][CHT][MP4][665.97 MB]</description> <torrent xmlns="https://mikanani.me/0.1/"> <link>https://mikanani.me/Home/Episode/9216c3e22ac054c1b5a5650785f256ce55fc5e70</link> <contentLength>698320128</contentLength> <pubDate>2024-03-31T09:54:00</pubDate> </torrent> <enclosure type="application/x-bittorrent" length="698320128" url="https://mikanani.me/Download/20240331/9216c3e22ac054c1b5a5650785f256ce55fc5e70.torrent" /> </item> </channel> </rss>
好像还是有点问题,嵌套这么一层虽然下载是正常的,但下载完成后不会重命名,刚重启了一下容器,之前下载完成但没刮削的番一口气全部重命名了