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

CaptchaRequired #23

Open
matlink opened this issue Nov 4, 2019 · 17 comments
Open

CaptchaRequired #23

matlink opened this issue Nov 4, 2019 · 17 comments

Comments

@matlink
Copy link

matlink commented Nov 4, 2019

Hello,
Google asks me for Captcha using token dispenser like this

com.github.yeriomin.playstoreapi.AuthException: Auth error body: Error=CaptchaRequired

How can it be handled?
Thank you.

@archon810
Copy link

Getting the same all the time now.

@archon810
Copy link

Is it possible Google is looking at the user agent as well now, and the dispenser doesn't seem to be setting any? @yeriomin Any ideas?

@matlink
Copy link
Author

matlink commented Nov 6, 2019 via email

@archon810
Copy link

I've tried 5 different servers and 2 different accounts and they all have the captcha challenge. It used to only pop up if you haven't set up 2FA and app specific passwords, with a link to solve the Captcha, but now it's happening to app specific passwords too, and there's no link to solve the Captcha anymore.

@exofelipe
Copy link

Having the same problem here, but I'm getting a link to solve the Captcha
2019-11-06 09:59:39:569 -0200 WARN com.github.yeriomin.tokendispenser.Server - com.github.yeriomin.playstoreapi.AuthException: Auth error body: Error=CaptchaRequired CaptchaToken=xxxxxxxxxxxxxxxxxxxxxx CaptchaUrl=https://accounts.google.com/Captcha?ctoken=xxxxxxxxxxxxxxxxxxxxxx&v=2
(changed the actual token to xxxxxxxxxxxxxxxxxxxxxx for obvious reasons)
It used to work before, but now every single account is showing this error. How do you handle these links? No 2FA enabled

@archon810
Copy link

Right, the link just shows the Captcha image, that's all. Not sure how to proceed.

@archon810
Copy link

@tclavier
Copy link

An other option, deploy an application they upload apk from rooted phones ?

@hoffie
Copy link

hoffie commented Nov 23, 2019

I have analyzed this issue in another project which uses the same API (Android App Aurora Store). My results so far are that Google seems to decide whether to require a Captcha by analyzing TLS protocol details. More specifically, I was able to make it work by forcing specific ciphers and disabling ALPN.

I still have to figure out how to convince Java to set the proper TLS options (only did it successfully in Python so far).

I am detailing my results here: https://gitlab.com/AuroraOSS/AuroraStore/issues/217#note_249390026

@matlink
Copy link
Author

matlink commented Nov 23, 2019

@hoffie Very nice! I hope you can come back here and post results when you have found a clean solution to this! Thanks!

@hoffie
Copy link

hoffie commented Nov 27, 2019

Aurora Store seems to use a different login method now (/EmbeddedSetup with OAuth?), as does microg:
https://gitlab.com/AuroraOSS/AuroraStore/commit/1d7a82b01976041a83b5cbcef16ccd418e0b1225

Therefore, I'm currently no longer working on this, but happy to provide any relevant details from my tesst.

@halo2me
Copy link

halo2me commented Jan 9, 2020

@matlink I think you can refer to https://github.com/ClaudiuGeorgiu/PlaystoreDownloader

@jr3074
Copy link

jr3074 commented Jan 27, 2020

hello, did you solve this?

@ildar
Copy link

ildar commented Jan 27, 2020 via email

@jr3074
Copy link

jr3074 commented Jan 27, 2020

@ildar did you success to run auroradispenser?

@ildar
Copy link

ildar commented Jan 27, 2020 via email

@ouaguid
Copy link

ouaguid commented Mar 26, 2021

Instead of using your account password (which can generate a validation request via captcha if 2-Step-Verification is enabled), it is preferable to generate and use an App password specific to your application by following the steps mentioned here => [Sign in with App Passwords] (https://support.google.com/accounts/answer/185833?hl=en) (see the section "Create & use App Passwords").

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

9 participants