@03397 wrote:
I have the following installed
arch armv7l dev false docker false hassio false os_name Linux python_version 3.6.5 timezone Europe/Nicosia version 0.102.0 virtualenv true and I am trying to install the soundtouch for the Bose Speaker 500 and I am getting the following error
- platform: soundtouch
host: 192.168.10.21
port: 8090
name: BoseError while setting up platform soundtouch
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/connection.py”, line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/util/connection.py”, line 80, in create_connection
raise err
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/util/connection.py”, line 70, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refusedDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 354, in _make_request
conn.request(method, url, **httplib_request_kw)
File “/usr/local/lib/python3.6/http/client.py”, line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/usr/local/lib/python3.6/http/client.py”, line 1026, in _send_output
self.send(msg)
File “/usr/local/lib/python3.6/http/client.py”, line 964, in send
self.connect()
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/connection.py”, line 181, in connect
conn = self._new_conn()
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/connection.py”, line 168, in _new_conn
self, “Failed to establish a new connection: %s” % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x668f56d0>: Failed to establish a new connection: [Errno 111] Connection refusedDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File “/srv/homeassistant/lib/python3.6/site-packages/urllib3/util/retry.py”, line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘192.168.10.21’, port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x668f56d0>: Failed to establish a new connection: [Errno 111] Connection refused’,))During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/soundtouch/media_player.py”, line 111, in setup_platform
soundtouch_device = SoundTouchDevice(name, remote_config)
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/soundtouch/media_player.py”, line 187, in init
self._device = soundtouch_device(config[“host”], config[“port”])
File “/srv/homeassistant/lib/python3.6/site-packages/libsoundtouch/init.py”, line 23, in soundtouch_device
s_device = SoundTouchDevice(host, port)
File “/srv/homeassistant/lib/python3.6/site-packages/libsoundtouch/device.py”, line 120, in init
self.__init_config()
File “/srv/homeassistant/lib/python3.6/site-packages/libsoundtouch/device.py”, line 134, in __init_config
“http://” + self._host + “:” + str(self._port) + “/info”)
File “/srv/homeassistant/lib/python3.6/site-packages/requests/api.py”, line 75, in get
return request(‘get’, url, params=params, **kwargs)
File “/srv/homeassistant/lib/python3.6/site-packages/requests/api.py”, line 60, in request
return session.request(method=method, url=url, **kwargs)
File “/srv/homeassistant/lib/python3.6/site-packages/requests/sessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/srv/homeassistant/lib/python3.6/site-packages/requests/sessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “/srv/homeassistant/lib/python3.6/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘192.168.10.21’, port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x668f56d0>: Failed to establish a new connection: [Errno 111] Connection refused’,))
Connection lost. Reconnecting…Is this supported or not?
Bug?
Posts: 2
Participants: 1