hcaptcha-challenger icon indicating copy to clipboard operation
hcaptcha-challenger copied to clipboard

[Question] Project is not working for me

Open Skiizoo opened this issue 3 years ago โ€ข 1 comments

Hi,

First i wanted to thank you for your work !

I just downloaded your project, i installed the required dependencies and i launched the program using the same line as your readme gif. The problem is, it doesn't succeed resolving the hcaptcha. How come ? Is there something i'm missing ?

Skiizoo avatar Aug 12 '22 14:08 Skiizoo

Can you provide relevant logs or screenshot? You can find them in ./src/database

QIN2DIM avatar Aug 12 '22 14:08 QIN2DIM

Hi,

  • runtime.log :

2022-08-17 19:14:23.626 | DEBUG | services.utils.toolbox.toolbox:get_challenge_ctx:103 - ๐ŸŽฎ Activate challenger context 2022-08-17 19:14:26.926 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Handle hCaptcha checkbox 2022-08-17 19:14:28.392 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get label - label=ใ€Œ้นฆ้น‰ใ€ 2022-08-17 19:14:29.000 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.09s 2022-08-17 19:14:29.285 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Submit the challenge - parrot(ResNet)_model: 0.01s 2022-08-17 19:14:29.545 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get response - desc=retry 2022-08-17 19:14:29.749 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[1|5]========= 2022-08-17 19:14:30.658 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Handle hCaptcha checkbox 2022-08-17 19:14:31.722 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get label - label=ใ€Œ็ๅผ€็œผ็›็š„็‹ฎๅญใ€ 2022-08-17 19:14:32.278 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.08s 2022-08-17 19:14:32.537 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Submit the challenge - lion_with_open_eyes(ResNet)_model: 0.01s 2022-08-17 19:14:32.761 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get response - desc=retry 2022-08-17 19:14:32.935 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[2|5]========= 2022-08-17 19:14:33.749 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Handle hCaptcha checkbox 2022-08-17 19:14:34.895 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get label - label=ใ€Œ้นฆ้น‰ใ€ 2022-08-17 19:14:35.579 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.07s 2022-08-17 19:14:35.755 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Submit the challenge - parrot(ResNet)_model: 0.01s 2022-08-17 19:14:35.977 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get response - desc=retry 2022-08-17 19:14:36.152 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[3|5]========= 2022-08-17 19:14:37.515 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Handle hCaptcha checkbox 2022-08-17 19:14:38.617 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get label - label=ใ€Œ้นฆ้น‰ใ€ 2022-08-17 19:14:39.189 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.08s 2022-08-17 19:14:39.609 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Submit the challenge - parrot(ResNet)_model: 0.0s 2022-08-17 19:14:39.834 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get response - desc=retry 2022-08-17 19:14:39.995 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[4|5]========= 2022-08-17 19:14:40.837 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Handle hCaptcha checkbox 2022-08-17 19:14:41.920 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Get label - label=ใ€Œไธ€ๆก่„–ๅญไธŠๆœ‰้กนๅœˆ็š„็‹—ใ€ 2022-08-17 19:14:42.618 | DEBUG | services.hcaptcha_challenger.core:log:215 - >> Challenge [ArmorCaptcha] Download challenge images - timeit=0.09s 2022-08-17 19:14:47.017 | WARNING | services.hcaptcha_challenger.core:tactical_retreat:298 - >> ALERT [ArmorCaptcha] Types of challenges not yet scheduled - label=ใ€Œไธ€ๆก่„–ๅญไธŠๆœ‰้กนๅœˆ็š„็‹—ใ€ prompt=ใ€Œ่ฏท็‚นๅ‡ปๆฏๅผ ๅŒ…ๅซไธ€ๆก่„–ๅญไธŠๆœ‰้กนๅœˆ็š„็‹—็š„ๅ›พ็‰‡ใ€ screenshot=C:\WORKSPACE\hcaptcha-challenger-main\src\database\temp_cache\captcha_screenshot\1660756482.ไธ€ๆก่„–ๅญไธŠๆœ‰้กนๅœˆ็š„็‹—.png site_link=https://accounts.hcaptcha.com/demo?sitekey=c86d730b-300a-444c-a8c5-5312e7a93628 issues=https://github.com/QIN2DIM/hcaptcha-challenger/issues?q=ไธ€ๆก่„–ๅญไธŠๆœ‰้กนๅœˆ็š„็‹—

  • error.log:

2022-08-17 19:14:29.749 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[1|5]========= 2022-08-17 19:14:32.935 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[2|5]========= 2022-08-17 19:14:36.152 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[3|5]========= 2022-08-17 19:14:39.995 | ERROR | apis.scaffold.challenge:runner:77 - =========RETRY[4|5]=========

Skiizoo avatar Aug 17 '22 17:08 Skiizoo

There is a problem with the proxy IP you are using

QIN2DIM avatar Aug 20 '22 11:08 QIN2DIM

What's wrong with our proxy ip ? And how it prevents the app from working properly ?

Skiizoo avatar Aug 22 '22 08:08 Skiizoo

If there is a problem with the proxy IP, the manual challenge will not pass either. Secondly, because of the poor network environment, the components necessary for the challenge could not be loaded in time.

QIN2DIM avatar Aug 22 '22 10:08 QIN2DIM

I don't understand, i can easily pass the hcaptcha test if i'm doing it on my own.

And, what do you mean "poor network environment" ? Are you suggesting i don't have enough internet speed ?

Skiizoo avatar Aug 26 '22 07:08 Skiizoo

Can you record a video? The situation is more complicated

QIN2DIM avatar Aug 26 '22 13:08 QIN2DIM

Sure; here is the video

https://user-images.githubusercontent.com/24459040/187026416-08d0e12f-80d5-4fa3-bf20-e2245593fb0d.mp4

Skiizoo avatar Aug 27 '22 10:08 Skiizoo

Update to the latest version and record another one. I'm catching up.๐Ÿ„โ€โ™€๏ธ

QIN2DIM avatar Aug 29 '22 16:08 QIN2DIM

thanks again for your time. Here is the new video after update

https://user-images.githubusercontent.com/24459040/187279349-d9a68de6-fd63-4040-9e2a-6d5c9860c67b.mp4

Skiizoo avatar Aug 29 '22 19:08 Skiizoo

Are you using proxy?

QIN2DIM avatar Aug 29 '22 19:08 QIN2DIM

It may be that the threat score is too high?

Try running the following code to manually challenge. Do you do it manually and still get asked to retry?

import undetected_chromedriver as uc

DEMO_SITE = "https://accounts.hcaptcha.com/demo?sitekey=c86d730b-300a-444c-a8c5-5312e7a93628"


def demo():
    ctx = uc.Chrome()
    try:
        ctx.get(DEMO_SITE)
    finally:
        input("IN MANUAL OPERATION ...")
        ctx.quit()


if __name__ == '__main__':
    demo()

QIN2DIM avatar Aug 29 '22 19:08 QIN2DIM