Skip to content
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

Future exception was never retrieved #115804

Open
Destroyer061090 opened this issue Apr 18, 2024 · 1 comment
Open

Future exception was never retrieved #115804

Destroyer061090 opened this issue Apr 18, 2024 · 1 comment
Assignees

Comments

@Destroyer061090
Copy link

The problem

Registratore: homeassistant
Fonte: components/icloud/account.py:186
Prima occorrenza: 17 aprile 2024 alle ore 02:45:08 (1 occorrenze)
Ultima registrazione: 17 aprile 2024 alle ore 02:45:08

Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/icloud/account.py", line 318, in keep_alive
self.update_devices()
File "/usr/src/homeassistant/homeassistant/components/icloud/account.py", line 186, in update_devices
status = device.status(DEVICE_STATUS_SET)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyicloud/services/findmyiphone.py", line 119, in status
self.manager.refresh_client()
File "/usr/local/lib/python3.12/site-packages/pyicloud/services/findmyiphone.py", line 34, in refresh_client
req = self.session.post(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyicloud/base.py", line 133, in request
self._raise_error(response.status_code, response.reason)
File "/usr/local/lib/python3.12/site-packages/pyicloud/base.py", line 189, in _raise_error
raise api_error
pyicloud.exceptions.PyiCloudAPIResponseException: (404)

What version of Home Assistant Core has the issue?

2024.4.3

What was the last working version of Home Assistant Core?

previous one

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

icloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/icloud

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @Quentame, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (icloud) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of icloud can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign icloud Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


icloud documentation
icloud source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants