-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Unable To Login With Firefox ESR #2859
Comments
You missed this important information in your original comment. So the login error should be the same as #2858. I haven't looked into onboard issue, it might be same, might not. |
The issue is much worst with HA 0.89.0b1.
And with ShadowDom enabled, login still fails:
|
What is your browser version? Please Ctrl+F5 hard refresh your browser cache or open a "private" window to retry. I cannot reproduce your issue using FireFox 60.5.2esr (64-bit) and HA 0.89.0b1 |
Also running Firefox 60.5.2esr (64-bit) on Linux. Clearing the cache and using private mode had no effect. Same result on SeaMonkey and mobile Firefox. How does one disable these new Dom feature in HA itself? |
It is not a new feature, we are using shadow DOM long time ago. We just changed button component to By the way, your backend stacktrace match the issue home-assistant/core#21569. I am going to look into it. |
FYI, home-assistant/core#21619 should resolve the backend stack trace issue. But the root cause of that is still unclear, it seems frontend submit the login request twice if you enabled shadow dom support (the 2nd request will throw error due the race condition). |
@awarecan |
It may not fix the root cause in the browser, could you look at your network tabs if there are two POST request after you click submit button (or press ENTER). |
Sorry to mention i would like to use Old Smart Devices as Panels such as all of the above have the issue with the Error: Message format incorrect: required key not provided @ data['client_id'] please could you explain me how to use these old devices as Panels for Home Assistant or is the open source community following the trend of big companies instead of upcycling? Thank you |
@ndonegan commented on Feb 27, 2019, 5:44 PM UTC:
Home Assistant release with the issue:
0.88.1
Last working Home Assistant release (if known):
0.87.1
Operating environment (Hass.io/Docker/Windows/etc.):
Virtualenv install running on Raspbian. Talking directly to HA via HTTP on port 81123
Component/platform:
Description of problem:
When attempting to login with Firefox ESR on Debian Strech, the following error appears after entering the creds for Home Assistant Local:
Error: Message format incorrect: required key not provided @ data['client_id']
In the log the only message is:
I did try removing .storage and onboarding again to see if there was corruption there.
When I look at the Web Console, I see
TypeError: NetworkError when attempting to fetch resource.'
where the resource in question is onboarding-ed29f25b.js:2189:1138. The line referenced seems to be attempting to do a POST against /api/onboarding/users I don't see any attempt to even hit that url on the HA install.I had updated a few days before this issue appeared and hadn't noticed anything odd in HA. It's only when it's IP changed and I had to login again that the issue surfaced.
Chromium and Firefox on Android do not seem to suffer from this issue.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):No configuration related to auth or http in the configuration.yml, relying on default.
Traceback (if applicable):
Only output in the log, even with logging upped to debug is:
Additional information:
Reported this on #17528 but was asked to create a new ticket.
This issue was moved by awarecan from home-assistant/home-assistant#21493.
The text was updated successfully, but these errors were encountered: