SOLVED: Hassio requires repeated logins

UPDATE: Here is the solution. Go to Chrome / Settings / Sync and Google services / Manage Sync / turn off slider called: Apps

Original post:

I’m running hassio with no problems from my Android phone or my desktop. However, my laptop on the same network asks for a login nearly every time I refresh a page. If I try to use trusted networks, it tells me “Your computer is not whitelisted.” which is weird since the laptop is logged into the same network as the desktop and phone.

How would I go about trying to diagnose this problem. I haven’t seen this exact problem anywhere.

Thanks, Richard

Have you saved the login?
What does trusted_networks look like in your config? It works and I have not had to login for months…

I have been having the same problem with Safari on my MacBook Pro over the past couple of weeks! I have never had this problem before. It seems like Safari is forgetting the login and my chosen theme even time.

David, I have saved the login repeatedly (I’m starting to feel that prompt is only there to mock me). Here’s my config:

Thanks, Richard

  auth_providers:
    - type: homeassistant
    - type: trusted_networks
      trusted_networks:
        - 192.168.1.0/24

It will prompt to use the homeassistant one forst and you will have a box down lower to switch to trusted networks. I assume you don’t block cookies? Because it needs to store a cookie.

My config looks like this:

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 127.0.0.1
        - ::1
        - 10.90.11.0/24
        - fd00::/8
        - !secret zerotier_network
        - !secret my_ipv6_network
      trusted_users:
        127.0.0.1: !secret user_id
        "::1": !secret user_id
        10.90.11.0/24: !secret user_id
        "fd00::/8": !secret user_id
        !secret zerotier_network: !secret user_id
      allow_bypass_login: true
    - type: homeassistant

David, I should have mentioned that Trusted Networks says: Your computer is not whitelisted.

Thanks for posting your method. I’ll check it out.

Richard

What is the IP address of your computer? Your network looks fine to me. (as long as the computer is on that network)

My laptop is 192.168.1.102 so I don’t understand why it isn’t whitelisted.

I should also mention I am using my own domain and the Nginx Proxy Manager which works perfectly for everything else. When I login, I see: “You’re about to give https://mydomain.com/ access to your Home Assistant instance.” Not sure if that could be part of the problem.

Weird. I use Caddy and no problems.

        - 127.0.0.1

FWIW, I added that to trusted networks. I still can’t log in using trusted networks, but at least now when I log in with user/pass, I seem to stay logged in.