Comments (22)
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.
Fixed:
Deleted the old "Hub", reboot and reconfigured, all ok!!!
from mbapi2020.
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.
Please enable the debug log, run the process again and share the log
from mbapi2020.
same for me: the error is:
[%key:common::config_flow::abort::reauth_successful%]
from mbapi2020.
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.
Seems to be occurring here too since the last update (2024.3.3?)
from mbapi2020.
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.
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.
In what context did you got this error? HA-Upgrade / Restore?
from mbapi2020.
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.
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.
Still unable to re-authenticate in v0.13.
from mbapi2020.
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.
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)
- Smart missing after uninstall and reinstall 0.10/0.10.1 HOT 9
- Remote Lock/Unlock failing HOT 2
- Re-authentication failing HOT 5
- AUxHeat not available anymore HOT 2
- Preheating state HOT 5
- How to use the exclusion of cars by FIN/FIN? HOT 7
- New warning after last update - Problem with fences/violations data at Mercedes database HOT 2
- Error when capabilities are not available
- Authentication failed. Please reauthenticate. HOT 22
- When changing charging program, max_state_of_charge doesn't update HOT 3
- Minor spelling issue HOT 1
- Other error Cannot write to closing transport HOT 4
- Car is constantly disconnected after last update HOT 4
- Values jump between actual Value and old Value? HOT 5
- Device Tracker no longer showing correctly HOT 6
- Logs being filled with connecting to Mercedes, connected too Mercedes messages HOT 2
- shouldn't odometer sensor have state_class total_increasing instead of measurement? HOT 2
- Remove spikes HOT 3
- authentication is failing since update to 0.13.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbapi2020.