hcaptcha-challenger
hcaptcha-challenger copied to clipboard
[Question] Project is not working for me
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 ?
Can you provide relevant logs or screenshot? You can find them in ./src/database
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]=========
There is a problem with the proxy IP you are using
What's wrong with our proxy ip ? And how it prevents the app from working properly ?
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.
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 ?
Can you record a video? The situation is more complicated
Sure; here is the video
https://user-images.githubusercontent.com/24459040/187026416-08d0e12f-80d5-4fa3-bf20-e2245593fb0d.mp4
Update to the latest version and record another one. I'm catching up.๐โโ๏ธ
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
Are you using proxy?
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()