Problem getting google assistant to work

Hello,

I’m pretty new to hass.io and yesterday I tried to set it up on my rpi3 and get it working with google assistant.
When I reach the point where I have to add my test app it doesn’t seem to work. The browser opens but I get an error stating:

“This site can’t provide a secure connection. ERR_SSL_PROTOCOL_ERROR”.

I added the duckdns add-on and created my domain so I don’t really know what the problem is except for the fact that I can’t seem to be able to access my domain with https while http works fine.

I also don’t see any errors in the duckdns add-on log or in the hass.io log. This is my config.yaml file:

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: "https://xxxxxxx.duckdns.org:8123"
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# Home Assistant Integration
google_assistant:
project_id: xxxxxxxx
service_account: !include /config/google_service_account.json
report_state: true
exposed_domains:
- switch
- light

Your base_url is commented out

Fixed that, but it’s still not working

You need to have something like this in configuration.yaml :

http:
  base_url: https://mydomain.duckdns.org
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  ip_ban_enabled: true
  login_attempts_threshold: 3
  

Then you forward port 8123 in your router to port 8123 on the ip of your HA.

Then when configuring google assistant, in the google console you point to

https://mydomain.duckdns.org:8123

I have already forwarded the port in my router and double checked the google console configuration.
I also tried adding those lines to my config file, but I still can’t get it to work with https

My setup is a little different, but seems to work OK. It was a long time ago that I set it up.
Hope it helps.

***configuration.yaml

Uncomment this if you are using SSL/TLS, running in Docker container, etc.

http:
base_url: https://myname.duckdns.org:8123

google_assistant:
project_id: “xxxx”
service_account: !include home-assistant-yyyy.json
report_state: true
exposed_domains:
- camera
- group
- input_boolean
- scene
- script
- switch
- light
- cover
- media_player
- climate

***Duck DNS add-on
lets_encrypt:
accept_terms: true
certfile: fullchain.pem
keyfile: privkey.pem
token: my-token
domains:

*NGINX add-on
domain: myname.duckdns.org
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
active: false
default: nginx_proxy_default
.conf
servers: nginx_proxy/
.conf

***Router:
name external internal hassio device
Hassio_SSL_eth0 443 443 192.xxx.x.xxx