Hi! I has into /config/configuration.yaml:
Summary
repetier:
- host: IP1
name: name1
api_key: key1
port: 3344 - host: ip2
name: name2
api_key: key2
port: 3344 - host: ip3
name: name3
api_key: key3
port: 3344 - host: ip4
name: name4
api_key: key4
port: 3344
If i check the config HA not has errors but after reboot i can see warnings:
The following integrations and platforms could not be set up:
Please check your config.
About my system:
Summary
arch | x86_64 |
---|---|
chassis | desktop |
dev | false |
docker | true |
docker_version | 19.03.12 |
hassio | true |
host_os | Debian GNU/Linux 10 (buster) |
installation_type | Home Assistant Supervised |
os_name | Linux |
os_version | 4.19.0-9-amd64 |
python_version | 3.7.7 |
supervisor | 228 |
timezone | Europe/Moscow |
version | 0.112.3 |
virtualenv | false |
Lovelace
dashboards | 1 |
---|---|
mode | storage |
resources | 0 |
views | 2 |
In logs the server i can see:
Summary
Logger: homeassistant.setup
Source: components/repetier/init.py:174
First occurred: 21:32:53 (1 occurrences)
Last logged: 21:32:53
Error during setup of component repetier
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File “/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py”, line 84, in create_connection
raise err
File “/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py”, line 74, in create_connection
sock.connect(sa)
OSError: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
chunked=chunked,
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File “/usr/local/lib/python3.7/http/client.py”, line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/usr/local/lib/python3.7/http/client.py”, line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.7/http/client.py”, line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.7/http/client.py”, line 1026, in _send_output
self.send(msg)
File “/usr/local/lib/python3.7/http/client.py”, line 966, in send
self.connect()
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 187, in connect
conn = self._new_conn()
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 172, in _new_conn
self, “Failed to establish a new connection: %s” % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f19058b9b50>: Failed to establish a new connection: [Errno 113] Host is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File “/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘IP’, port=3344): Max retries exceeded with url: /printer/list/?apikey=key (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f19058b9b50>: Failed to establish a new connection: [Errno 113] Host is unreachable’))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 193, in _async_setup_component
result = await asyncio.wait_for(task, SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 442, in wait_for
return fut.result()
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/repetier/init.py”, line 174, in setup
client = pyrepetier.Repetier(url=url, port=port, apikey=api_key)
File “/usr/local/lib/python3.7/site-packages/pyrepetier/init.py”, line 24, in init
response = requests.get(reqUrl)
File “/usr/local/lib/python3.7/site-packages/requests/api.py”, line 76, in get
return request(‘get’, url, params=params, **kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/api.py”, line 61, in request
return session.request(method=method, url=url, **kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 530, in request
resp = self.send(prep, **send_kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 643, in send
r = adapter.send(request, **kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘IP’, port=3344): Max retries exceeded with url: /printer/list/?apikey=key (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f19058b9b50>: Failed to establish a new connection: [Errno 113] Host is unreachable’))