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.
Problem to create new hub.
German Customer with *.com Email-Adress. Only can create a Hub for North America. But there it can´t find my car via VIN.
The log file throw this error:
Error requesting: https://bff.emea-prod.mobilesdk.mercedes-benz.com/v1/login - 0
Regards, Dirk
from mbapi2020.
I have a german *.de E-Mail-Adress and exactly the same problem. Maybe the authentication-server of Mercedes is temporarily down?
Regards, Michael
from mbapi2020.
Yes, thats a option. I downgrade the integration to Version 0.12 and the problem was still there. I will try it tomorow again...
from mbapi2020.
Hi Dirk some issue here started today in the morning. Seems to be a general issue.
from mbapi2020.
see here #231
from mbapi2020.
Hi, check the bug fix manually. Works fine for me again!
from mbapi2020.
Will close this one. The first issue was a HA-core bug.
from mbapi2020.
Related Issues (20)
- 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
- Detected blocking call to open inside the event loop HOT 2
- Calling the configure max soc service switches the charging program to standard HOT 11
- "Task exception was never retrieved" on HA 2024.5.5 HOT 4
- Not able to set up the integration HOT 11
- Error requesting: https://bff.emea-prod.mobilesdk.mercedes-benz.com/v2/vehicles - 418 - 0 - HOT 1
- Service window_open - missing field PIN HOT 1
- Missing entities HOT 3
- Webapi change HOT 3
- async_forward_entry_setup after the entry for integration
- "Endofchargetime" Sensor
- Create sensor tirewarningsrdk
- Geographic violation issue HOT 7
- W206 - AMG C43 (2024) HOT 5
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.