Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error occured #39

Open
huniak opened this issue Jan 8, 2023 · 2 comments
Open

error occured #39

huniak opened this issue Jan 8, 2023 · 2 comments

Comments

@huniak
Copy link

huniak commented Jan 8, 2023

Hello, please help me , what I doing bad? I have homeassistant in hyper-V on my windows laptop

root@homebridge-vm:/var/lib/homebridge $ homebridge-samsung-ac-get-token 192.168.0.228
IP: 192.168.0.228
Error occured: 140480060192704:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1994:

@coniglioemanuele
Copy link

coniglioemanuele commented Feb 6, 2023

i got same error on raspian buster after whole upgrading last week end.
error is due to openssl that doesn't support anymore tls1.
to solve i edited manually the plugin in lib/air-conditioner-api.js between line 45-46 add: secureProtocol: 'TLSv1_method',
to get also ac-get-token work i add also in bin/ac-get-token.js

this force connection by tls1, is a workaround, peob best fix is by editing code and manage this option as accessories parameter

@SebastianOsinski
Copy link
Owner

Newest version (3.0.0) which was released today should solve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants