Hey guys, new here, but been here a lot over the last week or so setting up HA on my Pi3.
I’m trying to setup the Transmission Sensor but seem to be getting errors. It’s not crashing HA which is a first for me.
Looking at the log in the Developer tools in the ( i ) gives the following error. I’m not exactly sure what’s going on but looks like something isn’t liking something.
I’m running HA 0.46 in virtual env on Raspbian on a Pi3. Thanks for any help.
2017-06-05 17:39:10 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform transmission
Traceback (most recent call last):
File "/usr/lib/python3.4/urllib/request.py", line 1174, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.4/http/client.py", line 1090, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
self.send(msg)
File "/usr/lib/python3.4/http/client.py", line 859, in send
self.connect()
File "/usr/lib/python3.4/http/client.py", line 836, in connect
self.timeout, self.source_address)
File "/usr/lib/python3.4/socket.py", line 509, in create_connection
raise err
File "/usr/lib/python3.4/socket.py", line 500, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/transmissionrpc/httphandler.py", line 65, in request
response = self.http_opener.open(request, timeout=timeout)
File "/usr/lib/python3.4/urllib/request.py", line 455, in open
response = self._open(req, data)
File "/usr/lib/python3.4/urllib/request.py", line 473, in _open
'_open', req)
File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
result = func(*args)
File "/usr/lib/python3.4/urllib/request.py", line 1202, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.4/urllib/request.py", line 1176, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/transmissionrpc/client.py", line 205, in _http_query
result = self.http_handler.request(self.url, query, headers, timeout)
File "/home/homeassistant/.homeassistant/deps/transmissionrpc/httphandler.py", line 79, in request
raise HTTPHandlerError(httpmsg='urllib2.URLError: %s' % (error.reason))
transmissionrpc.error.HTTPHandlerError: HTTPHandlerError 600: urllib2.URLError: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 160, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/transmission.py", line 58, in setup_platform
host, port=port, user=username, password=password)
File "/home/homeassistant/.homeassistant/deps/transmissionrpc/client.py", line 169, in __init__
self.get_session()
File "/home/homeassistant/.homeassistant/deps/transmissionrpc/client.py", line 828, in get_session
self._request('session-get', timeout=timeout)
File "/home/homeassistant/.homeassistant/deps/transmissionrpc/client.py", line 247, in _request
http_data = self._http_query(query, timeout)
File "/home/homeassistant/.homeassistant/deps/transmissionrpc/client.py", line 223, in _http_query
raise TransmissionError('Request failed.', error)
transmissionrpc.error.TransmissionError: Request failed. Original exception: HTTPHandlerError, "HTTPHandlerError 600: urllib2.URLError: timed out"