You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have had this container running just fine for a couple years. I found it stopped today so I assumed I just needed to enter my 2FA agin. When I ran the initialise command, I received an authentication error. Nothing has changed regarding the Apple credentials and I can access iCloud via the web just fine. See log output.
Expected behaviour
Request 2FA code
Actual behaviour
Receive authentication error
System (The following information must be entered or the issue will be closed):
2024-10-28 15:29:18 INFO ***** boredazfcuk/icloudpd container v1.0.989_28-10-2024 started *****
2024-10-28 15:29:18 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2024-10-28 15:29:18 INFO Alpine Linux 3.20.3
2024-10-28 15:29:18 INFO Python version: 3.12.7
2024-10-28 15:29:20 INFO icloud-photos-downloader version: 1.24.1
2024-10-28 15:29:20 INFO Checking for updates...
2024-10-28 15:29:20 INFO - Current version is up to date
2024-10-28 15:29:20 INFO Loading configuration from: /config/icloudpd.conf
2024-10-28 15:29:21 INFO Debug logging: Disabled
2024-10-28 15:29:21 INFO Apple ID: [email protected]
2024-10-28 15:29:21 INFO Cookie path: /config/fl----gmailcom
2024-10-28 15:29:21 INFO Cookie expiry notification period: 7
2024-10-28 15:29:21 INFO Download destination directory: /home/user/iCloud
2024-10-28 15:29:21 INFO Folder structure: {:%Y/%m/%d}
2024-10-28 15:29:21 INFO Keep Unicode: false
2024-10-28 15:29:21 INFO Live Photo MOV Filename Policy: suffix
2024-10-28 15:29:21 INFO File Match Policy: name-size-dedup-with-suffix
2024-10-28 15:29:21 INFO Synchronisation interval: 86400
2024-10-28 15:29:21 INFO Synchronisation delay (minutes): 0
2024-10-28 15:29:21 INFO Set EXIF date/time: false
2024-10-28 15:29:21 INFO Auto delete: false
2024-10-28 15:29:21 INFO Delete after download: false
2024-10-28 15:29:21 INFO Delete empty directories: false
2024-10-28 15:29:21 INFO Photo size: original
2024-10-28 15:29:21 INFO Align RAW: as-is
2024-10-28 15:29:21 INFO Single pass mode: false
2024-10-28 15:29:21 INFO Skip download check: false
2024-10-28 15:29:21 INFO Skip live photos: false
2024-10-28 15:29:21 INFO Number of most recently added photos to download: Download All Photos
2024-10-28 15:29:21 INFO Downloading photos from: Download All Photos
2024-10-28 15:29:21 INFO Stop downloading when prexisiting files count is: Download All Photos
2024-10-28 15:29:21 INFO Live photo size: original
2024-10-28 15:29:21 INFO Skip videos: false
2024-10-28 15:29:21 INFO Convert HEIC to JPEG: false
2024-10-28 15:29:21 INFO Downloading from: icloud.com
2024-10-28 15:29:21 INFO Fake user agent for curl: Disabled
2024-10-28 15:29:21 INFO Authentication domain: com
2024-10-28 15:29:21 INFO Ignore Synology extended attribute directories: Disabled
2024-10-28 15:29:21 INFO Container initialisation complete
2024-10-28 15:29:21 INFO Script launch parameters: --Initialise
2024-10-28 15:29:21 INFO Directory is writable: /config/python_keyring/
2024-10-28 15:29:21 INFO Starting container initialisation
2024-10-28 15:29:23 DEBUG Authenticating...
Traceback (most recent call last):
File "pyicloud_ipd/base.py", line 270, in authenticate
pyicloud_ipd.exceptions.PyiCloudAPIResponseException: {
"serviceErrors" : [ {
"code" : "-20101",
"message" : "Enter the email or phone number and password for your Apple Account.",
"suppressDismissal" : false
} ]
} (401)
The above exception was the direct cause of the following exception:
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 745, in main
File "icloudpd/base.py", line 1183, in core
File "icloudpd/authentication.py", line 53, in authenticate_
File "pyicloud_ipd/base.py", line 160, in init
File "pyicloud_ipd/base.py", line 280, in authenticate
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid email/password combination.', PyiCloudAPIResponseException('{\n "serviceErrors" : [ {\n "code" : "-20101",\n "message" : "Enter the email or phone number and password for your Apple\xa0Account.",\n "suppressDismissal" : false\n } ]\n} (401)'))
[785] Failed to execute script 'icloudpd' due to unhandled exception!
2024-10-28 15:29:24 ERROR Multifactor authentication information missing from cookie. Authentication has failed
2024-10-28 15:29:24 ERROR - Was the correct password entered?
2024-10-28 15:29:24 ERROR - Was the multifactor authentication code mistyped?
2024-10-28 15:29:24 ERROR - Can you log into icloud.com without receiving pop-up notifications?
2024-10-28 15:29:24 INFO Container initialisation complete
root@7de2300131c4:/>
The text was updated successfully, but these errors were encountered:
Describe the bug
I have had this container running just fine for a couple years. I found it stopped today so I assumed I just needed to enter my 2FA agin. When I ran the initialise command, I received an authentication error. Nothing has changed regarding the Apple credentials and I can access iCloud via the web just fine. See log output.
Expected behaviour
Request 2FA code
Actual behaviour
Receive authentication error
System (The following information must be entered or the issue will be closed):
Debug log file
root@7de2300131c4:/> sync-icloud.sh --Initialise
2024-10-28 15:29:18 INFO ***** boredazfcuk/icloudpd container v1.0.989_28-10-2024 started *****
2024-10-28 15:29:18 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2024-10-28 15:29:18 INFO Alpine Linux 3.20.3
2024-10-28 15:29:18 INFO Python version: 3.12.7
2024-10-28 15:29:20 INFO icloud-photos-downloader version: 1.24.1
2024-10-28 15:29:20 INFO Checking for updates...
2024-10-28 15:29:20 INFO - Current version is up to date
2024-10-28 15:29:20 INFO Loading configuration from: /config/icloudpd.conf
2024-10-28 15:29:21 INFO Debug logging: Disabled
2024-10-28 15:29:21 INFO Apple ID: [email protected]
2024-10-28 15:29:21 INFO Cookie path: /config/fl----gmailcom
2024-10-28 15:29:21 INFO Cookie expiry notification period: 7
2024-10-28 15:29:21 INFO Download destination directory: /home/user/iCloud
2024-10-28 15:29:21 INFO Folder structure: {:%Y/%m/%d}
2024-10-28 15:29:21 INFO Keep Unicode: false
2024-10-28 15:29:21 INFO Live Photo MOV Filename Policy: suffix
2024-10-28 15:29:21 INFO File Match Policy: name-size-dedup-with-suffix
2024-10-28 15:29:21 INFO Synchronisation interval: 86400
2024-10-28 15:29:21 INFO Synchronisation delay (minutes): 0
2024-10-28 15:29:21 INFO Set EXIF date/time: false
2024-10-28 15:29:21 INFO Auto delete: false
2024-10-28 15:29:21 INFO Delete after download: false
2024-10-28 15:29:21 INFO Delete empty directories: false
2024-10-28 15:29:21 INFO Photo size: original
2024-10-28 15:29:21 INFO Align RAW: as-is
2024-10-28 15:29:21 INFO Single pass mode: false
2024-10-28 15:29:21 INFO Skip download check: false
2024-10-28 15:29:21 INFO Skip live photos: false
2024-10-28 15:29:21 INFO Number of most recently added photos to download: Download All Photos
2024-10-28 15:29:21 INFO Downloading photos from: Download All Photos
2024-10-28 15:29:21 INFO Stop downloading when prexisiting files count is: Download All Photos
2024-10-28 15:29:21 INFO Live photo size: original
2024-10-28 15:29:21 INFO Skip videos: false
2024-10-28 15:29:21 INFO Convert HEIC to JPEG: false
2024-10-28 15:29:21 INFO Downloading from: icloud.com
2024-10-28 15:29:21 INFO Fake user agent for curl: Disabled
2024-10-28 15:29:21 INFO Authentication domain: com
2024-10-28 15:29:21 INFO Ignore Synology extended attribute directories: Disabled
2024-10-28 15:29:21 INFO Container initialisation complete
2024-10-28 15:29:21 INFO Script launch parameters: --Initialise
2024-10-28 15:29:21 INFO Directory is writable: /config/python_keyring/
2024-10-28 15:29:21 INFO Starting container initialisation
2024-10-28 15:29:23 DEBUG Authenticating...
Traceback (most recent call last):
File "pyicloud_ipd/base.py", line 270, in authenticate
pyicloud_ipd.exceptions.PyiCloudAPIResponseException: {
"serviceErrors" : [ {
"code" : "-20101",
"message" : "Enter the email or phone number and password for your Apple Account.",
"suppressDismissal" : false
} ]
} (401)
The above exception was the direct cause of the following exception:
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 745, in main
File "icloudpd/base.py", line 1183, in core
File "icloudpd/authentication.py", line 53, in authenticate_
File "pyicloud_ipd/base.py", line 160, in init
File "pyicloud_ipd/base.py", line 280, in authenticate
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid email/password combination.', PyiCloudAPIResponseException('{\n "serviceErrors" : [ {\n "code" : "-20101",\n "message" : "Enter the email or phone number and password for your Apple\xa0Account.",\n "suppressDismissal" : false\n } ]\n} (401)'))
[785] Failed to execute script 'icloudpd' due to unhandled exception!
2024-10-28 15:29:24 ERROR Multifactor authentication information missing from cookie. Authentication has failed
2024-10-28 15:29:24 ERROR - Was the correct password entered?
2024-10-28 15:29:24 ERROR - Was the multifactor authentication code mistyped?
2024-10-28 15:29:24 ERROR - Can you log into icloud.com without receiving pop-up notifications?
2024-10-28 15:29:24 INFO Container initialisation complete
root@7de2300131c4:/>
The text was updated successfully, but these errors were encountered: