Running Hassio and Duckdns. I’m getting these errors - any ideas?:
Mon Nov 12 2018 11:11:22 GMT+0000 (Greenwich Mean Time)
Error doing job: SSL error errno:1 reason: WRONG_VERSION_NUMBER
Traceback (most recent call last):
File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
Error doing job: SSL handshake failed
Traceback (most recent call last):
File "uvloop/handles/stream.pyx", line 609, in uvloop.loop.UVStream._on_eof
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
@ThePapaMaan@AcidSleeper I think i have found out the problem.
Fist deactivate the Multi-factor Authentication Modules on the GUI. Then setup everything for SSL. And then activate again the Multi-factor Authentication Modules. Then it works like a charm.
My suggestion is that the generated QR Code has the http: link inside and not the https:.
Does it work for you guys?
All my SSL errors has stop after installing the addon NGINX. I believe these errors came from local machines accessing Hassio over a browser using HTTPS. Since there is no certificate on LAN I’ve always got errors on Chrome.
Please give it a try! Just install NGINX, use this settings:
After NGINX installation I’ve entered your config where I’ve changed duckdns address only.
When I pressed save, this error message popped up above the setting window:
not a valid value for dictionary value @ data['options']. Got {'domain': 'myweb.duckdns.org', 'certfile': 'fullchain.pem', 'keyfile': 'privkey.pem', 'hsts': 'max-age=31536000; includeSubDomains', 'customize': {'active': False, 'default': 'nginx_proxy_default*.conf', 'servers': 'nginx_proxy/*.conf'}}
Hello. That is odd. Have checked your syntax? No errors? These lines does not brake the GUI, only HTTP SSL certificates. Can you access it over LAN? Is your NGINX server running?