Closed MaxSecurity closed 2 years ago
用的腾讯云服务器 两核四G 定时任务报错
2022-07-07 20:19:41 | DEBUG - >> Challenge [ArmorCaptcha] 开始挑战 2022-07-07 20:19:43 | DEBUG - >> Challenge [ArmorCaptcha] 提交挑战 seaplane(resnet)_model: 0.62s 2022-07-07 20:19:45 | DEBUG - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue) 2022-07-07 20:19:47 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=「truck」 2022-07-07 20:19:50 | DEBUG - >> Challenge [ArmorCaptcha] 开始挑战 2022-07-07 20:19:51 | DEBUG - >> Challenge [ArmorCaptcha] 提交挑战 yolov5n6(onnx)_model: 1.07s 2022-07-07 20:19:54 | DEBUG - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue) 2022-07-07 20:20:11 | DEBUG - [🔖] 资源订单加载完毕 - mode=get Execution of job "loop_claim (trigger: cron[day_of_week='fri', hour='4', minute='11,56', second='30'], next run at: 2022-07-08 04:56:37 CST)" skipped: maximum number of running instances reached (1) Job "loop_claim (trigger: cron[day_of_week='fri', hour='4', minute='11,56', second='30'], next run at: 2022-07-15 04:11:40 CST)" raised an exception Traceback (most recent call last): File "/home/epic/services/bricklayer/core.py", line 971, in _handle_payment self._switch_to_payment_iframe(ctx) File "/home/epic/services/bricklayer/core.py", line 886, in _switch_to_payment_iframe payment_frame = WebDriverWait(ctx, 5, ignored_exceptions=ElementNotVisibleException).until( File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 87, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Stacktrace: #0 0x558844ffdb13 <unknown> #1 0x558844e04688 <unknown> #2 0x558844e3bcc7 <unknown> #3 0x558844e3be91 <unknown> #4 0x558844e6ee34 <unknown> #5 0x558844e598dd <unknown> #6 0x558844e6cb94 <unknown> #7 0x558844e597a3 <unknown> #8 0x558844e2f0ea <unknown> #9 0x558844e30225 <unknown> #10 0x5588450452dd <unknown> #11 0x5588450492c7 <unknown> #12 0x55884502f22e <unknown> #13 0x55884504a0a8 <unknown> #14 0x558845023bc0 <unknown> #15 0x5588450666c8 <unknown> #16 0x558845066848 <unknown> #17 0x558845080c0d <unknown> #18 0x7f4519e9fea7 <unknown> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/home/epic/services/deploy.py", line 191, in job_loop_claim claimer.just_do_it() File "/home/epic/services/deploy.py", line 405, in just_do_it self.inline_bricklayer() File "/home/epic/services/deploy.py", line 480, in inline_bricklayer self.bricklayer.claim_stabilizer(job["url"], self._ctx_cookies, self._ctx_session) File "/home/epic/services/bricklayer/game.py", line 305, in claim_stabilizer return self.get_free_game(page_link=page_link, ctx_cookies=ctx_cookies, ctx=ctx_session) File "/home/epic/services/bricklayer/game.py", line 282, in get_free_game self._handle_payment(ctx) File "/home/epic/services/bricklayer/core.py", line 983, in _handle_payment return self._handle_payment(ctx) File "/home/epic/services/bricklayer/core.py", line 1004, in _handle_payment ctx.switch_to.default_content() File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/switch_to.py", line 68, in default_content self._driver.execute(Command.SWITCH_TO_FRAME, {'id': None}) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 430, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 300.000 (Session info: headless chrome=103.0.5060.53) Stacktrace: #0 0x558844ffdb13 <unknown> #1 0x558844e04688 <unknown> #2 0x558844df0908 <unknown> #3 0x558844def4df <unknown> #4 0x558844defa9c <unknown> #5 0x558844dfcb1f <unknown> #6 0x558844dfd682 <unknown> #7 0x558844e0bc2d <unknown> #8 0x558844e0fb4a <unknown> #9 0x558844defec6 <unknown> #10 0x558844e0b934 <unknown> #11 0x558844e6ca73 <unknown> #12 0x558844e597a3 <unknown> #13 0x558844e2f0ea <unknown> #14 0x558844e30225 <unknown> #15 0x5588450452dd <unknown> #16 0x5588450492c7 <unknown> #17 0x55884502f22e <unknown> #18 0x55884504a0a8 <unknown> #19 0x558845023bc0 <unknown> #20 0x5588450666c8 <unknown> #21 0x558845066848 <unknown> #22 0x558845080c0d <unknown> #23 0x7f4519e9fea7 <unknown>
更新一下代码
好的
docker更新还是不行呢,大佬为什么
@shadow6336 把本地的缓存删掉再更新。
docker container prune -f && docker image prune -f && docker pull ech0sec/awesome-epic:daddy
如果解决了记得关一下 issue
用的腾讯云服务器 两核四G 定时任务报错