home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.42k stars 30.66k forks source link

repeiter-server integration #66413

Closed userosos closed 2 years ago

userosos commented 2 years ago

The problem

repeiter-server integration not work. The integration not work - Object sensor.ulti_bed_0 (and other) unavailable

What version of Home Assistant Core has the issue?

core-2022.2.6

What was the last working version of Home Assistant Core?

core-2022.2.6

What type of installation are you running?

Home Assistant Container

Integration causing the issue

repetier-server

Link to integration documentation on our website

https://www.home-assistant.io/integrations/repetier

Diagnostics information

Logger: homeassistant.setup Source: components/repetier/init.py:231 First occurred: 12 февраля 2022 г., 23:43:43 (1 occurrences) Last logged: 12 февраля 2022 г., 23:43:43

Error during setup of component repetier Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, 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/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/local/lib/python3.9/http/client.py", line 1279, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1325, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/local/lib/python3.9/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fcf2ee6ccd0>: Failed to establish a new connection: [Errno 110] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.80.3', port=3344): Max retries exceeded with url: /printer/list/?apikey=8643e778-3db3-45ab-be71-bc9f57d64cc3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcf2ee6ccd0>: Failed to establish a new connection: [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 227, in _async_setup_component result = await task File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, self.kwargs) File "/usr/src/homeassistant/homeassistant/components/repetier/init.py", line 231, in setup client = pyrepetier.Repetier(url=url, port=port, apikey=api_key) File "/usr/local/lib/python3.9/site-packages/pyrepetierng/init.py", line 24, in init response = requests.get(reqUrl) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.80.3', port=3344): Max retries exceeded with url: /printer/list/?apikey=8643e778-3db3-45ab-be71-bc9f57d64cc3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcf2ee6ccd0>: Failed to establish a new connection: [Errno 110] Operation timed out'))

Example YAML snippet

- host: IP
    api_key: api_key
    port: 3344

Anything in the logs that might be useful for us?

Logger: homeassistant.setup
Source: components/repetier/__init__.py:231
First occurred: 12 февраля 2022 г., 23:43:43 (1 occurrences)
Last logged: 12 февраля 2022 г., 23:43:43

Error during setup of component repetier
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, 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/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/local/lib/python3.9/http/client.py", line 1279, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1325, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.9/http/client.py", line 974, in send
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fcf2ee6ccd0>: Failed to establish a new connection: [Errno 110] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.80.3', port=3344): Max retries exceeded with url: /printer/list/?apikey=8643e778-3db3-45ab-be71-bc9f57d64cc3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcf2ee6ccd0>: Failed to establish a new connection: [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 227, in _async_setup_component
    result = await task
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/repetier/__init__.py", line 231, in setup
    client = pyrepetier.Repetier(url=url, port=port, apikey=api_key)
  File "/usr/local/lib/python3.9/site-packages/pyrepetierng/__init__.py", line 24, in __init__
    response = requests.get(reqUrl)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.80.3', port=3344): Max retries exceeded with url: /printer/list/?apikey=8643e778-3db3-45ab-be71-bc9f57d64cc3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fcf2ee6ccd0>: Failed to establish a new connection: [Errno 110] Operation timed out'))

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

repetier documentation repetier source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @mtrab, @shadowbr0ther, mind taking a look at this issue as it has been labeled with an integration (repetier) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)