b0mbays / continuously_casting_dashboards

HACS Integration for continuously casting a Home Assistant dashboard to your Google Chromecast Displays
MIT License
183 stars 9 forks source link

Home Assistant is going into recovery mode after adding trusting networks #46

Closed maxakash closed 4 months ago

maxakash commented 4 months ago

Hi after adding code for trusted networks, I am getting this error

Screenshot 2024-02-23 at 7 38 58 PM

Here is my configuration.yaml file

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

homeassistant:
  # Note that this section is a subset of homeassistant: and is not tabbed all the way to the left like other things in configuration.yaml
  external_url: https://akashhomeassistant.online
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.68.127/32
        - 192.168.68.106/32
        - 192.168.68.145/32
        - 192.168.68.141/32
        - 192.168.68.138/32
        - 192.168.68.144/32
        - 192.168.68.120/32
      trusted_users:
        192.168.68.127: userid
        192.168.68.106: userid
        192.168.68.145: userid
        192.168.68.141: userid
        192.168.68.138: userid
        192.168.68.144: userid
        192.168.68.120: userid
      allow_bypass_login: true
    - type: homeassistant

I am also not able to get any logs. @b0mbays

maxakash commented 4 months ago

I solved this issue by creating a new user and using that user id.