IYUUAutoReseed icon indicating copy to clipboard operation
IYUUAutoReseed copied to clipboard

macOS 下由于 curl 信息不完整导致辅种失败

Open Pilrymage opened this issue 1 year ago • 0 comments

使用笔记本+macOS保种的可能不是很多

系统:macOS 13.6.4 安装环境:podman 下载器:qBittorrent 这里的问题是获取种子列表失败,即 curl http://127.0.0.1:8083/api/v2/torrents/info 定位到 php 代码内 debug print 得到了 Curl Error Code: 28 的错误。 在 macOS 发现无论是直接 curl 还是容器里 curl 都没能完整获取全部 json 结果,导致此处卡顿到超时。 解决方法:换用 linux server 安装容器,这个不像是 curl 的问题,应该是 macOS 系统的处理问题? 调试输出:

2024-02-10 01:23:58 清理日志
IIIIIIIIIIYYYYYYY YYYYYYYUUUUUUUU UUUUUUUUUUUUUUUU UUUUUUUU
I::::::::IY:::::Y Y:::::YU::::::U U::::::UU::::::U U::::::U
I::::::::IY:::::Y Y:::::YU::::::U U::::::UU::::::U U::::::U
II::::::IIY::::::Y Y::::::YUU:::::U U:::::UUUU:::::U U:::::UU
I::::I YYY:::::Y Y:::::YYY U:::::U U:::::U U:::::U U:::::U
I::::I Y:::::Y Y:::::Y U:::::D D:::::U U:::::D D:::::U
I::::I Y:::::Y:::::Y U:::::D D:::::U U:::::D D:::::U
I::::I Y:::::::::Y U:::::D D:::::U U:::::D D:::::U
I::::I Y:::::::Y U:::::D D:::::U U:::::D D:::::U
I::::I Y:::::Y U:::::D D:::::U U:::::D D:::::U
I::::I Y:::::Y U:::::D D:::::U U:::::D D:::::U
I::::I Y:::::Y U::::::U U::::::U U::::::U U::::::U
II::::::II Y:::::Y U:::::::UUU:::::::U U:::::::UUU:::::::U
I::::::::I YYYY:::::YYYY UU:::::::::::::UU UU:::::::::::::UU
I::::::::I Y:::::::::::Y UU:::::::::UU UU:::::::::UU
IIIIIIIIII YYYYYYYYYYYYY UUUUUUUUU UUUUUUUUU
1707499438.9821 当前时间:2024-02-10 01:23:58
1707499438.9821 当前操作系统:Linux
1707499438.9822 当前运行环境:Linux
1707499438.9822 当前接口类型:cli
1707499438.9822 PHP二进制文件:/usr/bin/php7
1707499438.9822 PHP版本号:7.4.23
1707499438.9822 环境变量初始化完成!
1707499438.9829 检查配置,是否同时监听IPv6...
1707499438.9834 未检测到常规配置JSON文件。
1707499438.984 当前脚本路径:/IYUU/bin/iyuu.php
1707499439.021 命令行参数解析完成!
pthome合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/

ourbits合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/

hddolby合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/

audiences合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/

piggo合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/

zhuque合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/

zmpt合作站点参数配置不完整,请同时填写passkey和用户id。
合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/

1707499439.1082 辅种版本号:2.1.19
1707499439.1083 gitee源码仓库:https://gitee.com/ledc/iyuuplus
1707499439.1083 github源码仓库:https://github.com/ledccn/IYUUPlus
1707499439.1083 教程:https://www.iyuu.cn/
1707499439.1083 【IYUU自动辅种交流】QQ群:859882209, 931954050, 924099912, 41477250

1707499439.1084 正在连接IYUUAutoReseed服务器,查询支持列表……

事件监听器执行:IYUU\Reseed\Listener\SupportSitesSuccessListener::processIYUUPlus自动辅种,目前支持以下站点:
+------------------+---------------+------------------+---------------+---------------------+
| 1. keepfrds | 2. pthome | 3. m-team | 4. hdsky | 5. tjupt |
| 6. pter | 7. hdhome | 8. btschool | 9. ourbits | 10. torrentccf |
| 11. ttg | 12. nanyangpt | 13. hdcity | 14. nicept | 15. 52pt |
| 16. beitai | 17. eastgame | 18. ssd | 19. soulvoice | 20. chdbits |
| 21. ptsbao | 22. hdarea | 23. hdtime | 24. 1ptba | 25. hd4fans |
| 26. opencd | 27. joyhd | 28. dmhy | 29. upxin | 30. oshen |
| 31. discfan | 32. hdzone | 33. hdbd | 34. byr | 35. dicmusic |
| 36. skyeysnow | 37. pt | 38. hdroute | 39. haidan | 40. hdfans |
| 41. dragonhd | 42. hitpt | 43. pttime | 44. hdatmos | 45. greatposterwall |
| 46. hdpost | 47. hares | 48. hudbt | 49. audiences | 50. piggo |
| 51. wintersakura | 52. hdpt | 53. hhanclub | 54. hdvideo | 55. pt0ffcc |
| 56. redleaves | 57. pt2xfree | 58. sharkpt | 59. ptchina | 60. zhuque |
| 61. zmpt | 62. rousi | 63. monikadesign | 64. cyanbug | 65. ptlsp |
| 66. ubits | 67. hdmayi | 68. pandapt | 69. carpt | 70. dajiao |
| 71. shadowflow |
+------------------+---------------+------------------+---------------+---------------------+
qBittorrent 客户端正在实例化!
array(7) {
[0]=>
string(56) "POST http://192.168.2.20:8083/api/v2/auth/login HTTP/1.1"
[1]=>
string(23) "Host: 192.168.2.20:8083"
[2]=>
string(59) "User-Agent: PHP Curl/2.5 (+https://github.com/php-mod/curl)"
[3]=>
string(11) "Accept: /"
[4]=>
string(28) "Proxy-Connection: Keep-Alive"
[5]=>
string(18) "Content-Length: 30"
[6]=>
string(47) "Content-Type: application/x-www-form-urlencoded"
}
array(13) {
[0]=>
string(15) "HTTP/1.1 200 OK"
[1]=>
string(17) "Content-Length: 3"
[2]=>
string(22) "Connection: keep-alive"
[3]=>
string(174) "Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'self' 'unsafe-inline'; object-src 'none'; form-action 'self';"
[4]=>
string(39) "Content-Type: text/plain; charset=UTF-8"
[5]=>
string(39) "Cross-Origin-Opener-Policy: same-origin"
[6]=>
string(35) "Date: Fri, 09 Feb 2024 17:23:58 GMT"
[7]=>
string(21) "Keep-Alive: timeout=4"
[8]=>
string(28) "Proxy-Connection: keep-alive"
[9]=>
string(28) "Referrer-Policy: same-origin"
[10]=>
string(66) "Set-Cookie: SID=T9waJgkhyykgBiJYjVUGF266cb3on6Wz; HttpOnly; path=/"
[11]=>
string(31) "X-Content-Type-Options: nosniff"
[12]=>
string(31) "X-Xss-Protection: 1; mode=block"
}
array(6) {
[0]=>
string(56) "GET http://192.168.2.20:8083/api/v2/app/version HTTP/1.1"
[1]=>
string(23) "Host: 192.168.2.20:8083"
[2]=>
string(59) "User-Agent: PHP Curl/2.5 (+https://github.com/php-mod/curl)"
[3]=>
string(11) "Accept: /"
[4]=>
string(28) "Proxy-Connection: Keep-Alive"
[5]=>
string(85) "Cookie: SID=T9waJgkhyykgBiJYjVUGF266cb3on6Wz; QB_SID=T9waJgkhyykgBiJYjVUGF266cb3on6Wz"
}
array(12) {
[0]=>
string(15) "HTTP/1.1 200 OK"
[1]=>
string(17) "Content-Length: 6"
[2]=>
string(22) "Connection: keep-alive"
[3]=>
string(174) "Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'self' 'unsafe-inline'; object-src 'none'; form-action 'self';"
[4]=>
string(39) "Content-Type: text/plain; charset=UTF-8"
[5]=>
string(39) "Cross-Origin-Opener-Policy: same-origin"
[6]=>
string(35) "Date: Fri, 09 Feb 2024 17:23:58 GMT"
[7]=>
string(21) "Keep-Alive: timeout=4"
[8]=>
string(28) "Proxy-Connection: keep-alive"
[9]=>
string(28) "Referrer-Policy: same-origin"
[10]=>
string(31) "X-Content-Type-Options: nosniff"
[11]=>
string(31) "X-Xss-Protection: 1; mode=block"
}
string(6) "v4.6.3"
qBittorrent:http://192.168.2.20:8083/ Rpc连接 [v4.6.3]
事件监听器执行:IYUU\Reseed\Listener\ClientLinkSuccessListener::process正在从下载器 【qbittorrent】 获取种子哈希……
array(6) {
[0]=>
string(58) "GET http://192.168.2.20:8083/api/v2/torrents/info HTTP/1.1"
[1]=>
string(23) "Host: 192.168.2.20:8083"
[2]=>
string(59) "User-Agent: PHP Curl/2.5 (+https://github.com/php-mod/curl)"
[3]=>
string(11) "Accept: /"
[4]=>
string(28) "Proxy-Connection: Keep-Alive"
[5]=>
string(85) "Cookie: SID=ZVdjUeF2UkOy1H/Shqi4SkmO1HKtxcfp; QB_SID=ZVdjUeF2UkOy1H/Shqi4SkmO1HKtxcfp"
}
array(11) {
[0]=>
string(15) "HTTP/1.1 200 OK"
[1]=>
string(22) "Connection: keep-alive"
[2]=>
string(174) "Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'self' 'unsafe-inline'; object-src 'none'; form-action 'self';"
[3]=>
string(30) "Content-Type: application/json"
[4]=>
string(39) "Cross-Origin-Opener-Policy: same-origin"
[5]=>
string(35) "Date: Fri, 09 Feb 2024 17:16:54 GMT"
[6]=>
string(21) "Keep-Alive: timeout=4"
[7]=>
string(28) "Proxy-Connection: keep-alive"
[8]=>
string(28) "Referrer-Policy: same-origin"
[9]=>
string(31) "X-Content-Type-Options: nosniff"
[10]=>
string(31) "X-Xss-Protection: 1; mode=block"
}
bool(false)
获取种子列表失败,可能qBittorrent暂时无响应,请稍后重试!

辅种已完成

Pilrymage avatar Feb 10 '24 06:02 Pilrymage