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
pyvlx ssl handshake error 2021.6.0 & 2021.6.1 #68
Comments
same for core-2021.6.2 |
same for core-2021.6.3 `Logger: homeassistant.setup Error during setup of component velux ` |
@Julius2342 this still remains an issue for me everytime I upgrade/restart/... |
same on 2021.6.5 Logger: homeassistant.setup Error during setup of component velux |
@vaandefanel : for me it mostly kicks in after a 'couple' restart cores... but it's far from ideal because 'couple' is undefined and sometimes it takes like 20 restarts before it finally works again. |
Hi! Swooping in here randomly: Maybe try upgrading hass, unplug KLF a few seconds, start KLF, start HA and see if it connects. |
Hi, Each time I did the upgrade I did restart the KLF at a given point... |
I have no issues using: I would first try updating pyvlx and if that does not fix it try the PR |
Hi,
My config: For what I understand with stock we're still one version behind pyvlx latest. |
I've just upgraded HA to the latest (2022.7.0) which has finally bumped pyvlx to the newest version (pyvlx 0.2.20 from 10 Jan 2022) |
The problem
When I perform the home-assistant upgrade to 2021.6.0 & 2021.6.1, the velux integration no longer works.
Logging shows it terminates with the famous SSL handshake message.
Rebooting the KLF, which mostly solves issues after HA upgrade/reboot/..., doesn't work. Once the KLF reboot is initiated I also reloaded HA to restart the integration loading.
Downgrading to core-2021.5.5 solves the issue, the integration loads without errors.
What is version of Home Assistant Core has the issue?
core-2021.6.0 & core-2021.6.1
What was the last working version of Home Assistant Core?
core-2021.5.5
Anything in the logs that might be useful for us?
Version supervisor-2021.05.4
Operating System Home Assistant OS 5.13
Deployment production
Logger: homeassistant.setup
Source: components/velux/init.py:76
First occurred: 8:51:57 (1 occurrences)
Last logged: 8:51:57
Error during setup of component velux
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 248, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/velux/init.py", line 31, in async_setup
await hass.data[DATA_VELUX].async_start()
File "/usr/src/homeassistant/homeassistant/components/velux/init.py", line 76, in async_start
await self.pyvlx.load_scenes()
File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 80, in load_scenes
await self.scenes.load()
File "/usr/local/lib/python3.8/site-packages/pyvlx/scenes.py", line 51, in load
await get_scene_list.do_api_call()
File "/usr/local/lib/python3.8/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/usr/local/lib/python3.8/site-packages/pyvlx/api/api_event.py", line 33, in send_frame
await self.pyvlx.send_frame(self.request_frame())
File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/usr/local/lib/python3.8/site-packages/pyvlx/connection.py", line 87, in connect
self.transport, _ = await self.loop.create_connection(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1050, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1080, in _create_connection_transport
await waiter
ConnectionAbortedError: SSL handshake is taking longer than 60.0 seconds: aborting the connection
The text was updated successfully, but these errors were encountered: