-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Can't login with Firefox #17528
Comments
Can you check the URL in the browser? Looks like client_id is missing in the URL |
|
Anyone? The issue persists. Even after upgrading to 0.80.3 |
I have the same issue as you. The problem also seems to persist further into the iOS realm where I am unable to sign into the app, safari can't find the server, and chrome can't find the server. Relavent information about my install: Hass.io V80.3 running on Ubuntu 18.04. |
Hi, Am also getting this on 0.84.6 with Firefox, it seem to work with Chrome. It works ok with the TOTP disabled, but as soon as its enabled, it causes the same problem: The first POST to login_flow succeeds, this is the password + username request, however the second one fails. The POST request to login_flow fails with an error 400 Bad Request, the params is shown blow: Looking at the code: https://github.com/home-assistant/home-assistant/blob/ead38f60054162cd73e19ecf453e8b7933e82f14/homeassistant/components/auth/login_flow.py#L28 it shows that there should be more in the POST request. This is very strange, I can see the TOTP request being constructred via the Firefox Network view, But it is not received, Wireshark shows the initial POST containing the Password and username, it also shows the TOTP code POST request and the OK 200, but this does not get to the browser. I think this is somthing to do with using Apache as the frontend reverse proxy, just not sure what. |
same problem here, Google Home integration is broken now. |
Also experiencing same problem when exposing HA as tor onion service |
My problem started with release 0.88 and on the EDGE browser. |
Seeing the same with release 0.88 and Firefox. The Web Developer Console shows that the client_id is getting passed up with the POST data. |
This seems to be specific to Firefox. In my case, I'm running it from a virtual env over HTTP. When I look at the web console I see:
With Chromium, this just works. |
What version of Firefox are you using? Please see my comment in home-assistant/frontend#2828 (comment). To archive better user experience, you have to use the latest version of FireFox (and manual turn on two preference), FireFox 63 is the first version officially support ShadowDOM (although you still need turn on the support by yourself).
EDIT: after apply the fix, FireFox ESR 60 with default setting can login |
Confirmed using Firefox 60 ESR. Just to be clear, there's no user experience with 0.88 where it worked with 0.87 without issue, and from @tottka's comment above there's similar issues in Edge. I upgraded to 0.88 a few days ago without issue, and it's only when I had to log back in again that this issue appeared. This looks very much like a nasty bug likely to unexpected affect users after they upgrade, and which will only be seen during a fresh login attempt. Is there anyway to turn off the ShadowDOM and Custom Elements requirements causing this? |
I am also having the same issue. Home Assistant 0.88.1 on a RPI 3 with virtualenv, trying to access it over the Tor network from Linux |
Same problem here. Can not login with: Don't dare to log out from Chrome on Windows 10 to try to login again!!! Home Assistant 0.88.1 in virtual environment on Ubuntu 16.04.5 LTS. |
@ndonegan please open a new issue to address this, it is different than the OP's issue. Mixed different issue together just let us hard to analysis. |
@Strixx76 Please open a new issue (fill in all fields in issue template we are asking) if you have met problem on the browsers you listed. I want to limit this thread to FireFox only. |
@awarecan You sure it's a different issue? Exactly the same errors appearing the logs, exactly the same error appearing in the client. I just happened to dig deeper into the web console log to see what was happening. |
I am sure yours are different. @mretallack 's research back to Jan 4 pointed to the root source (or at least that is the same symptom we can still observed today), and it is different than yours. And it is not new issue at all. |
@awarecan Got it working in Edge. I guessed it was the same problem since it was messing on different computers and devices with the same error message. But the Edge problem was solved by deleting all browser data. |
This issue was moved by awarecan to home-assistant/home-assistant-polymer#2858. |
Same problem for me, but on IceCat. |
Running Firefox 60.5.2esr and having the same issue. When flipped back to 87.0 login works normally. I did the |
Further testing... |
@Enzo-Matrix, please retest it on 0.89 beta with FireFox default settings. If you still have problems please report it back to home-assistant/frontend#2859 I am going to lock this thread. |
Home Assistant release with the issue:
0.80.1
Last working Home Assistant release (if known):
Don't know
Operating environment (Hass.io/Docker/Windows/etc.):
Manual installation on a Raspberry Pi 3, running as a daemon
Component/platform:
Auth/Login
Description of problem:
I just switched from Chrome to Firefox for several reasons. I opened my local home assistant instance and tried to login using the new auth system (with username and pwd). As soon as I click "next" the following message appears:
Error: Message format incorrect: required key not provided @ data['client_id']
It looks like this:
I have 2FA enabled if thats relevant. On my PC I'm running Windows 10. I also have legacy api password enabled and tried to login with my api password -> same error. So I tried it again in Chrome and there it still works. I also tried Microsoft Edge and there it is working as well, so I asume it's a Firefox related issue. I tried to restart my PC, Home Assistant and even my Pi, nothing helped. I also tried to login on a second Windows device with Firefox and even there I get the same error.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):That's my http config:
Traceback (if applicable):
That's what I get in the log file as soon as I try to login:
Additional information:
I'm using nginx to forward my hass instance to port 80, that's the corresponding config snippet:
The text was updated successfully, but these errors were encountered: