Giter Club home page Giter Club logo

Comments (6)

boredazfcuk avatar boredazfcuk commented on September 12, 2024

When initialising a brand new container, you'll be prompted to confirm a multi factor authentication code twice. The first time, is when the authentication app connects to Apple servers to validate your password and save it to the system keyring. It will create a cookie at this point, but this cookie will not be valid for iCloud downloads.

You will then be prompted to confirm your multi factor authentication code a second time. This second time updates the cookie so that it allows you to also connect to the Photos service. At this point it will continue and download the photos.

If you fail to enter the correct multi factor authentication code on the second request, it will lead to the same situation as you describe.

Just delete the cookie and reinitialise the container. It will already have your password saved to the keychain, so should only ask for the multi factor authentication code once the second time around.

from docker-icloudpd.

sachins06 avatar sachins06 commented on September 12, 2024

I tried the steps you highlighted and I'm getting this error now:

2024-07-08 10:11:44 ERROR Cookie is not multifactor authentication capable, authentication type may have changed
2024-07-08 10:11:44 ERROR Invalid cookie file has been removed. Restarting container in 5 minutes

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on September 12, 2024

I've noticed it does this occasionally when creating cookies recently. I've not looked into yet though as it works fine after the restart. Apple have probably changed the format of the cookie so my script doesn't recognise it as a valid cookie.

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on September 12, 2024

I've checked this in a brand new test container and it worked fine. Not sure where the problem lies and can't reproduce it.

from docker-icloudpd.

sachins06 avatar sachins06 commented on September 12, 2024

I figured it out. I had "Advanced Data Protection" turned on for my iCloud. Once I turned it off and re-initialized the iCloud connection, it started to work.

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on September 12, 2024

Thanks for the update

from docker-icloudpd.

Related Issues (20)

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.