Closed skywinder closed 9 months ago
@skywinder are you running from mainland China by any chance? If yes, then it is a known issue and needs a resident to debug/troubleshoot (I was not able to get VPN to get into China).
no, it's from Vietnam.
But have error Max retries exceeded with url: /appleauth/auth/signin?isRememberMeEnabled=true
which is someting new.
2024-02-01 11:11:43 DEBUG Authenticating...
iCloud Password:
Traceback (most recent call last):
File "urllib3/connection.py", line 174, in _new_conn
File "urllib3/util/connection.py", line 72, in create_connection
File "socket.py", line 963, in getaddrinfo
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 714, in urlopen
File "urllib3/connectionpool.py", line 403, in _make_request
File "urllib3/connectionpool.py", line 1053, in _validate_conn
File "urllib3/connection.py", line 363, in connect
File "urllib3/connection.py", line 186, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0xffff9abe9fa0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests/adapters.py", line 486, in send
File "urllib3/connectionpool.py", line 798, in urlopen
File "urllib3/util/retry.py", line 592, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='idmsa.apple.com', port=443): Max retries exceeded with url: /appleauth/auth/signin?isRememberMeEnabled=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff9abe9fa0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "starters/icloudpd_ex.py", line 110, in <module>
File "starters/icloudpd_ex.py", line 106, in main
File "click/core.py", line 1157, in __call__
File "click/core.py", line 1078, in main
File "click/core.py", line 1688, in invoke
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "icloudpd/base.py", line 328, in main
File "icloudpd/base.py", line 760, in core
File "icloudpd/authentication.py", line 31, in authenticate_
File "pyicloud_ipd/base.py", line 305, in __init__
File "pyicloud_ipd/base.py", line 357, in authenticate
File "requests/sessions.py", line 637, in post
File "pyicloud_ipd/base.py", line 77, in request
File "requests/sessions.py", line 589, in request
File "requests/sessions.py", line 703, in send
File "requests/adapters.py", line 519, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='idmsa.apple.com', port=443): Max retries exceeded with url: /appleauth/auth/signin?isRememberMeEnabled=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff9abe9fa0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[8] Failed to execute script 'icloudpd_ex' due to unhandled exception!
see #643 for Max retries error
Yay! It was a problem with Vietnam, I believe, similar to China. I tried to log in via VPN, and now it's working. Thank you for your support! (I will support your project back with a donation - btw - where to donate?)
P.S.
I got 2024-02-02 12:36:45 WARNING Failed to parse response with JSON mimetype
- is this something normal?
(I see it appears in other issues as well: https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues?q=Failed+to+parse+response+with+JSON+mimetype)
P.S. I got
2024-02-02 12:36:45 WARNING Failed to parse response with JSON mimetype
- is this something normal?(I see it appears in other issues as well: https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues?q=Failed+to+parse+response+with+JSON+mimetype)
Yeah, it started appearing after our latest refactoring of the auth code to address sudden API changes on Apple side. These warning seems to not affect functionality in any known way.
Overview
Steps to Reproduce
docker run -it --rm --name icloudpd -v $(pwd)/Photos:/data -e TZ=Asia/Ho_Chi_Minh icloudpd/icloudpd:latest icloudpd --directory /data --username myemail --watch-with-interval 3600
Expected Behavior
want to put 6 digits 2fa
Actual Behavior
got error log:
Context
just run via docker on mac