Closed dragonsoul84 closed 1 year ago
Hey there @gwww, @bdraco, mind taking a look at this issue as it has been labeled with an integration (elkm1
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
elkm1 documentation elkm1 source (message by IssueLinks)
I'm facing the same error message with a totally different (custom) integration. I suspect there has been a library update for the SSL libraries used in HA which has caused this. In any case, the actual root cause is the HTTPS server is not that secure.
I suspect this is probably the case. I reloaded 2023.4.6 and am still having the same issue, so I guess the ssl libraries weren't under the same snapshot that was created during the update. I did find a minor firmware update for my ethernet device on the M1XEP and am trying it now.
Looks like they decided not to back port the option in cpython
The raw value is 0x4
So
ssl_context.options |= 0x4
cpython 3.12.0 alpha 4 and later have the new flag
Since it's due to be released in a few months and ha won't likely upgrade for a year or so the flag to turn it off likely won't be available for another year
I think we are stuck with the horrible hack of using the raw value
Its the new openssl version that broke this AFAICT
Can confirm the breakage is openssl related after upgrading my production install's openssl
breakage is caused by openssl3
downgrading openssl fixes the issue
workaround is to connect without secure port.. thats not so great though
https://github.com/gwww/elkm1/pull/69 will fix it by manually flipping the legacy flag
The problem
ELK M1 integration was working perfect on the newest release before 2023.5.0. Immediately after updating, entities associated to ELK M1 not responding and integration says it can't connect to the M1. Error in log is listed below.
What version of Home Assistant Core has the issue?
2023.5.0
What was the last working version of Home Assistant Core?
2023.4.6
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ELK-M1 Control
Link to integration documentation on our website
https://www.home-assistant.io/integrations/elkm1/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response