Since update to 2022.6.7 I have gotten this api.github.com rate limit error in my log, which seams to prevent HACS and “system health” from working properly. I am getting this message “github web unreachable” message and HACS don’t play ball as it doesn’t allow me to remove or upgrades any add-on…
I tried to reinstall HACS using the script, but then I get the following error “wget bad address github.com”
This is the first time HA give me such error, so I am a somewhat lost in how to resolve it. So help please!
Logger: homeassistant
Source: custom_components/hacs/system_health.py:22
Integration: HACS ([documentation](https://hacs.xyz/docs/configuration/start), [issues](https://github.com/hacs/integration/issues))
First occurred: 13:40:56 (2 occurrences)
Last logged: 13:48:24
Error doing job: Task exception was never retrieved
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiogithubapi/client.py", line 103, in async_call_api result = await self._session.request(**request_arguments) File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request conn = await self._connector.connect( File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect proto = await self._create_connection(req, traces, timeout) File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1154, in _create_direct_connection hosts = await asyncio.shield(host_resolved) asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/system_health/__init__.py", line 103, in handle_info await asyncio.gather( File "/usr/src/homeassistant/homeassistant/components/system_health/__init__.py", line 68, in get_integration_info data = await registration.info_callback(hass) File "/config/custom_components/hacs/system_health.py", line 22, in system_health_info response = await hacs.githubapi.rate_limit() File "/usr/local/lib/python3.9/site-packages/aiogithubapi/github.py", line 210, in rate_limit response = await self._client.async_call_api(endpoint="/rate_limit", **kwargs) File "/usr/local/lib/python3.9/site-packages/aiogithubapi/client.py", line 105, in async_call_api raise GitHubConnectionException( aiogithubapi.exceptions.GitHubConnectionException: Request exception for 'https://api.github.com/rate_limit' with -
2022-07-25 13:39:55 ERROR (MainThread) [custom_components.hacs] Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [Try again]
Traceback (most recent call last):
File "/config/custom_components/hacs/base.py", line 450, in async_can_update
response = await self.async_github_api_method(self.githubapi.rate_limit)
File "/config/custom_components/hacs/base.py", line 504, in async_github_api_method
raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [Try again]```
![image|344x500](upload://au9i1eRkY7Jmf9G5eDpID6jF6JM.png)