-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
[BUG] Error: 2FA is required. Please log in. #278
Comments
You have to change Not sure if it is hard-coded or the variable works - ... but it is easiest to remove use |
Thank you so much for your help, @patmuk , that works :)
(which seemed to give me an apple_id error in icloudpy) I seem to have to use:
|
You are very welcome :) For me that setting works ... I made the path explicit - but that shouldn't matter. Made this while trying to get it work.
When I log into the docker machine (
|
Interesting, so I used that docker exec command, I can see the session_data in /config. But I see a number of files in /app - config.yaml, init.sh, .. Maybe I didn't destroy the container properly I'm wondering to then re-create. Thanks a lot for the help! I'll have a play and close this now, it's syncing photos great now :) |
The
I assume everything else (e.g. Interesting is the I think fastest way to clean up is cleaning and re-building the docker image. The authentication token is in the session_data folder, so everything should continue to work. |
Is |
Oh, I think I worked out why placing the config.yml in /config didn't work for me. I just see this note:
I didn't have |
No worries :) In order to cleanup, you need to You can read about that here. I wrote that out of my memory, might be wrong or oversimplifying some things. |
Ah, that is possible! My .env.icloud file is next to the docker-compose.yaml file and contains: |
Thanks a lot! Will read your link too about docker rm. |
Describe the bug
I thought this may have possibly been fixed as I saw recent changes to both icloudpy and icloud-docker, however, I still appear
to get a 2FA error.
To Reproduce
I get a passcode notification on the iphone when running
docker-compose up
And then use:
I've noticed sometimes this doesn't even seem to prompt for a code, so am a bit confused.
I then wait for it to re-try logging in, I set to 180s. It then seems to give me another code on my phone.
But when I use the 2fa command, it doesn't give a prompt to enter the code.
Expected behavior
No 2FA error
Configuration
I use the following docker-compose.yml:
The text was updated successfully, but these errors were encountered: