Hassbian base_url issue with Letenscrypt

I installed the latest Hassbian and configured SSL to configuration.yaml

http:
  # Secrets are defined in the file secrets.yaml
  # api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  # base_url: example.duckdns.org:8123
   base_url: example.duckdns.org
   ssl_certificate: /etc/letsencrypt/live/example.duckdns.org/fullchain.pem
   ssl_key: /etc/letsencrypt/live/example.duckdns.org/privkey.pem

However, Home Assistant can’t start.

Jan 31 19:21:28 hassbian hass[519]: Please check your config., title=Invalid config @ 2018-01-31T19:21:25.555352+07:00>>#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[32m2018-01-31 19:21:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1972165232-12>#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[32m2018-01-31 19:21:28 INFO (MainThread) [homeassistant.setup] Setting up discovery#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[32m2018-01-31 19:21:28 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[32m2018-01-31 19:21:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery>#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[31m2018-01-31 19:21:28 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of cloud. Setup failed for dependencies: http#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[31m2018-01-31 19:21:28 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not setup all dependencies.#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[32m2018-01-31 19:21:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service=create, service_data=message=The following components and platforms could not be set up: Jan 31 19:21:28 hassbian hass[519]: - [history](https://home-assistant.io/components/history/) Jan 31 19:21:28 hassbian hass[519]: - [logbook](https://home-assistant.io/components/logbook/) Jan 31 19:21:28 hassbian hass[519]: - [tts](https://home-assistant.io/components/tts/) Jan 31 19:21:28 hassbian hass[519]: - [config](https://home-assistant.io/components/config/) Jan 31 19:21:28 hassbian hass[519]: - [system-log](https://home-assistant.io/components/system_log/) Jan 31 19:21:28 hassbian hass[519]: - [http](https://home-assistant.io/components/http/) Jan 31 19:21:28 hassbian hass[519]: - [websocket-api](https://home-assistant.io/components/websocket_api/) Jan 31 19:21:28 hassbian hass[519]: - [conversation](https://home-assistant.io/components/conversation/) Jan 31 19:21:28 hassbian hass[519]: - [api](https://home-assistant.io/components/api/) Jan 31 19:21:28 hassbian hass[519]: - [cloud](https://home-assistant.io/components/cloud/) Jan 31 19:21:28 hassbian hass[519]: - [frontend](https://home-assistant.io/components/frontend/) Jan 31 19:21:28 hassbian hass[519]: Please check your config., notification_id=invalid_config, title=Invalid config, service_call_id=1972165232-13, domain=persistent_notification>#033[0m Jan 31 19:21:28 hassbian hass[519]: #033[32m2018-01-31 19:21:28 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, new_state=<state persistent_notification.invalid_config=notifying; message=The following components and platforms could not be set up: Jan 31 19:21:28 hassbian hass[519]: - [history](https://home-assistant.io/components/history/) Jan 31 19:21:28 hassbian hass[519]: - [logbook](https://home-assistant.io/components/logbook/) Jan 31 19:21:28 hassbian hass[519]: - [tts](https://home-assistant.io/components/tts/) Jan 31 19:21:28 hassbian hass[519]: - [config](https://home-assistant.io/components/config/) Jan 31 19:21:28 hassbian hass[519]: - [system-log](https://home-assistant.io/components/system_log/) Jan 31 19:21:28 hassbian hass[519]: - [http](https://home-assistant.io/components/http/) Jan 31 19:21:28 hassbian hass[519]: - [websocket-api](https://home-assistant.io/components/websocket_api/) Jan 31 19:21:28 hassbian hass[519]: - [conversation](https://home-assistant.io/components/conversation/) Jan 31 19:21:28 hassbian hass[519]: - [api](https://home-assistant.io/components/api/) Jan 31 19:21:28 hassbian hass[519]: - [cloud](https://home-assistant.io/components/cloud/) Jan 31 19:21:28 hassbian hass[519]: - [frontend](https://home-assistant.io/components/frontend/) Jan 31 19:21:28 hassbian hass[519]: Please check your config., title=Invalid config @ 2018-01-31T19:21:25.555352+07:00>, old_state=<state persistent_notification.invalid_config=notifying; message=The following components and platforms could not be set up: Jan 31 19:21:28 hassbian hass[519]: - [history](https://home-assistant.io/components/history/) Jan 31 19:21:28 hassbian hass[519]: - [logbook](https://home-assistant.io/components/logbook/) Jan 31 19:21:28 hassbian hass[519]: - [tts](https://home-assistant.io/components/tts/) Jan 31 19:21:28 hassbian hass[519]: - [config](https://home-assistant.io/components/config/) Jan 31 19:21:28 hassbian hass[519]: - [system-log](https://home-assistant.io/components/system_log/) Jan 31 19:21:28 hassbian hass[519]: - [http](https://home-assistant.io/components/http/) Jan 31 19:21:28 hassbian hass[519]: - [websocket-api](https://home-assistant.io/components/websocket_api/) Jan 31 19:21:28 hassbian hass[519]: - [conversation](https://home-assistant.io/components/conversation/) Jan 31 19:21:28 hassbian hass[519]: - [api](https://home-assistant.io/components/api/) Jan 31 19:21:28 hassbian hass[519]: - [frontend](https://home-assistant.io/components/frontend/)

If I disabled the base_url, it worked.

so you just remove the # base_url: example.duckdns.org:8123 line?