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
68.78k stars 28.1k forks source link

error when using Media-> Xbox Game Media #116175

Open johnbradley101 opened 1 week ago

johnbradley101 commented 1 week ago

The problem

i have added the xbox integration and connected my account. I am able to see:

When I try to browse the list of games and apps using the sidebar, I get an error on screen.

When I look in the logs I see this:

aiohttp.client_exceptions.ClientResponseError: 400, message='Got more than 8190 bytes (11657) when reading Header value is too long.', url=URL('https://displaycatalog.mp.microsoft.com/v7.0/products?actionFilter=Browse&bigIds=.......

followed by the product ID's for the games etc..

I have almost 650 games plus around 30 apps.

If I copy and paste the full URL into a browser, I can see the full JSON data. Saving this to a file the size is almost 8 megabytes.

Homeassistant is running on a Synology NAS via Docker.

What version of Home Assistant Core has the issue?

core-2023.12.0

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 response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

aiohttp.client_exceptions.ClientResponseError: 400, message='Got more than 8190 bytes (11657) when reading Header value is too long.', url=URL('https://displaycatalog.mp.microsoft.com/v7.0/products?actionFilter=Browse&bigIds=.......

Additional information

No response

home-assistant[bot] commented 1 week 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)