Hi,
I have a problem with the “joaoapps join” integration when home assistant starts after a power failure on my raspberry.
The following integrations and platforms could not be set up:
- [joaoapps_join](https://www.home-assistant.io/integrations/joaoapps_join) ([Show logs](/config/logs?filter=joaoapps_join))
- joaoapps_join.notify ([Show logs](/config/logs?filter=joaoapps_join.notify))
Please check your config and [logs](/config/logs).
when home assistant reboots normally, the problem does not occur
thanks in advance
My config in configuration .yaml
joaoapps_join:
- device_id: !secret deviceidjoin
api_key: !secret apikeyjoin
notify:
- platform: joaoapps_join
name: join_Tel_Lionel
api_key: !secret apikeyjoin
device_id: !secret deviceidjoin
Error in log
Logger: homeassistant.setup
Source: components/joaoapps_join/__init__.py:126
First occurred: 09:27:49 (1 occurrences)
Last logged: 09:27:49
Error during setup of component joaoapps_join
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9bda0eb0>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='joinjoaomgcd.appspot.com', port=443): Max retries exceeded with url: /_ah/api/registration/v1/listDevices?apikey=******* (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bda0eb0>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 256, in _async_setup_component
result = await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/joaoapps_join/__init__.py", line 126, in setup
if api_key and not get_devices(api_key):
File "/usr/local/lib/python3.10/site-packages/pyjoin/__init__.py", line 76, in get_devices
response = requests.get(LIST_URL + api_key).json()
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='joinjoaomgcd.appspot.com', port=443): Max retries exceeded with url: /_ah/api/registration/v1/listDevices?apikey=****** (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bda0eb0>: Failed to establish a new connection: [Errno -3] Try again'))