-
Notifications
You must be signed in to change notification settings - Fork 166
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
Bad username or password during setup #622
Comments
me too |
I get the same error... help! |
I just figured it out... my bad! I didn't create a directory called /config in the docker folder. |
For anyone wondering this was indeed the case. I had config pointing to icloudpd's appdata folder, when it actually needed to point to a config folder within it's appdata folder. |
The config directory is hard-coded to /config. The unraid template isn't something I maintain and once upon a time, it was possible to configure the location of the config directory within the container. Presumably the Unraid template still allows you to configure the location, when the container itself ignore that configuration option now. |
ok, I removed all variables from the unraid template and restarted the container. Initializing succeeded now :). |
When you say all variables, do you really mean all of them? I am currently stuck on the
|
It's possible that it's an upstream pyicloud issue
It could also be a digital certificate change:
I'm getting the "Service Temporarily Unavailable (503)" as well, and pretty sure the timing lines up with Oct 19 when it started to fail for me. Will wait a few more days and check in on things. Could require a few more to fix depending on the complexity. Pretty sure this is not a boredazfcuk/docker-icloudpd issue, or even a icloud-photos-downloader/icloud_photos_downloader issue. |
I only kept: all other variables are stored in the |
The only variable I create my container with is TZ= The time zone is needed by the host OS, which is why I set it to be created with the container. Everything else is configured using the config file. The main reason for this is that all I do with the variables is write them to the config file, then use the config file to set the variables in the script.
Not sure what this is. Unraid variable maybe?
Set via config file
Not sure what this is
Not sure what this is, container uses TZ
Set via config file
This is no longer is used IIRC
Not sure what this is, Unraid again?
Set via config file
Set via config file
Not sure what this is, Unraid again maybe
Not sure what this is, Unraid again maybe
Not sure what this is, Unraid again maybe |
This |
A proposed fix has submitted to the upstream project so I will update my container as soon as it's merged. |
yes, as I mentioned, all variables are from the unraid template file that uses this docker container. |
has this been fixed now as i'm still getting the "bad username or password" or the 503 error? |
I just set this up using the Unraid template but can't seem to get past entering my Apple ID password. I have it set to MFA.
`Traceback (most recent call last):
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/base.py", line 241, in _authenticate_with_token
req = self.session.post(
^^^^^^^^^^^^^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/requests/sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/session.py", line 167, in request
self._raise_error(code or "Unknown", reason)
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/session.py", line 196, in _raise_error
raise api_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseException: Missing apple_id field (Missing apple_id field)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/cmdline.py", line 257, in main_aux
api = PyiCloudService(
^^^^^^^^^^^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/base.py", line 157, in init
self.authenticate()
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/base.py", line 221, in authenticate
self._authenticate_with_token()
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/base.py", line 247, in _authenticate_with_token
raise PyiCloudFailedLoginException(msg, error) from error
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid authentication token.', PyiCloudAPIResponseException('Missing apple_id field (Missing apple_id field)'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/icloudpd/bin/icloud", line 8, in
sys.exit(main())
^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/cmdline.py", line 81, in main
main_aux()
File "/opt/icloudpd/lib/python3.12/site-packages/pyicloud_ipd/cmdline.py", line 336, in main_aux
raise RuntimeError(message) from err
RuntimeError: Bad username or password for [email protected]
2024-08-03 16:18:12 ERROR Keyring file does not exist. Please try again`
The text was updated successfully, but these errors were encountered: