home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.12k stars 2.81k forks source link

SSL is configured without an external URL error shown with no relevant page in Network settings #22224

Open karlbeecken opened 1 month ago

karlbeecken commented 1 month ago

Checklist

Describe the issue you are experiencing

Since the update to 2024.10, I get the following error:

Screenshot 2024-10-03 at 21-10-19 Settings – Home Assistant

The mentioned section in the Network Settings is not availaboe though:

Screenshot 2024-10-03 at 21-11-05 Settings – Home Assistant

Describe the behavior you expected

The relevant section in the Network Sections should show up or the error should not be raised.

Steps to reproduce the issue

  1. configure SSL for HA

What version of Home Assistant Core has the issue?

2024.10.0

What was the last working version of Home Assistant Core?

2024.9

In which browser are you experiencing the issue with?

Firefox 130.0.1

Which operating system are you using to run this browser?

macOS 15.0 (24A335)

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

gnmancini commented 1 month ago

If you enable advanced mode within your profile you will be able to see the Home Assistant URL. "In the bottom left, select your username to go to your User profile, and enable Advanced mode." Once you have advanced mode enabled, you can go to Settings > System > Network and you will see "Home Assistant URL" homeassistant-configuration

dubbfredda commented 1 month ago

I also have problem with this issue In my network configuration it looks like this image I don't understand what in my configuration.yaml that couses the problem.

My configuration.yaml look like this: `homeassistant:

Name of the location where Home Assistant is running

name: Freddas

Location required to calculate the time the sun rises and sets

latitude: !secret home_latitude longitude: !secret home_longitude

Impacts weather/sunrise data (altitude above sea level in meters)

elevation: 3

metric for Metric, imperial for Imperial

unit_system: metric

Land

country: SE

Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

time_zone: Europe/Stockholm

Customization file

customize: !include customize.yaml auth_providers:

Configure a default setup of Home Assistant (frontend, api, etc)

default_config: config:

Check for updates

updater:

Discover some devices automatically

discovery:

Allows you to issue voice commands from the frontend in enabled browsers

conversation:

Enables support for tracking state changes over time

history:

enable the recorder component (optional)

recorder:

View all events in a logbook

logbook:

Configure HTTP access

http: ssl_certificate: /ssl/fullchain.pem ssl_key: /ssl/privkey.pem

Frontend themes

frontend: themes: !include_dir_merge_named themes

Lovelace frontend

lovelace:

mode: yaml

mode: storage dashboards:

lovelace-overview:

#   mode: yaml
#   icon: mdi:home-assistant
#   show_in_sidebar: true
#   filename: lovelace-overview_view.yaml

lovelace-overview:
  mode: yaml
  title: Overview
  icon: mdi:home-assistant
  show_in_sidebar: true
  filename: lovelace-overview_view.yaml

# lovelace-switches:
#   mode: yaml
#   title: Switches
#   icon: mdi:dip-switch
#   show_in_sidebar: true
#   filename: lovelace-switches.yaml

# lovelace-sauna:
#   mode: yaml
#   title: Sauna
#   icon: mdi:dip-switch
#   show_in_sidebar: false
#   filename: lovelace-sauna_view.yaml

# lovelace-sauna:
#   mode: yaml
#   title: Sauna
#   icon: mdi:dip-switch
#   show_in_sidebar: true
#   filename: /config/lovelace_views/lovelace-sauna_view.yaml

Database

influxdb: host: 10.0.1.3

host: a0d7b954-influxdb

port: 8086 database: home_assistant username: !secret influxdb_username password: !secret influxdb_password max_retries: 3 default_measurement: state include: entities:

Enable the recorder component for HA database

recorder:

Exclude from HA database

exclude:

entities:

- sensor.outside_temp_db

- sensor.smhi_tcc_mean

- sensor.smhi_mcc_mean

- sensor.smhi_lcc_mean

- sensor.openweathermap_cloud_coverage

general exclude

entity_globs:

- sensor-*_db

Logger

logger: default: info logs:

RFXtrx comp

homeassistant.components.rfxtrx: debug
RFXtrx: debug
# unifi
aiounifi: debug
homeassistant.components.unifi: debug
homeassistant.components.device_tracker.unifi: debug
homeassistant.components.switch.unifi: debug
# Zigbee
pydeconz: debug
homeassistant.components.deconz: debug

Enables a map showing the location of tracked devices

map:

Track the sun

sun:

panel_iframe:

IDE menu

ide:

title: IDE

icon: mdi:code-braces

url: !secret base_url

Sensors

sensor:

Frontend indication for Sauna On/Off switch

command_line: binary_sensor: command: "cat /proc/sys/net/ipv4/ip_forward" value_template: "{{ is_state('switch.flush_2_relay_2', 'on') }}" name: "Sauna On/Off switch" device_class: heat

state_color: true

payload_on: "On"
payload_off: "Off"

binary_sensor:

- platform: template

sensors:

movement:

device_class:

friendly_name: "Sauna On/Off switch"

value_template: "{{ is_state('switch.flush_2_relay_2', 'on') }}"

Frontend switches

input_boolean: switch_athome: name: @ home icon: mdi:home-account switch_kitchen_win_light_en: name: Enable Kitchen window light icon: mdi:flash-auto switch_facade_light_en: name: Enable Facade light icon: mdi:flash-auto switch_hallway_win_light_en: name: Enable Hallway window light icon: mdi:flash-auto switch_stairs_win_light_en: name: Enable Stairs window light icon: mdi:flash-auto switch_dining_win_light_en: name: Enable Dining window light icon: mdi:flash-auto switch_dining_win_light_night_on: name: Enable Dining win light night on icon: mdi:flash-auto switch_livingroom_win_light1_en: name: Enable Livingroom window light1 (wall_1) icon: mdi:flash-auto switch_livingroom_win_light2_en: name: Enable Livingroom window light2 (wall_2) icon: mdi:flash-auto switch_alva_win_light_en: name: Enable Alva window light (wall_3) icon: mdi:flash-auto switch_tv_light_en: name: Enable TV light (wall_4) icon: mdi:flash-auto switch_meja_win_light_en: name: Enable Meja window light (wall_5) icon: mdi:flash-auto switch_alva_mirror_light_en: name: Enable Alva mirror light (wall_6) icon: mdi:flash-auto switch_alva_mirror_light_night_on: name: Enable Alva mirror light night on icon: mdi:flash-auto switch_meja_mirror_light_en: name: Enable Meja mirror light (wall_7) icon: mdi:flash-auto switch_wallplug8_en: name: Enable Wall plug 8 icon: mdi:flash-auto switch_wallplug9_en: name: Enable Wall plug 9 icon: mdi:flash-auto switch_wallplug10_en: name: Enable Wall plug 10 icon: mdi:flash-auto switch_wallplug11_en: name: Enable Wall plug 11 icon: mdi:flash-auto switch_wallplug_out1_en: name: Enable Wall plug out 1 icon: mdi:flash-auto

Sauna controlles

switch_sauna_on_off: name: Sauna On/Off icon: mdi:radiobox-marked switch_sauna_auto_en: name: Sauna auto enable icon: mdi:android-auto

input_number: slider_sauna_hour: name: Hour icon: mdi:av-timer initial: 12 min: 0 max: 24 step: 1 slider_sauna_minutes: name: Minutes icon: mdi:av-timer initial: 30 min: 0 max: 60 step: 1

Text to speech

tts:

Media Players

media_player:

- platform: squeezebox

host: 192.168.1.99

port: 9000

MQTT setup

mqtt: sensor:

Zigbee adapter

serial:

adapter: deconz

Roborock S7 integration

camera:

Send notifications

notify:

- platform: pushbullet

name: pushbullet

api_key: !secret pushbullet_api_key

Cloud

cloud:

automation: !include automations.yaml script: !include scripts.yaml switch: !include switch.yaml`

Could anybody please help me?