You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since the update to v0.25 I get the following error:
This error originated from a custom integration.
Logger: custom_components.foxess.sensor
Source: helpers/httpx_client.py:66
Integration: foxess (documentation, issues)
First occurred: 9:14:35 AM (1 occurrences)
Last logged: 9:14:35 AM
Unexpected error fetching FoxESS data: Could not find a suitable TLS CA certificate bundle, invalid path: user=XXX&password=XXX
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 225, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 181, in _async_update_data
return await self.update_method()
File "/config/custom_components/foxess/sensor.py", line 125, in async_update_data
token = await authAndgetToken(hass, username, hashedPassword)
File "/config/custom_components/foxess/sensor.py", line 245, in authAndgetToken
await restAuth.async_update()
File "/usr/src/homeassistant/homeassistant/components/rest/data.py", line 54, in async_update
self._async_client = get_async_client(
File "/usr/src/homeassistant/homeassistant/helpers/httpx_client.py", line 36, in get_async_client
client = hass.data[key] = create_async_httpx_client(hass, verify_ssl)
File "/usr/src/homeassistant/homeassistant/helpers/httpx_client.py", line 66, in create_async_httpx_client
client = HassHttpXAsyncClient(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1400, in init
self._transport = self._init_transport(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1448, in _init_transport
return AsyncHTTPTransport(
File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 261, in init
ssl_context = create_ssl_context(verify=verify, cert=cert, trust_env=trust_env)
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 51, in create_ssl_context
return SSLConfig(
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 75, in init
self.ssl_context = self.load_ssl_context()
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 87, in load_ssl_context
return self.load_ssl_context_verify()
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 119, in load_ssl_context_verify
raise IOError(
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: user=XXX&password=XXX
Home Assistant 2023.1.5
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230110.0 - latest
The text was updated successfully, but these errors were encountered:
Hi Guys,
since the update to v0.25 I get the following error:
This error originated from a custom integration.
Logger: custom_components.foxess.sensor
Source: helpers/httpx_client.py:66
Integration: foxess (documentation, issues)
First occurred: 9:14:35 AM (1 occurrences)
Last logged: 9:14:35 AM
Unexpected error fetching FoxESS data: Could not find a suitable TLS CA certificate bundle, invalid path: user=XXX&password=XXX
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 225, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 181, in _async_update_data
return await self.update_method()
File "/config/custom_components/foxess/sensor.py", line 125, in async_update_data
token = await authAndgetToken(hass, username, hashedPassword)
File "/config/custom_components/foxess/sensor.py", line 245, in authAndgetToken
await restAuth.async_update()
File "/usr/src/homeassistant/homeassistant/components/rest/data.py", line 54, in async_update
self._async_client = get_async_client(
File "/usr/src/homeassistant/homeassistant/helpers/httpx_client.py", line 36, in get_async_client
client = hass.data[key] = create_async_httpx_client(hass, verify_ssl)
File "/usr/src/homeassistant/homeassistant/helpers/httpx_client.py", line 66, in create_async_httpx_client
client = HassHttpXAsyncClient(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1400, in init
self._transport = self._init_transport(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1448, in _init_transport
return AsyncHTTPTransport(
File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 261, in init
ssl_context = create_ssl_context(verify=verify, cert=cert, trust_env=trust_env)
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 51, in create_ssl_context
return SSLConfig(
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 75, in init
self.ssl_context = self.load_ssl_context()
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 87, in load_ssl_context
return self.load_ssl_context_verify()
File "/usr/local/lib/python3.10/site-packages/httpx/_config.py", line 119, in load_ssl_context_verify
raise IOError(
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: user=XXX&password=XXX
Home Assistant 2023.1.5
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230110.0 - latest
The text was updated successfully, but these errors were encountered: