Traceback (most recent call last):


 "/usr/src/app/homeassistant/core.py", line 1002, in _event_to_service_call

await service_handler.func(service_call)


 "/usr/src/app/homeassistant/components/configurator.py", line 224, in async_handle_service_call

call.data.get(ATTR_FIELDS, {}))


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/app/homeassistant/components/homekit_controller/__init__.py", line 138, in device_config_callback

pairing_id)


 "/config/deps/lib/python3.6/site-packages/homekit/protocol.py", line 67, in perform_pair_setup

connection.request('POST', '/pair-setup', request_tlv, headers)


 "/usr/local/lib/python3.6/http/client.py", line 1239, in request

self._send_request(method, url, body, headers, encode_chunked)


 "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "/usr/src/app/homeassistant/components/homekit_controller/__init__.py", line 47, in homekit_http_send

self.send(msg)


 "/usr/local/lib/python3.6/http/client.py", line 964, in send

self.connect()


 "/usr/local/lib/python3.6/http/client.py", line 936, in connect

(self.host,self.port), self.timeout, self.source_address)


 "/usr/local/lib/python3.6/socket.py", line 724, in create_connection

raise err


 "/usr/local/lib/python3.6/socket.py", line 713, in create_connection

sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 159, in _new_conn

(self._dns_host, self.port), self.timeout, **extra_kw)


 "/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 80, in create_connection

raise err


 "/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 70, in create_connection

sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
