Giter VIP home page Giter VIP logo

Comments (9)

MrDecepticon avatar MrDecepticon commented on September 3, 2024

I am having this same exact issue on two separate docker images/instances/installations. I had a power failure about a week ago and have been having this exact log message in both ever since. I have changed nothing about my icloud account and can log in to both accounts on apple's icloud website. Running the --initialize switch does not fix it as it requests authentication and insists my password/username is incorrect.

I even removed the keystore/keyring to rebuild but it won't even get to that point as it does not accept my credentials even though I know for a fact they are correct.


2023-12-08 07:30:19 INFO     Synchronisation starting at 07:30:19
2023-12-08 07:30:19 INFO     Keyring file exists, continuing
2023-12-08 07:30:19 INFO     Check download directory mounted correctly...
2023-12-08 07:30:19 INFO     Failsafe file /home/user/iCloud/.mounted exists, continuing
2023-12-08 07:30:19 INFO     Check for new files using password stored in keyring file
2023-12-08 07:30:19 INFO     Generating list of files in iCloud. This may take a long time if you have a large photo collection. Please be patient. Nothing is being downloaded at this time
2023-12-08 07:30:20 ERROR    Unknown reason
2023-12-08 07:30:20 ERROR    Failed check for new files files
2023-12-08 07:30:20 ERROR     - Can you log into icloud.com without receiving pop-up notifications?
2023-12-08 07:30:20 ERROR    Error debugging info:
2023-12-08 07:30:20 ERROR    Traceback (most recent call last):
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/pyicloud_ipd/base.py", line 220, in authenticate
    req = self.session.post(
          ^^^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/requests/sessions.py", line 637, in post
    return self.request("POST", url, data=data, json=json, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/pyicloud_ipd/base.py", line 105, in request
    self._raise_error(code, reason)
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/pyicloud_ipd/base.py", line 127, in _raise_error
    raise api_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseError: Unknown reason

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/icloudpd_latest/bin/icloudpd", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/icloudpd/base.py", line 317, in main
    core(
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/icloudpd/base.py", line 744, in core
    icloud = authenticator(logger, domain)(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/icloudpd/authentication.py", line 31, in authenticate_
    icloud = pyicloud_ipd.PyiCloudService(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/pyicloud_ipd/base.py", line 204, in __init__
    self.authenticate()
  File "/opt/icloudpd_latest/lib/python3.11/site-packages/pyicloud_ipd/base.py", line 228, in authenticate
    raise PyiCloudFailedLoginException(msg, error)
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid email/password combination.', PyiCloudAPIResponseError('Unknown reason'))
2023-12-08 07:30:20 ERROR    ***** Please report problems here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
2023-12-08 07:30:20 INFO     Sending Discord failure notification
2023-12-08 07:30:20 INFO     Web cookie expires: 2024-01-29 @ 20:16:59
2023-12-08 07:30:20 INFO     Multifactor authentication cookie expires: 2024-02-28 @ 20:17:13
2023-12-08 07:30:20 INFO     Days remaining until expiration: 82
2023-12-08 07:30:20 INFO     Synchronisation ended at 07:30:20
2023-12-08 07:30:20 INFO     Total time taken: 00:00:01

from unraid-docker-templates.

MrDecepticon avatar MrDecepticon commented on September 3, 2024

Just some more info: I checked the app repository for icloudpd and noticed that it did not show that it was installed (acting as if I never installed it). So, I removed my existing docker image and reinstalled. This was definitely newer than my existing installation as there are WAY more options. Added all the appropriate settings from my old installation and went to initialize. I had to add the variable force_gid as it was throwing an error about group 100 already being in use. Same issue. It is not accepting my credentials at all:


2023-12-08 11:58:06 INFO     Sending Discord startup notification
2023-12-08 11:58:06 INFO     Downloading from: icloud.com
2023-12-08 11:58:06 INFO     Authentication domain: com
2023-12-08 11:58:06 INFO     Ignore Synology extended attribute directories: Disabled
2023-12-08 11:58:06 INFO     Script launch parameters: --initialise
2023-12-08 11:58:06 WARNING  Group id, 100, already in use by the group: users - continuing as force_gid variable has been set. Group name to use: users
Enter iCloud password for [email protected]: 
Bad username or password for [email protected]
Enter iCloud password for [email protected]: 
Bad username or password for [email protected]
Enter iCloud password for [email protected]: 

from unraid-docker-templates.

dlang123 avatar dlang123 commented on September 3, 2024

Adding here.. I have two installs of the docker pointing to two totally different configurations.

I set up mine without issue initially. I setup the 2nd one without issue. When the first container restarted due to a config change by me, it refused to connect with an authentication error.

I deleted my original install and config folders to start fresh, and continue to receive this error. I have verified web access from different browsers without issue so the passwords are good and I have access to photos. The 2nd container is still running without issues and downloading pics every day.

from unraid-docker-templates.

etoNcYCer avatar etoNcYCer commented on September 3, 2024

Adding here.. I have two installs of the docker pointing to two totally different configurations.

I set up mine without issue initially. I setup the 2nd one without issue. When the first container restarted due to a config change by me, it refused to connect with an authentication error.

I deleted my original install and config folders to start fresh, and continue to receive this error. I have verified web access from different browsers without issue so the passwords are good and I have access to photos. The 2nd container is still running without issues and downloading pics every day.

I just started having the same problem this morning.

from unraid-docker-templates.

Soulplayer avatar Soulplayer commented on September 3, 2024

same error. Both my containers are down.

from unraid-docker-templates.

dlang123 avatar dlang123 commented on September 3, 2024

Problem with icloudpd and not the docker container for Unraid.

icloud-photos-downloader/icloud_photos_downloader#729

from unraid-docker-templates.

imzenreally avatar imzenreally commented on September 3, 2024

@dlang123 the unraid template is still pointing at boredazfuck's image - and not the iCloud-photos-downloader - I've been following the thread on the iCloud Photos downloader - looks like they've released a fix - do we need to point the template to that docker image instead of boredazfucks? looks like he hasn't built a new image in that repo in a while

from unraid-docker-templates.

dlang123 avatar dlang123 commented on September 3, 2024

@dlang123 the unraid template is still pointing at boredazfuck's image - and not the iCloud-photos-downloader - I've been following the thread on the iCloud Photos downloader - looks like they've released a fix - do we need to point the template to that docker image instead of boredazfucks? looks like he hasn't built a new image in that repo in a while

The newest prebuilt docker on docker hub is 6 days ago, so I would wait for them to push the newest docker up since it has only been somewhat fixed in the last day or two. I need to go learn how to build the unraid templates, I have some other projects I have pushed pull requests to, but they seem to have died.

from unraid-docker-templates.

imzenreally avatar imzenreally commented on September 3, 2024

@dlang123 the unraid template is still pointing at boredazfuck's image - and not the iCloud-photos-downloader - I've been following the thread on the iCloud Photos downloader - looks like they've released a fix - do we need to point the template to that docker image instead of boredazfucks? looks like he hasn't built a new image in that repo in a while

The newest prebuilt docker on docker hub is 6 days ago, so I would wait for them to push the newest docker up since it has only been somewhat fixed in the last day or two. I need to go learn how to build the unraid templates, I have some other projects I have pushed pull requests to, but they seem to have died.

Looks like boredazfcukis still updating dockerhub I was only looking at the GitHub page which hasn't had a commit in like two years (or so I thought I read earlier today) regardless I think it's a moot point looks like @boredazfcuk is still maintaining this

from unraid-docker-templates.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.