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

Stuck at Check Process and Errors During Download #732

Open
oratree-cloud opened this issue Jan 14, 2025 · 1 comment
Open

Stuck at Check Process and Errors During Download #732

oratree-cloud opened this issue Jan 14, 2025 · 1 comment
Assignees

Comments

@oratree-cloud
Copy link

If you aren't reporting an issue with the code, but need assistance with configuring the container, please start a discussion.

If you would like to see additional features, please raise a feature request.

IF YOU RAISE AN ISSUE THAT DOES NOT COMPLETE THIS TEMPLATE, IT WILL BE DELETED.

icloudpd version: 1084_06-01-2025

System:

  • OS: UnRaid
  • Version 6.12.6
    Additional information:

I am located in Mainland China, so I have set the following parameters:
auth_china=True
icloud_china=True

Describe the bug
The check process always gets stuck without producing any logs or output. To bypass this, I skipped the check process, and I was able to start downloading photos.
However, after downloading part of the photos, the process throws errors and stops.

Debug log file

2025-01-14 15:11:50 ERROR Failed to download new files
2025-01-14 15:11:50 ERROR - Can you log into icloud.com.cn without receiving pop-up notifications?
2025-01-14 15:11:50 ERROR Error debugging info:
2025-01-14 15:11:50 ERROR 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 976, in getaddrinfo
socket.gaierror: [Errno -3] Try again

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 0x14c52fd5a570>: Failed to establish a new connection: [Errno -3] Try again

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='p203-ckdatabasews.icloud.com.cn', port=443): Max retries exceeded with url: /database/1/com.apple.photos.cloud/production/private/records/query?clientBuildNumber=17DHotfix5&clientMasteringNumber=17DHotfix5&ckjsBuildVersion=17DProjectDev77&ckjsVersion=2.0.5&clientId=auth-**************************&dsid=&remapEnums=True&getCurrentSyncToken=True (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14c52fd5a570>: Failed to establish a new connection: [Errno -3] Try again'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "starters/icloudpd.py", line 6, in
File "click/core.py", line 1157, in call
File "click/core.py", line 1078, in main
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "icloudpd/base.py", line 753, in main
File "icloudpd/base.py", line 1356, in core
File "pyicloud_ipd/services/photos.py", line 387, in photos
File "pyicloud_ipd/services/photos.py", line 367, in photos_request
File "requests/sessions.py", line 637, in post
File "pyicloud_ipd/session.py", line 65, 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='p203-ckdatabasews.icloud.com.cn', port=443): Max retries exceeded with url: /database/1/com.apple.photos.cloud/production/private/records/query?clientBuildNumber=17DHotfix5&clientMasteringNumber=17DHotfix5&ckjsBuildVersion=17DProjectDev77&ckjsVersion=2.0.5&clientId=auth-**************************&dsid=&remapEnums=True&getCurrentSyncToken=True (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14c52fd5a570>: Failed to establish a new connection: [Errno -3] Try again'))
[488] Failed to execute script 'icloudpd' due to unhandled exception!
2025-01-14 15:11:50 ERROR ***** Please post the above debug log, along with a description of your problem, here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
2025-01-14 15:11:50 DEBUG Web cookie exists
2025-01-14 15:11:50 INFO Web cookie expires: 2025-03-14 @ 10:27:44
2025-01-14 15:11:50 INFO Multifactor authentication cookie expires: 2025-02-12 @ 10:27:56
2025-01-14 15:11:50 INFO Days remaining until expiration: 28
2025-01-14 15:11:50 DEBUG iCloud login counter = 1
2025-01-14 15:11:50 INFO Synchronisation ended at 15:11:50
2025-01-14 15:11:50 INFO Total time taken: 00:03:30
2025-01-14 15:11:50 INFO Next synchronisation at Wed Jan 15 15:08:20 2025

@boredazfcuk
Copy link
Owner

Can you remove the file that it fails to download and test again... just put it in 'Recently Deleted' perform a download run and then restore it afterwards. It's possible that this is file which icloud-photos-downloader fails to handle correctly.

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

2 participants