GithubHelp home page GithubHelp logo

Comments (22)

ReneNulschDE avatar ReneNulschDE commented on June 20, 2024 2

I have made one change in v0.14-beta1 and try to read from the HA config store first instead of using the file cache... But still testing it on my instances.

from mbapi2020.

tbkon3 avatar tbkon3 commented on June 20, 2024 1

Fixed:
Deleted the old "Hub", reboot and reconfigured, all ok!!!

from mbapi2020.

74Rog avatar 74Rog commented on June 20, 2024 1

I've deleted and reinstalled now and it is fine.
It did start to get a bit weird as I had multiple reconfigure buttons in Devices and Services but all good now.

from mbapi2020.

ReneNulschDE avatar ReneNulschDE commented on June 20, 2024

Please enable the debug log, run the process again and share the log

from mbapi2020.

tbkon3 avatar tbkon3 commented on June 20, 2024

same for me: the error is:
[%key:common::config_flow::abort::reauth_successful%]

from mbapi2020.

ReneNulschDE avatar ReneNulschDE commented on June 20, 2024

same for me: the error is:
[%key:common::config_flow::abort::reauth_successful%]

Do you still have the logs? This is a standard HA key and this one is used everywhere... What is youre HA version?

from mbapi2020.

churchofnoise avatar churchofnoise commented on June 20, 2024

Seems to be occurring here too since the last update (2024.3.3?)

from mbapi2020.

ReneNulschDE avatar ReneNulschDE commented on June 20, 2024

Thanks, This is not related to 2024.3.3.

  • The multiple button problem is on my list.
  • Reauth-Problem: I assume that this happens after an upgrade of HA in an HAOS environment. Whenever the backup is not created near time (<10min) before the upgrade than there is a high risk that invalid keys are stored in the backup. (Reason: the auth and reauth keys are vaild for 120min only and are renewed every 110min)

Workaround currently: Delete integration in HA (not in HACS) and re-add integration after a restart.

from mbapi2020.

janwilms avatar janwilms commented on June 20, 2024

This is the error I got now

This error originated from a custom integration.

Logger: custom_components.mbapi2020.oauth
Source: custom_components/mbapi2020/oauth.py:312
integration: MercedesME 2020 (documentation, issues)
First occurred: 08:48:43 (3 occurrences)
Last logged: 08:52:47

Error requesting: https://id.mercedes-benz.com/as/token.oauth2 - 0 - {"error_description":"unknown, invalid, or expired refresh token","error":"invalid_grant"}

from mbapi2020.

ReneNulschDE avatar ReneNulschDE commented on June 20, 2024

In what context did you got this error? HA-Upgrade / Restore?

from mbapi2020.

Marijncouckuyt avatar Marijncouckuyt commented on June 20, 2024

I ran into the same problem after upgrading to 24.3.3.
It fails to reauth after removing the integration and reinstalling it.
Gives 'unknown error'

EDIT: retried few hours later and now works fine

from mbapi2020.

j9brown avatar j9brown commented on June 20, 2024

Hmm, I understand why the auth tokens expire and may need to be refreshed after an update, but why does authentication still not work after the reconfigure task completes successfully?

from mbapi2020.

j9brown avatar j9brown commented on June 20, 2024

Still unable to re-authenticate in v0.13.

from mbapi2020.

j9brown avatar j9brown commented on June 20, 2024

I noticed this in the beta release notes. Not sure whether it is relevant but it sounds superficially related: https://developers.home-assistant.io/blog/2024/04/25/always-reload-after-successful-reauth-flow/

from mbapi2020.

ReneNulschDE avatar ReneNulschDE commented on June 20, 2024

Sounds related but we want the reload after the auth issue. I changed the flow a little bit in the latest beta of the component. Now I try to load the tokens from the cache instead of the file system.

from mbapi2020.

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.