-
-
Notifications
You must be signed in to change notification settings - Fork 49
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 during 2FA authentification #78
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
@xiaotianxt is it still a valid bug? Sorry, I didn't get a chance to look at it until now. I am not able to reproduce it. |
yeah, I also encountered this problem. And the pop-up window of 2fa on my mobile phone appeared, but the same error was also reported.
config.yaml same
|
@iPixelOldC : Yes! Now that makes a lot more sense to me. It looks like iCloud.com.cn has some different structure for iCloud webservices. Do you mind helping me to confirm that? I would like to see a dump of |
@mandarons Sure, what should I do? And I found icloudpd supports the iCloud CN. Looking at the source code, it just replaces the domain name. Then I use his container. After opening the support, it can work. |
|
It seems to work, but it still needs to be modified in one place, otherwise it will report the same webservices error.
then modify HOME_ENDPOINT (I don't know why it hasn't been modified by sed command)
to
It's work. Photos are also starting to download。
|
@iPixelOldC That's a great news! I know how to fix it now. Thank you for helping me identify the root cause. I will create a build for you to test soon. |
@iPixelOldC : please try with |
@mandarons same webservices error. But I can use it after repeating the above operation (sed -i -e "s#icl... vi base.py...). This 'region: china' parameter may not be work?
base.py
|
@iPixelOldC That's weird. I am able to see authentication error when I select 'region: china'. Can you please check if the change in config is reflecting in the container? You can do that by checking the |
@mandarons I think so too, it's too strange. I checked the configuration, including the sync script inside the container, and I also checked that it was up to date. Then I also deleted my configuration file and used the configuration file that came with your container, and then went into the container to modify the region, and the same error occurred. Then I went to try using the sed command and then manually change the home_endpoint, and it worked. I'll try again later. |
@mandarons same docker compose file
log: After the modification it worked, the error was reported because I didn't have this album
|
@iPixelOldC Ah.. Looks like you're getting error while authenticating using
|
@mandarons Wow, so there's a new parameter? I didn't know that at all. But I seem to be logging in too much now and having some weird problems, obviously the password is correct but he says I'm wrong. Copy and paste too. Changed to another account also. Then I go back to the web login and the same password is logged in. It's so weird. So I created a new container and repeated the previous operation of changing the domain name, same password but it worked.
UPDATE: I changed the sync script here to return the global domain name, and I also have the same problem with the password error.
/app # cat src/sync.py
Then I'm here in the wee hours of the morning, and I have to go to sleep. I'll come back tomorrow to test, bye. |
Describe the bug
After execting the login command given in
README.md
The following error shows:
To Reproduce
Steps to reproduce the behavior:
Configuration
If applicable, please share the configuration details
docker-compose.yaml:
config.yaml:
The text was updated successfully, but these errors were encountered: