Newbie trying to get everything setup (Stuck on DuckDNS)

Hello HA Community,

I am brand new to home automation and have been head under water learning the last week on how to set everything up. I finally got the server installed and hass.io installed today. I am trying to setup some webhook integrations, but I think I need the DuckDNS in order for this to work.

I signed up for an account, went into my router settings and forwarded the port (I don’t know if I am doing this part right, but below is my config).

Protocol: TCP
External Port Range : 443
Internal Port Range: 8123
Internal IP Address: Ubuntu Server for HA (which works if I use this IP directly)

I installed DuckDNS and inserted the following:

{
“lets_encrypt”: {
“accept_terms”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
},
“token”: “831b3c79-3679-4ae0-b723-39744daXXXX”,
“domains”: [
XXXX.duckdns.org
],
“seconds”: 300
}

My YAML Config //

Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
api_password: PW
base_url: http://xxxx.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

When I go to my base_url. I get a popup asking for user/password (and that the site is not secure), but no credentials work. I use the ones I know work for hass.io and they don’t work (and tried my server password, and several others.).

When I check the log for DuckDNS all I get is this:

Fri Jun 7 03:44:28 UTC 2019: KO
Fri Jun 7 03:49:28 UTC 2019: KO
Fri Jun 7 03:54:29 UTC 2019: KO

Based on my research, I should be getting messages about the program starting, correct? That never happens (but it’s odd I get the user/pass popup when going to my URL). I am not sure what I am doing wrong, and I’ve Googled the heck out of this and just at a standstill. I’ve tried restarting DuckDNS as well, and that doesn’t seem to do anything.I don’t have to do anything with the IP Address I get when I setup DuckDNS next to the domain it gives me, do I?

Any advice and guidance would be greatly appreciated!

Try:

base_url: https://xxxx.duckdns.org

No change - if I actually go to the https, just an invalid page, and if I go to http:// , I get the popup for user/pass, but by login to HA does not work.

I tried going to the http://xxxx.duckdns.org from outside my network, and it just holds then shows the IP address and does nothing. So I am only getting the prompt from within my network (not sure if that is normal).

More Info: When I do a “Check Config” I get the following :

Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/ssl/fullchain.pem’
not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/ssl/privkey.pem’. (See /config/configuration.yaml, line 6). Please check the docs at https://home-assistant.io/components/http/

More Info from when I Check Config:

Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/ssl/fullchain.pem’
not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/ssl/privkey.pem’. (See /config/configuration.yaml, line 6). Please check the docs at https://home-assistant.io/components/http/

Also, I cannot ping my http://xxxx.duckdns.org site.

From what I’ve gleemed from the docs you need to make sure that the privkey and fullchain pems are readable. However I’m running into the same thing and have made sure that the files are readable, getting similar error messages as you are. I can not for the life of me figure out where the issue is.

api_password must be under:
auth_providers:

http have only:
server_port: 8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: True
login_attempts_threshold: 5