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

[Question] Project is not working for me #132

Closed
Skiizoo opened this issue Aug 12, 2022 · 12 comments
Closed

[Question] Project is not working for me #132

Skiizoo opened this issue Aug 12, 2022 · 12 comments

Comments

@Skiizoo
Copy link

Skiizoo commented Aug 12, 2022

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 ?

@QIN2DIM
Copy link
Owner

QIN2DIM commented Aug 12, 2022

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

@Skiizoo
Copy link
Author

Skiizoo commented Aug 17, 2022

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]=========

@QIN2DIM
Copy link
Owner

QIN2DIM commented Aug 20, 2022

There is a problem with the proxy IP you are using

@Skiizoo
Copy link
Author

Skiizoo commented Aug 22, 2022

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

@QIN2DIM
Copy link
Owner

QIN2DIM commented Aug 22, 2022

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.

@Skiizoo
Copy link
Author

Skiizoo commented Aug 26, 2022

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 ?

@QIN2DIM
Copy link
Owner

QIN2DIM commented Aug 26, 2022

Can you record a video? The situation is more complicated

@Skiizoo
Copy link
Author

Skiizoo commented Aug 27, 2022

Sure; here is the video

2022-08-27_12-32-41.mp4

@QIN2DIM
Copy link
Owner

QIN2DIM commented Aug 29, 2022

Update to the latest version and record another one. I'm catching up.🏄‍♀️

@Skiizoo
Copy link
Author

Skiizoo commented Aug 29, 2022

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

2022-08-29_21-07-22.mp4

@QIN2DIM
Copy link
Owner

QIN2DIM commented Aug 29, 2022

Are you using proxy?

@QIN2DIM
Copy link
Owner

QIN2DIM commented Aug 29, 2022

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 QIN2DIM closed this as completed Sep 10, 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