Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/homekit_controller/config_flow.py", line 318, in async_step_pair

self.finish_pairing = await discovery.start_pairing(self.hkid)


 "/usr/local/lib/python3.7/site-packages/aiohomekit/controller/ip/discovery.py", line 74, in start_pairing

"/pair-setup", body=request, expected=expected,


 "/usr/local/lib/python3.7/site-packages/aiohomekit/controller/ip/connection.py", line 329, in post_tlv

target, TLV.encode_list(body), content_type=HttpContentTypes.TLV,


 "/usr/local/lib/python3.7/site-packages/aiohomekit/controller/ip/connection.py", line 299, in post

body=body,


 "/usr/local/lib/python3.7/site-packages/aiohomekit/controller/ip/connection.py", line 380, in request

return await self.protocol.send_bytes(request_bytes)


 "/usr/local/lib/python3.7/site-packages/aiohomekit/controller/ip/connection.py", line 75, in send_bytes

return await asyncio.wait_for(result, 10)


 "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for

return fut.result()
aiohomekit.exceptions.AccessoryDisconnectedError: Connection closed

Traceback (most recent call last):

 "bypy/bypy.py", line 1405, in __request_work
r = self.__requester.request(method, url, params = parsnew, timeout = self.__timeout, verify = self.__checkssl, **kwargs)

 "bypy/bypy.py", line 1085, in request
return requests.request(method, url, **kwargs)

 "C:\Python27\lib\site-packages\requests\api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)

 "C:\Python27\lib\site-packages\requests\sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)

 "C:\Python27\lib\site-packages\requests\sessions.py", line 573, in send
r = adapter.send(request, **kwargs)

 "C:\Python27\lib\site-packages\requests\adapters.py", line 370, in send
timeout=timeout

 "C:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 544, in urlopen
body=body, headers=headers)

 "C:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 349, in _make_request
conn.request(method, url, **httplib_request_kw)

 "C:\Python27\lib\httplib.py", line 1053, in request
self._send_request(method, url, body, headers)

 "C:\Python27\lib\httplib.py", line 1093, in _send_request
self.endheaders(body)

 "C:\Python27\lib\httplib.py", line 1049, in endheaders
self._send_output(message_body)

 "C:\Python27\lib\httplib.py", line 893, in _send_output
self.send(msg)

 "C:\Python27\lib\httplib.py", line 869, in send
self.sock.sendall(data)

 "C:\Python27\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py", line 208, in sendall
sent = self._send_until_done(data)

 "C:\Python27\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py", line 198, in _send_until_done
return self.connection.send(data)

 "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 1271, in send
self._raise_ssl_error(self._ssl, result)

 "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 1178, in _raise_ssl_error
raise SysCallError(errno, errorcode.get(errno))SysCallError: (10054, 'WSAECONNRESET')