Replies: 1 comment
-
|
seems to be related to the commands --smtp-username / password option without it is working |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
i facing a issue when running icloudpd in a linux container on my raspi. Long story short, when I only run --auth-only i get properly prompted for password and then for the MFA challenge, if I try the same without --auth-only it fails
icloud password password is auto generated by password manager therefore also using all kind of special characters..
false attempt:
sudo docker run -it --rm --name icloudpd -v /mnt/icloud/Photos:/data -e TZ=Europe/Berlin icloudpd/icloudpd:latest icloudpd --directory /data --username <user> --watch-with-interval 3600 --smtp-username <smtp> --smtp-password <pw> 2024-12-31 14:07:48 DEBUG Authenticating... iCloud Password: 2024-12-31 14:07:56 ERROR Failed to login with srp, falling back to old raw password authentication. Error: ('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)')) 2024-12-31 14:07:57 INFO Sending 'two-step expired' notification via email...auth-only:
sudo docker run -it --rm --name icloudpd icloudpd/icloudpd:latest icloudpd --username <user> --auth-only 2024-12-31 13:08:25 DEBUG Authenticating... iCloud Password: 2024-12-31 13:08:28 ERROR Failed to login with srp, falling back to old raw password authentication. Error: ('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)')) 2024-12-31 13:08:29 INFO Two-factor authentication is required (2fa) a: **** ******* Please enter two-factor authentication code or device index (a) to send SMS with a code: 899665 2024-12-31 13:08:49 INFO Great, you're all set up. The script can now be run without user interaction until 2FA expires. You can set up email notifications for when the two-factor authentication expires. (Use --help to view information about SMTP options.) 2024-12-31 13:08:49 INFO Authentication completed successfullywas also trying to resolve it with --cookie-directory for auth only and the real session but also seems not to work properly..
Any idea what I am doing wrong? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions