Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork36.2k
Closed
Labels
Description
The problem
The xbox integration goes unavailable regularly and recovers next scan interval. It seems the integration is currently rate limited from what I can see in debug logs. This seems to repeat in this pattern:
What version of Home Assistant Core has the issue?
2025.12.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
XBox
Link to integration documentation on our website
https://www.home-assistant.io/integrations/xbox/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
2025-12-06 11:44:17.403 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:44:17.504 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Xbox exception:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/xbox/coordinator.py", line 195, in _async_update_data batch = await self.client.people.get_friends_by_xuid(self.client.xuid)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pythonxbox/api/provider/people/__init__.py", line 90, in get_friends_by_xuid resp.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self)httpx.HTTPStatusError: Client error '429 Too Many Requests' for url 'https://peoplehub.xboxlive.com/users/me/people/xuids(2535471376629943)/decoration/preferredColor,detail,multiplayerSummary,presenceDetail'For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/4292025-12-06 11:44:17.508 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 0.252 seconds (success: False)2025-12-06 11:44:18.793 WARNING (MainThread) [roborock.devices.v1_channel] Command RoborockCommand.GET_NETWORK_INFO failed on mqtt channel: Error starting MQTT session: [code:135] Not authorized2025-12-06 11:44:27.403 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:44:27.502 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Xbox exception:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/xbox/coordinator.py", line 195, in _async_update_data batch = await self.client.people.get_friends_by_xuid(self.client.xuid)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pythonxbox/api/provider/people/__init__.py", line 90, in get_friends_by_xuid resp.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self)httpx.HTTPStatusError: Client error '429 Too Many Requests' for url 'https://peoplehub.xboxlive.com/users/me/people/xuids(2535471376629943)/decoration/preferredColor,detail,multiplayerSummary,presenceDetail'For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/4292025-12-06 11:44:27.505 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 0.250 seconds (success: False)2025-12-06 11:44:37.406 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:44:37.530 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Xbox exception:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/xbox/coordinator.py", line 195, in _async_update_data batch = await self.client.people.get_friends_by_xuid(self.client.xuid)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pythonxbox/api/provider/people/__init__.py", line 90, in get_friends_by_xuid resp.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self)httpx.HTTPStatusError: Client error '429 Too Many Requests' for url 'https://peoplehub.xboxlive.com/users/me/people/xuids(2535471376629943)/decoration/preferredColor,detail,multiplayerSummary,presenceDetail'For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/4292025-12-06 11:44:37.533 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 0.278 seconds (success: False)2025-12-06 11:44:46.839 WARNING (MainThread) [roborock.devices.v1_channel] Command RoborockCommand.GET_NETWORK_INFO failed on mqtt channel: Error starting MQTT session: [code:135] Not authorized2025-12-06 11:44:47.410 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:44:47.506 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Xbox exception:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/xbox/coordinator.py", line 195, in _async_update_data batch = await self.client.people.get_friends_by_xuid(self.client.xuid)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pythonxbox/api/provider/people/__init__.py", line 90, in get_friends_by_xuid resp.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self)httpx.HTTPStatusError: Client error '429 Too Many Requests' for url 'https://peoplehub.xboxlive.com/users/me/people/xuids(2535471376629943)/decoration/preferredColor,detail,multiplayerSummary,presenceDetail'For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/4292025-12-06 11:44:47.510 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 0.254 seconds (success: False)2025-12-06 11:44:57.412 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:44:57.501 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Xbox exception:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/xbox/coordinator.py", line 195, in _async_update_data batch = await self.client.people.get_friends_by_xuid(self.client.xuid)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pythonxbox/api/provider/people/__init__.py", line 90, in get_friends_by_xuid resp.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self)httpx.HTTPStatusError: Client error '429 Too Many Requests' for url 'https://peoplehub.xboxlive.com/users/me/people/xuids(2535471376629943)/decoration/preferredColor,detail,multiplayerSummary,presenceDetail'For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/4292025-12-06 11:44:57.505 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 0.249 seconds (success: False)2025-12-06 11:45:07.404 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:45:08.502 INFO (MainThread) [homeassistant.components.xbox.coordinator] Fetching xbox data recovered2025-12-06 11:45:08.502 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 1.247 seconds (success: True)2025-12-06 11:45:14.656 WARNING (MainThread) [roborock.devices.v1_channel] Command RoborockCommand.GET_NETWORK_INFO failed on mqtt channel: Error starting MQTT session: [code:135] Not authorized2025-12-06 11:45:16.523 WARNING (MainThread) [roborock.devices.v1_channel] Command RoborockCommand.GET_NETWORK_INFO failed on mqtt channel: Error starting MQTT session: [code:135] Not authorized2025-12-06 11:45:18.405 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:45:20.692 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 2.437 seconds (success: True)2025-12-06 11:45:30.404 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Basement Xbox status: {'power_state': <PowerState.Off: 'Off'>, 'console_streaming_enabled': True, 'digital_assistant_remote_control_enabled': True, 'remote_management_enabled': True, 'focus_app_aumid': '', 'is_tv_configured': False, 'login_state': None, 'playback_state': <PlaybackState.Stopped: 'Stopped'>, 'storage_devices': None, 'status': {'error_code': 'OK', 'error_message': None}}2025-12-06 11:45:31.805 DEBUG (MainThread) [homeassistant.components.xbox.coordinator] Finished fetching xbox data in 1.549 seconds (success: True)Additional information
No response