Coder Social home page Coder Social logo

Comments (15)

tr4nt0r avatar tr4nt0r commented on June 22, 2024 2

@home-assistant close

from core.

jocamane avatar jocamane commented on June 22, 2024 2

@home-assistant reopen

from core.

tr4nt0r avatar tr4nt0r commented on June 22, 2024 1

@mib1185 I'm not the one trying to do anything. The BRING integration is working well. I can see all the lists and the items that are there. Errors appear in the HA core log from time to time (about 12 hours), but apparently everything is OK. I've already tried deleting the integration and putting it back together, everything goes fine, but after a while the error appears again.

Thanks

Hi @jocamane
as @mib1185 already mentioned, that error is nothing to worry about, just an error in the network communication with the Bring service, i also get these errors regularly. Bad Gateway indicates the error is on the server side and there is nothing we can do aside from wait and retry. Errors like this will always happen from time to time and operation will usually recover to normal. If an error persists you should maybe investigate, otherwise it is safe to ignore it.

I will try to update the error messages and make it sound less alarming ^^

from core.

mib1185 avatar mib1185 commented on June 22, 2024 1

Hi,
first, please calm down - we do this all in our free spare time and it's just an error message from time to time (caused by an server side error, not HA side!). Since we are not affiliated in any kind with Bring, we can't say anything about the cause of this outage of their servers.
What we could do is fetch this particular ClientResponseError and wrap it into the UpdateFailed error, which is properly handled by HA. There would still be an entry in your log, but not such prominent. (what @tr4nt0r has also mentioned earlier in #118043 (comment))

from core.

home-assistant avatar home-assistant commented on June 22, 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)

from core.

mib1185 avatar mib1185 commented on June 22, 2024

message='Bad Gateway' often indicates an issue with the webservice itself, so on the very first I would suggest to try it later again

from core.

jocamane avatar jocamane commented on June 22, 2024

@mib1185 I'm not the one trying to do anything. The BRING integration is working well. I can see all the lists and the items that are there. Errors appear in the HA core log from time to time (about 12 hours), but apparently everything is OK. I've already tried deleting the integration and putting it back together, everything goes fine, but after a while the error appears again.

Thanks

from core.

jocamane avatar jocamane commented on June 22, 2024

This error has been happening for more than 6 months. Isn't that enough to investigate? OK

from core.

jocamane avatar jocamane commented on June 22, 2024

No error or warning is normal in any application in the world. If there is an error, it is because something is not right, so it must be investigated.

from core.

tr4nt0r avatar tr4nt0r commented on June 22, 2024

No error or warning is normal in any application in the world. If there is an error, it is because something is not right, so it must be investigated.

Internet connections are never 100% reliable by nature, Services like bring can produce errors, for example if servers are overloaded with too many requests. These errors are normal, they are expected to happen. If they happen too often, only then it is required to take action. In this case especially, there is nothing i can do in the bring integration or the bring-api library to fix them, aside from throwing an error and retrying again later, which is already happening in the Integration and Home Assistant takes care of retrying later.
Also this an error on the server side. If you think this should be addressed somehow, please open a ticket directly with the company that provides the service for the Bring App. You can send an e-mail to [email protected]
Please also be aware, that we, the maintainers, are not in any way affiliated with bring and this integration is not officially supported by Bring Labs.

from core.

jocamane avatar jocamane commented on June 22, 2024

Do not worry.
I will stop using Bring integration in Home assistant.
It's always better than having a log full of errors every day

from core.

tr4nt0r avatar tr4nt0r commented on June 22, 2024

Do not worry. I will stop using Bring integration in Home assistant. It's always better than having a log full of errors every day

I'm ok with that. I'm doing this for free in my spare time and don't get paid for it. If you don't like it, don't use itπŸ€·β€β™‚οΈ

Also please refer to this passage of the License:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

from core.

jocamane avatar jocamane commented on June 22, 2024

exactly

from core.

jocamane avatar jocamane commented on June 22, 2024

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

Regarding the software, I have nothing to do with it

from core.

tr4nt0r avatar tr4nt0r commented on June 22, 2024

Hi, first, please calm down - we do this all in our free spare time and it's just an error message from time to time (caused by an server side error, not HA side!). Since we are not affiliated in any kind with Bring, we can't say anything about the cause of this outage of their servers. What we could do is fetch this particular ClientResponseError and wrap it into the UpdateFailed error, which is properly handled by HA. There would still be an entry in your log, but not such prominent. (what @tr4nt0r has also mentioned earlier in #118043 (comment))

ClientResponseError is already handled by UpdateFailed, hence the first message in the error log

Error fetching bring data: Unable to connect and retrieve data from bring

The second error log comes from the upstream library, which logs an error with the full stack trace. This has already been addressed, the current version 0.7.1 of bring-api is a lot less talkative and will log these messages only if debug is enabled.

The library will be updated to v0.7.1 in the next Home Assistant main release

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.