Completely fresh installation. I can connect to HTTP just fine. But as soon as I try to open hass.io on HTTPS I get the following error in my browsers:
Chrome - ERR_SSL_PROTOCOL_ERROR
Firerox - SSL_ERROR_RX_RECORD_TOO_LONG
My home-assistant.log is empty. Also when I try to visit the webpage on HTTPS home-assistant.log remains empty.
My configuration.yaml:
homeassistant: # Name of the location where Home Assistant is running name: Home # Location required to calculate the time the sun rises and sets latitude: ***** longitude: ***** # Impacts weather/sunrise data (altitude above sea level in meters) elevation: 0 # metric for Metric, imperial for Imperial unit_system: metric # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones time_zone: Europe/Amsterdam # Customization file customize: !include customize.yaml # Configure a default setup of Home Assistant (frontend, api, etc) default_config: # Show the introduction message on startup. introduction: # Uncomment this if you are using SSL/TLS, running in Docker container, etc. # http: # base_url: example.duckdns.org:8123 http: base_url: *****.duckdns.org:8123 ip_ban_enabled: True login_attempts_threshold: 5 # ssl_certificate: /ssl/fullchain.pem # ssl_key: /ssl/privkey.pem # Discover some devices automatically discovery: # Sensors sensor: # Weather prediction - platform: yr # Text to speech tts: - platform: google group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml
I’ve tried implementing DuckDNS and that fails miserably as well, as soon as uncomment the lines:
# ssl_certificate: /ssl/fullchain.pem # ssl_key: /ssl/privkey.pem
And restart Home Assistant server it’s dead with the following lines in home-assistant.log:
2019-04-24 16:46:39 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed Traceback (most recent call last): File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake File "/usr/local/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:1056) 2019-04-24 16:46:45 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed Traceback (most recent call last): File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake File "/usr/local/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:1056) 2019-04-24 16:46:50 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed Traceback (most recent call last): File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake File "/usr/local/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:1056) 2019-04-24 16:46:55 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed Traceback (most recent call last): File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake File "/usr/local/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:1056) 2019-04-24 16:47:00 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed Traceback (most recent call last): File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake File "/usr/local/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:1056)
I have to remove the lines from the config file and reboot to get it working again. DuckDNS generated the certificates and they look fine to me. Altough the private key is probably password encrypted because it’s invalid according to openssl.
Now also tried Let’s Encrypt plugin and removed DuckDNS. Exactly the same errors.
2019-04-24 16:46:39 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed Traceback (most recent call last): File "uvloop/sslproto.pyx", line 500, in uvloop.loop.SSLProtocol._on_handshake_complete File "uvloop/sslproto.pyx", line 484, in uvloop.loop.SSLProtocol._do_handshake File "/usr/local/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:1056)