code6 icon indicating copy to clipboard operation
code6 copied to clipboard

任务执行不成功,token缺超过限制,是不是有超时重试机制?

Open HuChundong opened this issue 3 years ago • 5 comments

安装方式

Docker-Compose

问题描述

token的请求数量不减少,也没有扫描的数据更新

运行环境

--------------------------------------------------------------------------------
[ 环境检查 ]
PHP 版本: 7.4.27
PDO 扩展: 已安装
Laravel 密钥: 已生成
Storage 目录: 可读写
Composer Package: 已导入
MySQL 连接: 成功
MySQL 数据表: 已导入
--------------------------------------------------------------------------------
[ 其他信息 ]
码小六版本:1.6.1
框架运行环境:production
框架调试开关:false
PHP 禁用函数:无
PHP 已编译模块:Core,date,libxml,openssl,pcre,sqlite3,zlib,ctype,curl,dom,fileinfo,filter,ftp,hash,iconv,json,mbstring,SPL,PDO,pdo_sqlite,session,posix,readline,Reflection,standard,SimpleXML,Phar,tokenizer,xml,xmlreader,xmlwriter,mysqlnd,gd,pdo_mysql,sodium

报错日志

[2022-08-02 00:16:03] production.ERROR: Proxy  not available ["You have reached GitHub hourly limit! Actual limit is: 60"]
[2022-08-02 00:18:06] production.ERROR: Proxy  not available ["cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 00:35:07] production.ERROR: Proxy  not available ["cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 03:18:01] production.ERROR: Proxy  not available ["You have reached GitHub hourly limit! Actual limit is: 60"]
[2022-08-02 04:19:02] production.ERROR: Proxy  not available ["You have reached GitHub hourly limit! Actual limit is: 60"]
[2022-08-02 05:01:07] production.ERROR: Proxy  not available ["cURL error 28: Operation timed out after 5002 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 06:20:01] production.ERROR: Proxy  not available ["You have reached GitHub hourly limit! Actual limit is: 60"]
[2022-08-02 07:09:07] production.ERROR: Proxy  not available ["cURL error 28: Connection timed out after 5001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 08:21:02] production.ERROR: Proxy  not available ["You have reached GitHub hourly limit! Actual limit is: 60"]
[2022-08-02 09:22:06] production.ERROR: Proxy  not available ["cURL error 28: Connection timed out after 5000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 09:24:07] production.ERROR: Proxy  not available ["cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 10:19:07] production.ERROR: Proxy  not available ["cURL error 28: Resolving timed out after 5000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 10:43:06] production.ERROR: Proxy  not available ["cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 11:19:07] production.ERROR: Proxy  not available ["cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"]
[2022-08-02 11:23:02] production.ERROR: Proxy  not available ["You have reached GitHub hourly limit! Actual limit is: 60"]
[2022-08-02 11:24:02] production.ERROR: Proxy  not available ["You have reached GitHub hourly limit! Actual limit is: 60"]

HuChundong avatar Aug 02 '22 03:08 HuChundong

检查下 GitHub 账号是否被 GitHub 标记成异常账号 接口请求被限制速率了

yoonper avatar Aug 02 '22 03:08 yoonper

检查下 GitHub 账号是否被 GitHub 标记成异常账号 接口请求被限制速率了

我看提示,每小时60次,应该也不至于超过啊。配置了6个任务,每个任务请求3页数据,6小时一次。配置了6个token,如果是正常轮训的话,应该是够用的。

HuChundong avatar Aug 02 '22 05:08 HuChundong

image

HuChundong avatar Aug 02 '22 05:08 HuChundong

我跟进下这个问题

yoonper avatar Aug 02 '22 05:08 yoonper

我跟进下这个问题

Thanks

HuChundong avatar Aug 02 '22 05:08 HuChundong

v1.6.2 已经修复此问题

yoonper avatar Sep 21 '22 06:09 yoonper