Open svheel opened 5 years ago
I have same issue, are there any workarounds ?
I have same issue, are there any workarounds ?
I'm afraid I don't have a workaround (I'm not a Python developer) and the component has been broken for some time now for me. That's why I was hoping maybe @marconfus could help.
Is changing the SSL config a solution? Worked for me in Raspbian, did not try it in Docker.
Edit the file /etc/ssl/openssl.cnf and change the following keys to these values: MinProtocol = None CipherString = DEFAULT
From: https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#openssl-defaults
It also worked for me. Thanks @squindahr
Thanks @squindahr this also works for the Docker image, although you have to override the openssl.cnf file inside the image with one of your own and change the MinProtocol and CipherString settings as you suggested.
So for now there is a workaround to get it to work with the official HA docker image, but it would be great if somehow the component is able to override these openssl.cnf settings (if that's at all possible).
Apperantly my connection issues were also caused by those SSL errors, and after some digging I came to the following conclusions:
I've upgraded my Docker image to the 0.98 version, and the SSL errors are gone.
I tried the new HA Docker image for version 0.98 and you're right @trizz the component works fine now. I still wonder if there's a fix possible in the component to make sure it keeps working regardless of the settings in openssl.cnf.
Since upgrading to HA 0.97 I get the following error from the Nefit component:
I'm using the latest Docker image (HA 0.97.2 currently). I'm not sure what's going on here, but have a feeling it is related to the Docker image. Maybe the version of some library used in the Docker image? In the release-notes of HA 0.97 I see that they've upgraded the Docker image to use Debian Buster.