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

Bring! Integration will fail to set up #112853

Closed
KlaraJa opened this issue Mar 9, 2024 · 3 comments
Closed

Bring! Integration will fail to set up #112853

KlaraJa opened this issue Mar 9, 2024 · 3 comments

Comments

@KlaraJa
Copy link

KlaraJa commented Mar 9, 2024

The problem

In 2024.2.0 I added the Bring! integration but with now the Integrations fails to set up on reboot.
While trying to re-add this service I just get the error Failed to connect

So I looked in the logs and got this:

Logger: bring_api.bring
Source: components/bring/config_flow.py:56
First occurred: 00:22:19 (4 occurrences)
Last logged: 00:24:22

Locale file articles.en-DE.json could not be loaded from filesystem. Will continue trying to download locale.
Exception: Cannot load articles.en-DE.json: Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/bring_api/bring.py", line 821, in __load_article_translations dictionaries[locale] = await r.json() ^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 71, in json return await super().json(*args, loads=loads, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1166, in json raise ContentTypeError( aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://web.getbring.com/locale/articles.en-DE.json')

What version of Home Assistant Core has the issue?

core-2024.3.0

What was the last working version of Home Assistant Core?

core-2024.2.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Bring!

Link to integration documentation on our website

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

Diagnostics information

Because the Integrations is not set up anymore I cannot get diagnostic data.

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

home-assistant bot commented Mar 9, 2024

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

Code owner commands

Code owners of bring 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 bring 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)


bring documentation
bring source
(message by IssueLinks)

@tr4nt0r
Copy link
Contributor

tr4nt0r commented Mar 9, 2024

I'm sorry for introducing this bug with the last release, I already fixed it and the bugfix will hopefully be included in the next patch release. If you can't wait, take a look here, someone describes a temporary workaround

@tr4nt0r
Copy link
Contributor

tr4nt0r commented Mar 9, 2024

@home-assistant close

@home-assistant home-assistant bot closed this as completed Mar 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants