reddit-account-generator icon indicating copy to clipboard operation
reddit-account-generator copied to clipboard

Network failed with RecaptchaException

Open notasquid1938 opened this issue 6 months ago • 4 comments

2023-12-10 21:34:13 DEBUG Opening registration page 2023-12-10 21:34:17 DEBUG Entering email 2023-12-10 21:34:18 DEBUG Entering username and password 2023-12-10 21:34:19 DEBUG Solving captcha 2023-12-10 21:34:36 DEBUG Quitting driver 2023-12-10 21:34:38 ERROR Network failed with RecaptchaException. 2023-12-10 21:34:43 INFO Using next proxy: http://127.0.0.1:1881 2023-12-10 21:34:47 INFO Creating reddit account 2023-12-10 21:34:49 DEBUG Opening registration page 2023-12-10 21:34:53 DEBUG Entering email 2023-12-10 21:34:55 DEBUG Entering username and password 2023-12-10 21:34:56 DEBUG Solving captcha 2023-12-10 21:35:11 DEBUG Quitting driver 2023-12-10 21:35:13 ERROR Network failed with RecaptchaException. 2023-12-10 21:35:18 INFO Using next proxy: http://127.0.0.1:1881 2023-12-10 21:35:22 INFO Creating reddit account 2023-12-10 21:35:23 DEBUG Opening registration page 2023-12-10 21:35:29 DEBUG Entering email 2023-12-10 21:35:30 DEBUG Entering username and password 2023-12-10 21:35:31 DEBUG Solving captcha 2023-12-10 21:35:46 DEBUG Quitting driver 2023-12-10 21:35:48 ERROR Network failed with RecaptchaException.

Every time it tries to create an account the captcha gets blocked, so the script gets stuck. Does this eventually not happen by chance if you run the script long enough?

notasquid1938 avatar Dec 11 '23 03:12 notasquid1938

Just wanted to follow up, it does appear to be a numbers game because several attempts have succeeded. It appears that the success rate is around 2-3% though, takes a while. However, its fine if you just run it overnight or in the background.

notasquid1938 avatar Dec 11 '23 04:12 notasquid1938

Sadly, nowadays the script feels very bad with tor proxy. So much so that now it is more efficient to use local IP without proxy

I'm slowly working on solving the problem, recently dded fake user-agents and integrated this selenium driver on the fly: https://github.com/ultrafunkamsterdam/undetected-chromedriver But there are a few things to work out, and a lot of work is still needed to roll everything out in a stable release

cubicbyte avatar Dec 11 '23 17:12 cubicbyte

Thanks for following up, glad to see you're working on improving this. Just leaving this as a note for others looking to use this script. The accounts this script creates cannot be used with the Reddit API, they get suspended almost instantly (my guess is because of the tor proxies being used to create them).

notasquid1938 avatar Dec 13 '23 05:12 notasquid1938

Update

Turns out that the undetected-chromedriver didn't really changed anything much

But I plan to add support for 2Captcha service (paid, but cheap) soon, which should completely remove this error.

cubicbyte avatar Jan 20 '24 17:01 cubicbyte