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

No support for 2 factor auth on google #127

Open
MateuszGrab opened this issue Jan 8, 2018 · 2 comments
Open

No support for 2 factor auth on google #127

MateuszGrab opened this issue Jan 8, 2018 · 2 comments

Comments

@MateuszGrab
Copy link

After installation and local run by
./pyportify
Tried on first page to login to google

expected result
I should've been asked about 2 Factor code

actual result:
Login not possible

@ragusa87
Copy link

ragusa87 commented Jan 8, 2018

You can use an application password in the meantime.
https://security.google.com/settings/security/apppasswords

@gibraine
Copy link

gibraine commented Feb 28, 2018

Hi,

I have enabled 2FA and created App Password but still getting access denied, any suggestion to fix it?

Thank you!,

C:\Temp\pyportify-0.4.1>pyportify-copyall
Enter Google email address: [email protected]
Enter Google password:
Traceback (most recent call last):
File "site-packages\urllib3\connectionpool.py", line 601, in urlopen
File "site-packages\urllib3\connectionpool.py", line 346, in _make_request
File "site-packages\urllib3\connectionpool.py", line 850, in validate_conn
File "site-packages\urllib3\connection.py", line 326, in connect
File "site-packages\urllib3\util\ssl
.py", line 329, in ssl_wrap_socket
File "ssl.py", line 407, in wrap_socket
File "ssl.py", line 814, in init
File "ssl.py", line 1068, in do_handshake
File "ssl.py", line 689, in do_handshake
ssl.SSLError: [SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:777)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "site-packages\requests\adapters.py", line 440, in send
File "site-packages\urllib3\connectionpool.py", line 639, in urlopen
File "site-packages\urllib3\util\retry.py", line 388, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='android.clients.google.com', port=443): Max retries exceeded with url: /auth (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:777)'),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "pyportify\copy_all.py", line 67, in
File "pyportify\copy_all.py", line 61, in main
File "asyncio\base_events.py", line 467, in run_until_complete
File "pyportify\copy_all.py", line 38, in start
File "pyportify\google.py", line 26, in login
File "pyportify\gpsoauth_init_.py", line 67, in perform_master_login
File "pyportify\gpsoauth_init_.py", line 21, in _perform_auth_request
File "site-packages\requests\api.py", line 112, in post
File "site-packages\requests\api.py", line 58, in request
File "site-packages\requests\sessions.py", line 508, in request
File "site-packages\requests\sessions.py", line 618, in send
File "site-packages\requests\adapters.py", line 506, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='android.clients.google.com', port=443): Max retries exceeded with url: /auth (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_ACCESS_DENIED] tlsv1 alert access denied (_ssl.c:777)'),))
[2328] Failed to execute script copy_all

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

3 participants