2020-10-09 16:38:35 ERROR (MainThread) [homeassistant.components.binary_sensor] proxmoxve: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 346, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 471, in async_device_update
await self.hass.async_add_executor_job(self.update) # type: ignore
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/proxmoxve/binary_sensor.py", line 83, in update
item = self.poll_item()
File "/usr/src/homeassistant/homeassistant/components/proxmoxve/binary_sensor.py", line 94, in poll_item
self._proxmox_client.get_api_client()
File "/usr/local/lib/python3.8/site-packages/proxmoxer/core.py", line 105, in get
return self(args)._request("GET", params=params)
File "/usr/local/lib/python3.8/site-packages/proxmoxer/core.py", line 90, in _request
raise ResourceException("{0} {1}: {2} - {3}".format(
proxmoxer.core.ResourceException: 596 Errors during TLS negotiation, request sending and header processing: tls_process_server_certificate: certificate verify failed - b''
What I have tried:
Initial config on proxmox used a self-signed certificate but with ‘verify_ssl: false’ it still failed with same error
Switching proxmox certificate to official LE certificate still gives same error
Accessing proxmox with a browser gave error on self-signed (as expected), but it works without any notifications with LE certificate
proxmoxve: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 346, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 471, in async_device_update
await self.hass.async_add_executor_job(self.update) # type: ignore
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/proxmoxve/binary_sensor.py", line 83, in update
item = self.poll_item()
File "/usr/src/homeassistant/homeassistant/components/proxmoxve/binary_sensor.py", line 94, in poll_item
self._proxmox_client.get_api_client()
File "/usr/local/lib/python3.8/site-packages/proxmoxer/core.py", line 105, in get
return self(args)._request("GET", params=params)
File "/usr/local/lib/python3.8/site-packages/proxmoxer/core.py", line 90, in _request
raise ResourceException("{0} {1}: {2} - {3}".format(
proxmoxer.core.ResourceException: 596 Errors during TLS negotiation, request sending and header processing: tls_process_server_certificate: certificate verify failed - b''
The question was resolved - the node name should exactly match the name in the configuration, and due to an incomprehensible answer in the HA logs, it was not clear what the integration needed.