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

Man-machine challenge unexpectedly passed 以及一些其他奇怪问题 #155

Closed
zzz6839 opened this issue Oct 2, 2022 · 8 comments
Closed

Comments

@zzz6839
Copy link

zzz6839 commented Oct 2, 2022

自有NAS容器化运行最新镜像,每次运行都会有新的惊喜,但是至今没成功白嫖过,辛苦大佬分析下。

2022-10-01 08:45:17.594 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading objects.yaml from https://raw.githubusercontent.com/QIN2DIM/hcaptcha-challenger/main/src/objects.yaml
2022-10-01 08:45:18.018 | DEBUG    | hcaptcha_challenger._solutions.kernel:request_assets:133 - Pulling AssetsObject from https://api.github.com/repos/qin2dim/hcaptcha-challenger/releases
2022-10-01 08:45:18.527 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading yolov6n.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/yolov6n.onnx
2022-10-01 08:45:21.467 | INFO     | services.deploy:job_loop_claim:126 - >> STARTUP [AwesomeScheduler] SynergyTunnel Pattern: True
2022-10-01 08:45:21.658 | SUCCESS  | services.bricklayer.core:refresh_ctx_cookies:1211 - >> MATCH [__Context__] 🎮 启动挑战者上下文 - ctx_session=False
2022-10-01 08:45:28.147 | INFO     | services.utils.toolbox:get_challenge_ctx:179 - Please use `xvfb` to empower the headful Chrome.
2022-10-01 08:45:28.149 | INFO     | services.utils.toolbox:get_challenge_ctx:180 - CMD: xvfb-run python3 main.py claim
2022-10-01 08:46:22.411 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 08:46:22.673 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 08:46:39.965 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「房子」
2022-10-01 08:46:43.267 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.62s
2022-10-01 08:46:43.478 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading house.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/house.onnx
2022-10-01 08:46:47.404 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - house(ResNet)_model: 1.37s
2022-10-01 08:46:51.597 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 08:46:51.747 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「房子」
2022-10-01 08:46:53.566 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.53s
2022-10-01 08:46:56.119 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - house(ResNet)_model: 0.04s
2022-10-01 08:47:00.256 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 08:47:00.392 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「房子」
2022-10-01 08:47:02.891 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.55s
2022-10-01 08:47:08.795 | WARNING  | hcaptcha_challenger.core:challenge:544 - Message: element click intercepted: Element <iframe src="https://hcaptcha-assets.ecosec.on.epicgames.com/captcha/v1/1f7dc62/static/hcaptcha.html#frame=challenge&amp;id=0o3eo6uxr3i&amp;host=www.epicgames.com&amp;sentry=true&amp;reportapi=https%3A%2F%2Fhcaptcha-reportapi.ecosec.on.epicgames.com&amp;recaptchacompat=true&amp;custom=false&amp;endpoint=https%3A%2F%2Fhcaptcha-endpoint.ecosec.on.epicgames.com&amp;hl=zh&amp;assethost=https%3A%2F%2Fhcaptcha-assets.ecosec.on.epicgames.com&amp;imghost=https%3A%2F%2Fhcaptcha-imgs.ecosec.on.epicgames.com&amp;tplinks=on&amp;sitekey=91e4137f-95af-4bc9-97af-cdcedce21c8c&amp;theme=light&amp;size=invisible&amp;challenge-container=h_captcha_challenge_login_prod" title="Main content of the hCaptcha challenge" frameborder="0" scrolling="no" style="opacity: 0; visibility: hidden; border: 0px; position: relative; background-color: rgb(255, 255, 255); width: 400px; height: 600px;" cd_frame_id_="fb774e2abb6b267c41245c4b7ee6eb2e" aria-hidden="true"></iframe> is not clickable at point (520, 368). Other element would receive the click: <div id="h_captcha_challenge_login_prod" class="h_captcha_challenge">...</div>
  (Session info: chrome=106.0.5249.61)
Stacktrace:
#0 0x55cebabc32c3 <unknown>
#1 0x55ceba9cc83a <unknown>
#2 0x55cebaa0d3b4 <unknown>
#3 0x55cebaa0ad9c <unknown>
#4 0x55cebaa089cd <unknown>
#5 0x55cebaa06f36 <unknown>
#6 0x55ceba9fa871 <unknown>
#7 0x55cebaa23f42 <unknown>
#8 0x55ceba9fa073 <unknown>
#9 0x55cebaa240ae <unknown>
#10 0x55cebaa3ba50 <unknown>
#11 0x55cebaa23d63 <unknown>
#12 0x55ceba9f87e3 <unknown>
#13 0x55ceba9f9a21 <unknown>
#14 0x55cebac1118e <unknown>
#15 0x55cebac14622 <unknown>
#16 0x55cebabf7aae <unknown>
#17 0x55cebac152a3 <unknown>
#18 0x55cebabebecf <unknown>
#19 0x55cebac35588 <unknown>
#20 0x55cebac35706 <unknown>
#21 0x55cebac4f8b2 <unknown>
#22 0x1495ab4baea7 <unknown>

2022-10-01 08:47:11.448 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - house(ResNet)_model: 0.04s
2022-10-01 08:47:15.087 | WARNING  | services.bricklayer.core:is_challenge_image_clickable:219 - 请再试一次
2022-10-01 08:47:15.090 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 08:47:38.957 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 08:47:39.054 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 08:52:01.539 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 08:52:01.678 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 08:56:25.371 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 08:56:25.559 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 08:56:33.184 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「花盆中枯死和干燥植物」
2022-10-01 08:56:35.099 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.58s
2022-10-01 08:56:35.218 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading dead_and_dried_plant_in_the_pot.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/dead_and_dried_plant_in_the_pot.onnx
2022-10-01 18:36:38.228 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading objects.yaml from https://raw.githubusercontent.com/QIN2DIM/hcaptcha-challenger/main/src/objects.yaml
2022-10-01 18:36:38.803 | DEBUG    | hcaptcha_challenger._solutions.kernel:request_assets:133 - Pulling AssetsObject from https://api.github.com/repos/qin2dim/hcaptcha-challenger/releases
2022-10-01 18:36:39.469 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading yolov6n.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/yolov6n.onnx
2022-10-01 18:36:42.896 | INFO     | services.deploy:job_loop_claim:126 - >> STARTUP [AwesomeScheduler] SynergyTunnel Pattern: True
2022-10-01 18:36:43.071 | SUCCESS  | services.bricklayer.core:refresh_ctx_cookies:1212 - >> MATCH [__Context__] 🎮 启动挑战者上下文 - ctx_session=False
2022-10-01 18:36:46.183 | INFO     | services.utils.toolbox:get_challenge_ctx:127 - Please use `xvfb` to empower the headful Chrome.
2022-10-01 18:36:46.185 | INFO     | services.utils.toolbox:get_challenge_ctx:128 - CMD: xvfb-run python3 main.py claim
2022-10-01 18:37:31.883 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 18:37:32.262 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 18:37:49.176 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「玩具兔子」
2022-10-01 18:37:51.295 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.63s
2022-10-01 18:37:53.024 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading toy_rabbit.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/toy_rabbit.onnx
2022-10-01 18:37:57.250 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - toy_rabbit(ResNet)_model: 3.12s
2022-10-01 18:38:05.162 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 18:38:05.393 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「玩具兔子」
2022-10-01 18:38:07.533 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.53s
2022-10-01 18:38:09.692 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - toy_rabbit(ResNet)_model: 0.05s
2022-10-01 18:38:14.930 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=登入页面错误回复(crash)
2022-10-01 18:38:45.846 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 18:38:46.107 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 18:38:53.607 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:38:55.580 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.62s
2022-10-01 18:38:55.584 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading porcelain_teacup.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/porcelain_teacup.onnx
2022-10-01 18:38:59.630 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 1.43s
2022-10-01 18:39:03.791 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 18:39:03.964 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:39:06.047 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.71s
2022-10-01 18:39:09.430 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.05s
2022-10-01 18:39:14.927 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=登入页面错误回复(crash)
2022-10-01 18:39:37.928 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 18:39:37.964 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 18:39:46.120 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:39:48.148 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.54s
2022-10-01 18:39:50.510 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.08s
2022-10-01 18:39:55.424 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 18:39:55.565 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:39:57.356 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.53s
2022-10-01 18:39:59.662 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.05s
2022-10-01 18:40:01.830 | WARNING  | services.bricklayer.core:is_challenge_image_clickable:219 - 请再试一次
2022-10-01 18:40:01.833 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 18:40:02.234 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:40:09.219 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.58s
2022-10-01 18:40:26.574 | ERROR    | hcaptcha_challenger.core:challenge:559 - Message: 
Stacktrace:
#0 0x561e44df72c3 <unknown>
#1 0x561e44c0083a <unknown>
#2 0x561e44c39985 <unknown>
#3 0x561e44c39b61 <unknown>
#4 0x561e44c71d14 <unknown>
#5 0x561e44c57f6d <unknown>
#6 0x561e44c6fa50 <unknown>
#7 0x561e44c57d63 <unknown>
#8 0x561e44c2c7e3 <unknown>
#9 0x561e44c2da21 <unknown>
#10 0x561e44e4518e <unknown>
#11 0x561e44e48622 <unknown>
#12 0x561e44e2baae <unknown>
#13 0x561e44e492a3 <unknown>
#14 0x561e44e1fecf <unknown>
#15 0x561e44e69588 <unknown>
#16 0x561e44e69706 <unknown>
#17 0x561e44e838b2 <unknown>
#18 0x14e378815ea7 <unknown>

Traceback (most recent call last):
  File "/home/epic/main.py", line 11, in <module>
    Fire(Scaffold)
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 466, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/home/epic/services/scaffold.py", line 134, in claim
    claimer.run(silence=silence, log_ignore=ignore, unreal=unreal)
  File "/home/epic/apis/scaffold/claimer.py", line 26, in run
    ClaimerScheduler(silence=silence, unreal=unreal).job_loop_claim(log_ignore)
  File "/home/epic/services/deploy.py", line 133, in job_loop_claim
    with GameClaimerInstance(self.silence, log_ignore=log_ignore) as claimer:
  File "/home/epic/services/deploy.py", line 188, in __enter__
    if _manager.refresh_ctx_cookies(keep_live=True, silence=self.silence):
  File "/home/epic/services/bricklayer/core.py", line 1245, in refresh_ctx_cookies
    resp = self.armor.anti_hcaptcha(ctx, window="login")
  File "/home/epic/services/bricklayer/core.py", line 326, in anti_hcaptcha
    self.challenge(ctx, model=model)
> File "/usr/local/lib/python3.10/site-packages/hcaptcha_challenger/core.py", line 553, in challenge
    WebDriverWait(ctx, 15, ignored_exceptions=(ElementClickInterceptedException,)).until(
  File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 90, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: 
Stacktrace:
#0 0x561e44df72c3 <unknown>
#1 0x561e44c0083a <unknown>
#2 0x561e44c39985 <unknown>
#3 0x561e44c39b61 <unknown>
#4 0x561e44c71d14 <unknown>
#5 0x561e44c57f6d <unknown>
#6 0x561e44c6fa50 <unknown>
#7 0x561e44c57d63 <unknown>
#8 0x561e44c2c7e3 <unknown>
#9 0x561e44c2da21 <unknown>
#10 0x561e44e4518e <unknown>
#11 0x561e44e48622 <unknown>
#12 0x561e44e2baae <unknown>
#13 0x561e44e492a3 <unknown>
#14 0x561e44e1fecf <unknown>
#15 0x561e44e69588 <unknown>
#16 0x561e44e69706 <unknown>
#17 0x561e44e838b2 <unknown>
#18 0x14e378815ea7 <unknown>

2022-10-01 18:40:26.607 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.05s
2022-10-01 18:42:06.641 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=退火断言超时,挑战重置(continue)
2022-10-01 18:43:18.802 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 18:43:18.841 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 18:43:30.837 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:43:32.771 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.55s
2022-10-01 18:43:35.617 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.06s
2022-10-01 18:43:39.697 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 18:43:39.854 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:43:41.735 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.54s
2022-10-01 18:43:44.522 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.07s
2022-10-01 18:43:46.695 | WARNING  | services.bricklayer.core:is_challenge_image_clickable:219 - 请再试一次
2022-10-01 18:43:46.697 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 18:43:46.857 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 18:43:49.240 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.55s
2022-10-01 18:43:52.216 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.06s
2022-10-01 18:43:54.441 | WARNING  | services.bricklayer.core:is_challenge_image_clickable:219 - 请再试一次
2022-10-01 18:43:54.442 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 19:02:43.101 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading objects.yaml from https://raw.githubusercontent.com/QIN2DIM/hcaptcha-challenger/main/src/objects.yaml
2022-10-01 19:02:43.637 | DEBUG    | hcaptcha_challenger._solutions.kernel:request_assets:133 - Pulling AssetsObject from https://api.github.com/repos/qin2dim/hcaptcha-challenger/releases
2022-10-01 19:02:44.398 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading yolov6n.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/yolov6n.onnx
2022-10-01 19:02:51.156 | INFO     | services.deploy:job_loop_claim:126 - >> STARTUP [AwesomeScheduler] SynergyTunnel Pattern: True
2022-10-01 19:02:51.357 | SUCCESS  | services.bricklayer.core:refresh_ctx_cookies:1212 - >> MATCH [__Context__] 🎮 启动挑战者上下文 - ctx_session=False
2022-10-01 19:02:53.854 | INFO     | services.utils.toolbox:get_challenge_ctx:127 - Please use `xvfb` to empower the headful Chrome.
2022-10-01 19:02:53.855 | INFO     | services.utils.toolbox:get_challenge_ctx:128 - CMD: xvfb-run python3 main.py claim
2022-10-01 19:03:41.191 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 19:03:41.450 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 19:03:53.655 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「企鹅」
2022-10-01 19:03:55.590 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.57s
2022-10-01 19:03:55.759 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading penguin.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/penguin.onnx
2022-10-01 19:03:59.962 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - penguin(ResNet)_model: 1.59s
2022-10-01 19:04:04.138 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 19:04:04.339 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「企鹅」
2022-10-01 19:04:06.082 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.56s
2022-10-01 19:04:09.349 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - penguin(ResNet)_model: 0.09s
2022-10-01 19:04:12.499 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=重置挑战(retry)
2022-10-01 19:04:46.956 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 19:04:47.054 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 19:04:53.960 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 19:04:55.920 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.55s
2022-10-01 19:04:55.927 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading porcelain_teacup.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/porcelain_teacup.onnx
2022-10-01 19:05:00.105 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 1.42s
2022-10-01 19:05:04.266 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 19:05:04.419 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 19:05:06.352 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.58s
2022-10-01 19:05:07.646 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.05s
2022-10-01 19:05:13.171 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=登入页面错误回复(crash)
2022-10-01 19:05:34.785 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 19:05:34.894 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 19:05:40.089 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 19:05:42.090 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.56s
2022-10-01 19:05:44.006 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.08s
2022-10-01 19:05:48.179 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-01 19:05:48.324 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「类似瓷器设计图案的茶杯」
2022-10-01 19:05:50.388 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.7s
2022-10-01 19:05:53.078 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - porcelain_teacup(ResNet)_model: 0.04s
2022-10-01 19:05:58.596 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=登入页面错误回复(crash)
2022-10-01 19:07:09.517 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-01 19:07:09.536 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-01 19:07:16.716 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「企鹅」
2022-10-01 19:07:18.674 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.59s
2022-10-01 19:07:21.465 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - penguin(ResNet)_model: 0.05s
2022-10-01 19:07:26.647 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 原子實例被檢測 - resp=错误回复。请刷新页面。
2022-10-01 19:07:26.660 | ERROR    | services.deploy:_bad_omen:264 - >> Notify [GameClaimer] 推送运行日志 - active_pusher=['PUSHER_TELEGRAM'] err=認證失敗,可能原因:公网IP被标记为高威胁目标
2022-10-02 10:17:31.975 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading objects.yaml from https://raw.githubusercontent.com/QIN2DIM/hcaptcha-challenger/main/src/objects.yaml
2022-10-02 10:17:32.381 | DEBUG    | hcaptcha_challenger._solutions.kernel:request_assets:133 - Pulling AssetsObject from https://api.github.com/repos/qin2dim/hcaptcha-challenger/releases
2022-10-02 10:17:33.668 | INFO     | services.deploy:job_loop_claim:126 - >> STARTUP [AwesomeScheduler] SynergyTunnel Pattern: True
2022-10-02 10:17:33.839 | SUCCESS  | services.bricklayer.core:refresh_ctx_cookies:1221 - >> MATCH [__Context__] 🎮 启动挑战者上下文 - ctx_session=False
2022-10-02 10:17:36.425 | INFO     | services.utils.toolbox:get_challenge_ctx:127 - Please use `xvfb` to empower the headful Chrome.
2022-10-02 10:17:36.426 | INFO     | services.utils.toolbox:get_challenge_ctx:128 - CMD: xvfb-run python3 main.py claim
2022-10-02 10:17:45.637 | ERROR    | services.deploy:_bad_omen:264 - >> Notify [GameClaimer] 推送运行日志 - active_pusher=['PUSHER_TELEGRAM'] err=認證失敗,可能原因:公网IP被标记为高威胁目标
2022-10-02 10:21:04.864 | INFO     | services.deploy:job_loop_claim:126 - >> STARTUP [AwesomeScheduler] SynergyTunnel Pattern: True
2022-10-02 10:21:05.064 | DEBUG    | services.bricklayer.core:load_ctx_cookies:1157 - >> LOAD [CookieManager] Load context cookie.
2022-10-02 10:21:05.473 | SUCCESS  | services.bricklayer.core:refresh_ctx_cookies:1221 - >> MATCH [__Context__] 🎮 启动挑战者上下文 - ctx_session=False
2022-10-02 10:21:07.963 | INFO     | services.utils.toolbox:get_challenge_ctx:127 - Please use `xvfb` to empower the headful Chrome.
2022-10-02 10:21:07.965 | INFO     | services.utils.toolbox:get_challenge_ctx:128 - CMD: xvfb-run python3 main.py claim
2022-10-02 10:21:53.592 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-02 10:21:53.869 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-02 10:22:15.107 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「水下乌龟」
2022-10-02 10:22:17.496 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.58s
2022-10-02 10:22:17.649 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading turtle_under_the_water.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/turtle_under_the_water.onnx
2022-10-02 10:22:21.206 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - turtle_under_the_water(ResNet)_model: 1.76s
2022-10-02 10:22:25.310 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-02 10:22:25.468 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「水下乌龟」
2022-10-02 10:22:27.391 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.64s
2022-10-02 10:22:29.625 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - turtle_under_the_water(ResNet)_model: 0.05s
2022-10-02 10:22:34.646 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-02 10:22:40.998 | ERROR    | services.deploy:__enter__:196 - Message: Man-machine challenge unexpectedly passed

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/hcaptcha_challenger/core.py", line 341, in get_label
    ).until(EC.presence_of_element_located((By.XPATH, "//h2[@class='prompt-text']")))
  File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 90, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: 
Stacktrace:
#0 0x5642ece022c3 <unknown>
#1 0x5642ecc0b83a <unknown>
#2 0x5642ecc44985 <unknown>
#3 0x5642ecc44b61 <unknown>
#4 0x5642ecc7cd14 <unknown>
#5 0x5642ecc62f6d <unknown>
#6 0x5642ecc7aa50 <unknown>
#7 0x5642ecc62d63 <unknown>
#8 0x5642ecc377e3 <unknown>
#9 0x5642ecc38a21 <unknown>
#10 0x5642ece5018e <unknown>
#11 0x5642ece53622 <unknown>
#12 0x5642ece36aae <unknown>
#13 0x5642ece542a3 <unknown>
#14 0x5642ece2aecf <unknown>
#15 0x5642ece74588 <unknown>
#16 0x5642ece74706 <unknown>
#17 0x5642ece8e8b2 <unknown>
#18 0x14829ac45ea7 <unknown>


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/epic/main.py", line 11, in <module>
    Fire(Scaffold)
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 466, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/home/epic/services/scaffold.py", line 134, in claim
    claimer.run(silence=silence, log_ignore=ignore, unreal=unreal)
  File "/home/epic/apis/scaffold/claimer.py", line 26, in run
    ClaimerScheduler(silence=silence, unreal=unreal).job_loop_claim(log_ignore)
  File "/home/epic/services/deploy.py", line 133, in job_loop_claim
    with GameClaimerInstance(self.silence, log_ignore=log_ignore) as claimer:
> File "/home/epic/services/deploy.py", line 188, in __enter__
    if _manager.refresh_ctx_cookies(keep_live=True, silence=self.silence):
  File "/home/epic/services/bricklayer/core.py", line 1254, in refresh_ctx_cookies
    resp = self.armor.anti_hcaptcha(ctx, window="login")
  File "/home/epic/services/bricklayer/core.py", line 314, in anti_hcaptcha
    self.get_label(ctx)
  File "/usr/local/lib/python3.10/site-packages/hcaptcha_challenger/core.py", line 343, in get_label
    raise ChallengePassed("Man-machine challenge unexpectedly passed")
hcaptcha_challenger.exceptions.ChallengePassed: Message: Man-machine challenge unexpectedly passed

2022-10-02 10:22:41.061 | ERROR    | services.deploy:_bad_omen:264 - >> Notify [GameClaimer] 推送运行日志 - active_pusher=['PUSHER_TELEGRAM'] err=Message: Man-machine challenge unexpectedly passed
@QIN2DIM
Copy link
Owner

QIN2DIM commented Oct 2, 2022

薛定谔的混沌武士

@QIN2DIM
Copy link
Owner

QIN2DIM commented Oct 2, 2022

你的nas是什么操作系统的- -compose配置文件我看一下,再用 docker pull 确认一下镜像版本

@zzz6839
Copy link
Author

zzz6839 commented Oct 2, 2022

Unraid: Version 6.11.0; Docker version 20.10.17, build 100c701
  "Architecture": "amd64","Os": "linux",

$root@Tower:~# docker compose version
Docker Compose version v2.9.0

  "RepoDigests": [
            "ech0sec/awesome-epic@sha256:2cd6ed78ff3509962ca0a23c36984aa74c9179d2062556419188dfe550c7ab32"

# /home/epic/docker-compose.yaml
version: "3.7"
services:

  epic-games-claimer:
    image: ech0sec/awesome-epic:daddy
    init: true
    command: [ "xvfb-run", "python3", "main.py", "claim" ]
    volumes:
      - "/mnt/user/NAS/epicfreeman/:/home/epic/database/"
      - "/mnt/user/NAS/epicfreeman/:/home/epic/datas"
    environment:
      EPIC_EMAIL: 俺の邮箱
      EPIC_PASSWORD: 俺の密码
      PUSHER_TELEGRAM: 俺の电报BOT
      PLAYER: ReadyPlayerOne

$docker inspect image 04199
[
    {
        "Id": "sha256:04199ad03396e3ec722030072750becee0bf7e6bf3487bc024050bfe1e904a48",
        "RepoTags": [
            "ech0sec/awesome-epic:daddy"
        ],
        "RepoDigests": [
            "ech0sec/awesome-epic@sha256:2cd6ed78ff3509962ca0a23c36984aa74c9179d2062556419188dfe550c7ab32"
        ],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2022-10-02T09:00:52.784689643Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "LANG=C.UTF-8",
                "GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D",
                "PYTHON_VERSION=3.10.7",
                "PYTHON_PIP_VERSION=22.2.2",
                "PYTHON_SETUPTOOLS_VERSION=63.2.0",
                "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/5eaac1050023df1f5c98b173b248c260023f2278/public/get-pip.py",
                "PYTHON_GET_PIP_SHA256=5aefe6ade911d997af080b315ebcb7f882212d070465df544e1175ac2be519b4"
            ],
            "Cmd": [
                "python3"
            ],
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/home/epic",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 1895393043,
        "VirtualSize": 1895393043,
        "GraphDriver": {
            "Data": null,
            "Name": "btrfs"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:b9fcb0f781e4bcde2c9f7f27cb93c549f6c6ecfdc7fdcc783813347e97faf19c",
                "sha256:54b354c15c5a2fd95f78e697e7c857fe17984cd427715fceec2497f47c952b41",
                "sha256:a24f9e96a54c5be9dbb04a4438aa9462f29387c9735c560a80f4df6ae2e7d7f0",
                "sha256:bcc8223cbebfa8bedef4f74a0914f383e7bf1ab0db7c7f110e37084860e04e10",
                "sha256:b78efdac8138b52393aa31987588596dd8da798710af1c7d1d975314e660b5fc",
                "sha256:6966fb7c59efdd9e1a42720f9683d944366e844d0f4281ac3e6e5b882839f3b3",
                "sha256:b71cca0c72633ea77ad33c7567c73d7790efabfec32d075f4a9ecc13ab6f0ec3",
                "sha256:31a8f6f25282581eb27199bd85c053d0fbbb03ebb5470a0dbdeed773f304f7f6",
                "sha256:e0faffa259a4f8bf881625cc70369ce7a4dd4c0a0d98ea3112141f782329882f",
                "sha256:b14493bfbec1fa23a19fe6f0774a8b521c49df0d8c965bc43f09deb4d0076d91",
                "sha256:37c0473a609a970a9b8272e9f2bbc1939335261d77f6692234a9b6e0cd6eb0cf",
                "sha256:f33c50c28ea22d25bd743b648ab172c4f48d3e34583d56dd6bba0769058e7993",
                "sha256:b58468b991f5b7417971957e7d27d4320c2feb14c3d5e9465ddfa673915c3801",
                "sha256:50e0944546667d0d4e97525944514a9e17c60648c896054607d2c545b2a6aa76",
                "sha256:9ab80189a87e3ccbb20a6f07b86d399540842b6fc37cd8b18cf8b52132e515e9"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }

login as: root
Using keyboard-interactive authentication.
Password:
Last login: Sun Oct  2 19:23:42 2022 from 192.168.1.154
Linux 5.19.9-Unraid.
root@Tower:~# uname -a && dpkg --print-architecture
Linux Tower 5.19.9-Unraid #1 SMP PREEMPT_DYNAMIC Fri Sep 23 07:24:37 PDT 2022 x8                           6_64 Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz GenuineIntel GNU/Linux
-bash: dpkg: command not found

@QIN2DIM
Copy link
Owner

QIN2DIM commented Oct 2, 2022

难不成……还真是IP有问题?😂你参考一下文档,把反向代理加上。

@zzz6839
Copy link
Author

zzz6839 commented Oct 2, 2022

最近一次失败是Man-machine challenge unexpectedly passed,属于我之前一次尝试失败:公网IP高危之后重新拨号实验的结果。

github下模型速度没问题有代理

z@JOJO:~$ wget https://raw.githubusercontent.com/QIN2DIM/hcaptcha-challenger/main/src/objects.yaml
--2022-10-02 22:06:52--  https://raw.githubusercontent.com/QIN2DIM/hcaptcha-challenger/main/src/objects.yaml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 198.18.0.19
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|198.18.0.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4940 (4.8K) [text/plain]
Saving to: ‘objects.yaml’

objects.yaml                  100%[=================================================>]   4.82K  --.-KB/s    in 0s

2022-10-02 22:06:53 (18.8 MB/s) - ‘objects.yaml’ saved [4940/4940]

@QIN2DIM
Copy link
Owner

QIN2DIM commented Oct 2, 2022

你可以加一下反代,控制变量,我感觉情况比较复杂。

@zzz6839
Copy link
Author

zzz6839 commented Oct 4, 2022

加了反代跑了一次的结果。

2022-10-04 08:51:20.805 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading objects.yaml from https://raw.githubusercontent.com/QIN2DIM/hcaptcha-challenger/main/src/objects.yaml
2022-10-04 08:51:21.486 | DEBUG    | hcaptcha_challenger._solutions.kernel:request_assets:133 - Pulling AssetsObject from https://api.github.com/repos/qin2dim/hcaptcha-challenger/releases
2022-10-04 08:51:23.060 | INFO     | services.deploy:job_loop_claim:126 - >> STARTUP [AwesomeScheduler] SynergyTunnel Pattern: True
2022-10-04 08:51:23.275 | DEBUG    | services.bricklayer.core:load_ctx_cookies:1157 - >> LOAD [CookieManager] Load context cookie.
2022-10-04 08:51:24.031 | SUCCESS  | services.bricklayer.core:refresh_ctx_cookies:1221 - >> MATCH [__Context__] 🎮 启动挑战者上下文 - ctx_session=False
2022-10-04 08:51:26.725 | INFO     | services.utils.toolbox:get_challenge_ctx:127 - Please use `xvfb` to empower the headful Chrome.
2022-10-04 08:51:26.726 | INFO     | services.utils.toolbox:get_challenge_ctx:128 - CMD: xvfb-run python3 main.py claim
2022-10-04 08:52:16.830 | DEBUG    | services.bricklayer.core:login:909 - >> MATCH [CookieManager] 实体信息注入完毕
2022-10-04 08:52:17.106 | DEBUG    | services.bricklayer.core:fall_in_captcha_login:63 - >> ARMOR [ArmorUtils] 正在检测隐藏在登录界面的人机挑战...
2022-10-04 08:52:33.042 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「花盆中枯死和干燥植物」
2022-10-04 08:52:35.194 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.64s
2022-10-04 08:52:35.415 | DEBUG    | hcaptcha_challenger._solutions.kernel:_request_asset:307 - Downloading dead_and_dried_plant_in_the_pot.onnx from https://github.com/QIN2DIM/hcaptcha-challenger/releases/download/model/dead_and_dried_plant_in_the_pot.onnx
2022-10-04 08:52:40.151 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - dead_and_dried_plant_in_the_pot(ResNet)_model: 2.45s
2022-10-04 08:52:44.294 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=继续挑战(continue)
2022-10-04 08:52:44.443 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Get label - label=「花盆中枯死和干燥植物」
2022-10-04 08:52:46.328 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.6s
2022-10-04 08:52:48.021 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] Submit the challenge - dead_and_dried_plant_in_the_pot(ResNet)_model: 0.04s
2022-10-04 08:52:53.298 | DEBUG    | hcaptcha_challenger.core:log:321 - >> Challenge [ArmorCaptcha] 获取响应 - desc=登入页面错误回复(crash)
2022-10-04 08:53:23.849 | ERROR    | services.deploy:__enter__:196 - Message: element click intercepted: Element <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary jss15 MuiButton-disableElevation MuiButton-fullWidth" tabindex="0" type="submit" id="sign-in" aria-label="现在登录">...</button> is not clickable at point (525, 557). Other element would receive the click: <div id="h_captcha_challenge_login_prod" class="h_captcha_challenge">...</div>
  (Session info: chrome=106.0.5249.91)
Stacktrace:
#0 0x5628f969c2c3 <unknown>
#1 0x5628f94a583a <unknown>
#2 0x5628f94e63b4 <unknown>
#3 0x5628f94e3d9c <unknown>
#4 0x5628f94e1384 <unknown>
#5 0x5628f94dff36 <unknown>
#6 0x5628f94d3871 <unknown>
#7 0x5628f94fcf42 <unknown>
#8 0x5628f94d3073 <unknown>
#9 0x5628f94fd0ae <unknown>
#10 0x5628f9514a50 <unknown>
#11 0x5628f94fcd63 <unknown>
#12 0x5628f94d17e3 <unknown>
#13 0x5628f94d2a21 <unknown>
#14 0x5628f96ea18e <unknown>
#15 0x5628f96ed622 <unknown>
#16 0x5628f96d0aae <unknown>
#17 0x5628f96ee2a3 <unknown>
#18 0x5628f96c4ecf <unknown>
#19 0x5628f970e588 <unknown>
#20 0x5628f970e706 <unknown>
#21 0x5628f97288b2 <unknown>
#22 0x15042eff6ea7 <unknown>

Traceback (most recent call last):
  File "/home/epic/main.py", line 11, in <module>
    Fire(Scaffold)
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 466, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/home/epic/services/scaffold.py", line 134, in claim
    claimer.run(silence=silence, log_ignore=ignore, unreal=unreal)
  File "/home/epic/apis/scaffold/claimer.py", line 26, in run
    ClaimerScheduler(silence=silence, unreal=unreal).job_loop_claim(log_ignore)
  File "/home/epic/services/deploy.py", line 133, in job_loop_claim
    with GameClaimerInstance(self.silence, log_ignore=log_ignore) as claimer:
> File "/home/epic/services/deploy.py", line 188, in __enter__
    if _manager.refresh_ctx_cookies(keep_live=True, silence=self.silence):
  File "/home/epic/services/bricklayer/core.py", line 1240, in refresh_ctx_cookies
    result = self.login(self.email, self.password, ctx=ctx, auth_url=auth_url)
  File "/home/epic/services/bricklayer/core.py", line 907, in login
    ).click()
  File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 88, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 396, in _execute
    return self._parent.execute(command, params)
  File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 428, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary jss15 MuiButton-disableElevation MuiButton-fullWidth" tabindex="0" type="submit" id="sign-in" aria-label="现在登录">...</button> is not clickable at point (525, 557). Other element would receive the click: <div id="h_captcha_challenge_login_prod" class="h_captcha_challenge">...</div>
  (Session info: chrome=106.0.5249.91)
Stacktrace:
#0 0x5628f969c2c3 <unknown>
#1 0x5628f94a583a <unknown>
#2 0x5628f94e63b4 <unknown>
#3 0x5628f94e3d9c <unknown>
#4 0x5628f94e1384 <unknown>
#5 0x5628f94dff36 <unknown>
#6 0x5628f94d3871 <unknown>
#7 0x5628f94fcf42 <unknown>
#8 0x5628f94d3073 <unknown>
#9 0x5628f94fd0ae <unknown>
#10 0x5628f9514a50 <unknown>
#11 0x5628f94fcd63 <unknown>
#12 0x5628f94d17e3 <unknown>
#13 0x5628f94d2a21 <unknown>
#14 0x5628f96ea18e <unknown>
#15 0x5628f96ed622 <unknown>
#16 0x5628f96d0aae <unknown>
#17 0x5628f96ee2a3 <unknown>
#18 0x5628f96c4ecf <unknown>
#19 0x5628f970e588 <unknown>
#20 0x5628f970e706 <unknown>
#21 0x5628f97288b2 <unknown>
#22 0x15042eff6ea7 <unknown>

2022-10-04 08:53:23.913 | ERROR    | services.deploy:_bad_omen:264 - >> Notify [GameClaimer] 推送运行日志 - active_pusher=['PUSHER_TELEGRAM'] err=Message: element click intercepted: Element <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary jss15 MuiButton-disableElevation MuiButton-fullWidth" tabindex="0" type="submit" id="sign-in" aria-label="现在登录">...</button> is not clickable at point (525, 557). Other element would receive the click: <div id="h_captcha_challenge_login_prod" class="h_captcha_challenge">...</div>
  (Session info: chrome=106.0.5249.91)
Stacktrace:
#0 0x5628f969c2c3 <unknown>
#1 0x5628f94a583a <unknown>
#2 0x5628f94e63b4 <unknown>
#3 0x5628f94e3d9c <unknown>
#4 0x5628f94e1384 <unknown>
#5 0x5628f94dff36 <unknown>
#6 0x5628f94d3871 <unknown>
#7 0x5628f94fcf42 <unknown>
#8 0x5628f94d3073 <unknown>
#9 0x5628f94fd0ae <unknown>
#10 0x5628f9514a50 <unknown>
#11 0x5628f94fcd63 <unknown>
#12 0x5628f94d17e3 <unknown>
#13 0x5628f94d2a21 <unknown>
#14 0x5628f96ea18e <unknown>
#15 0x5628f96ed622 <unknown>
#16 0x5628f96d0aae <unknown>
#17 0x5628f96ee2a3 <unknown>
#18 0x5628f96c4ecf <unknown>
#19 0x5628f970e588 <unknown>
#20 0x5628f970e706 <unknown>
#21 0x5628f97288b2 <unknown>
#22 0x15042eff6ea7 <unknown>

@QIN2DIM
Copy link
Owner

QIN2DIM commented Oct 27, 2022

我重构了一些底层逻辑,我估计是之前你的操作系统并不兼容 Chrome,使用 chromium 效果可能会不错。拉最新代码运行同样的命令试试- -

@zzz6839 zzz6839 closed this as completed Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants