-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cannot create a client socket with a PROTOCOL_TLS_SERVER context #49
Comments
I just did a quick search and this seems to be a Python 3.10 change (see this issue). Would you be able to downgrade to 3.8 in the meantime? I have no capacity to test on Python 3.10, as I don't have a testing TV anymore, but I'm happy to review a PR. The change would have to be done first on the underlying Python app and then here. |
Hello, I' running the same error on Python3.10.12. |
Having the same issue here. Downgraded to Python 3.8 but how getting
Any ideas much appreciated. Thanks. |
This is resolved by running the below command and is often the result of a Python downgrade
|
This is great, @ttaggorf ! Thank you for posting it. I would love to push forward the PR, but as I mentioned: I don't have an HiSenseTV anymore, so I would need somebody to test it. I left a comment in the PR but it was never answered. |
@samjones108 your issue got fixed in 2.0.1 if you still have the tv give it a try ;) |
/
Describe The Bug:
When running python3.10 hisensetv.py --authorize it errors out with cannot "ssl.SSLError: Cannot create a client socket with a PROTOCOL_TLS_SERVER context (_ssl.c:801)" so I am unable to create a binding with the TV. On MQTT explorer I am able to auth with the certs that are in the /ssl/ folder in the root of the drive that is passed to the python script. This folder has read/write/execute (777) access to all users. This error happens on both --authorize and --getstatus.
To Reproduce:
Expected behavior:
Once running the script I should be prompted to enter a pairing key in the terminal that is shown on tv to complete the pairing.
Logs:
Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.
Show your Homebridge config.json here, remove any sensitive information.
Screenshots:
[]
(https://github-production-user-asset-6210df.s3.amazonaws.com/39278241/255351605-f2da80fd-3f50-4f60-b20a-0a986034d389.png)
Environment:
The text was updated successfully, but these errors were encountered: