Home Assistant was in safe mode and now will not show in Chrome

I had been trying to add SSL to HA and suddenly it was in safe mode. It was previously working well. The error found was about the bold line of code in configuration.yaml below.


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

default_config:

# Text to speech

tts:

- platform: google_translate

group: !include groups.yaml

automation: !include automations.yaml

script: !include scripts.yaml

scene: !include scenes.yaml

homeassistant:

auth_providers:

- type: homeassistant

http:

base_url: klrock.duckdns.org

**ssl_certificate: /ssl.fullchain.pem**

ssl_key: /ssl/privkey.pem

I corrected the code from another source and deleted cookies then configuration was tested as valid.

However, upon restart, the HA front end did not appear and the following was shown in response to

http://homeassistant.local:8123/

“This page isn’t working

homeassistant.local didn’t send any data.

ERR_EMPTY_RESPONSE”

Virtualbox indicates that HA3 is running and shows the following:

Welcome to the Home assistant command line.

Waiting for Supervisor to startup…

System information

IPv4 addresses for enp033: 192.168.1.4/24

IPv6 addresses for enp033: feBO::d535:a811:3ca0:26?f/64

OS Version: Home assistant OS 6.2

Home assistant Core: 2021.8.8

Home assistant URL: http://homeassistant.local:8123

Observer URL: http://homeassistant.local:4357

Using the observer url in chrome yields:

Home Assistant observer
Supervisor:Connected

HA3 and Virtuabox have both been stopped and restarted.

The PC has been rebooted. Cookies and cache have been cleared.

I have not found any docs or discussions covering this issue. Maybe I did not properly word my issue.

I have no access to logs to use for problem identification.

Currently I have no idea what the problem is or how to recover from it.

Waiting for guidance.
I apologize if this is not correctly formatted. I used the </> symbol, but am not sure it worked correctly
Preformatted text

I guess it’s a typo in the post, but it should be

ssl_certificate: /ssl/fullchain.pem

Try https://homeassistant.local:8123/

1 Like

Amazing! It works. I had no idea about this. I did get security warnings however. What should I do to avoid that?

The warning is probably because the SSL certificate was issued for your duckdns domain name and you are accessing homeassistant.local, thus the domain name does not match. Try connecting to https://your_domain.duckdns.org:8123 instead.