Hello,
Hello dear members
since today i have problems connecting to the tankerkoenig api.
I haven’t changed anything in my setup, it has been running for months without a problem, but since today I have been receiving error messages.
Maybe someone has an idea?
would be very grateful
2021-09-02 18:23:33 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Compal Broadband Networks, Inc CH7465LG' for upnp integration not ready yet: None; Retrying in background
2021-09-02 18:23:52 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: tankerkoenig
2021-09-02 18:24:01 ERROR (MainThread) [homeassistant.setup] Error during setup of component tankerkoenig
Traceback (most recent call last):
File "/usr/local/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/lib/python3.8/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1007, in _send_output
self.send(msg)
File "/usr/local/lib/python3.8/http/client.py", line 947, in send
self.connect()
File "/usr/local/lib/python3.8/http/client.py", line 1414, in connect
super().connect()
File "/usr/local/lib/python3.8/http/client.py", line 918, in connect
self.sock = self._create_connection(
File "/usr/local/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/usr/local/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out
During handling of the above exception, another exception occurred:
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/tankerkoenig/__init__.py", line 80, in async_setup
setup_ok = await hass.async_add_executor_job(
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/tankerkoenig/__init__.py", line 121, in setup
data = pytankerkoenig.getNearbyStations(
File "/usr/local/lib/python3.8/site-packages/pytankerkoenig/__init__.py", line 22, in getNearbyStations
return retrieveData(stationFullurl)
File "/usr/local/lib/python3.8/site-packages/pytankerkoenig/__init__.py", line 36, in retrieveData
response = request.urlopen(url)
File "/usr/local/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/local/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/local/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/lib/python3.8/urllib/request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/local/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Operation timed out>