home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.62k stars 30.38k forks source link

Xbox Integration: 503 Service Unavailable Errors #128620

Open cloudbr34k84 opened 2 hours ago

cloudbr34k84 commented 2 hours ago

The problem

I'm encountering an issue with the Xbox integration in Home Assistant. The integration is unable to retrieve Xbox data, resulting in repeated 503 errors. The error message indicates that the Xbox Live API is unavailable. This happens when attempting to retrieve social data from the Xbox API, preventing the integration from displaying the necessary information.

Logs

Error requesting xbox data: 503, message='Service Unavailable', url='https://peoplehub.xboxlive.com/users/me/people/social/decoration/preferredcolor,detail,multiplayersummary,presencedetail'
Error requesting xbox data: 503, message='Service Unavailable', url='https://peoplehub.xboxlive.com/users/me/people/batch/decoration/preferredcolor,detail,multiplayersummary,presencedetail'

What version of Home Assistant Core has the issue?

2024.10.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Xbox

Link to integration documentation on our website

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

Diagnostics information

No diagnostic file available

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

This issue seems related to an Xbox Live API outage or service interruption, but the integration does not handle the 503 errors gracefully. It may help to add more robust error handling for when the Xbox service is down, allowing retries or a more informative status message to be shown in Home Assistant.

home-assistant[bot] commented 2 hours ago

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

Code owner commands Code owners of `xbox` 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 xbox` 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)


xbox documentation xbox source (message by IssueLinks)