Here’s a sample of the connection refused errors. But looks like it did eventually connect:
bytes_ = self.recv(min(16384, shortage))
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_core.py”, line 449, in _recv
return recv(self.sock, bufsize)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_socket.py”, line 94, in recv
“Connection is already closed.”)
websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/mycroft/messagebus/client/ws.py”, line 77, in on_error
self.emitter.emit(‘error’, error)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/pyee/init.py”, line 178, in emit
raise args[0]
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_app.py”, line 254, in run_forever
proxy_type=proxy_type)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_core.py”, line 220, in connect
options.pop(‘socket’, None))
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 120, in connect
sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 190, in _open_socket
raise err
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 170, in _open_socket
sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/mycroft/messagebus/client/ws.py”, line 77, in on_error
self.emitter.emit(‘error’, error)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/pyee/init.py”, line 178, in emit
raise args[0]
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_app.py”, line 254, in run_forever
proxy_type=proxy_type)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_core.py”, line 220, in connect
options.pop(‘socket’, None))
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 120, in connect
sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 190, in _open_socket
raise err
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 170, in _open_socket
sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_app.py”, line 254, in run_forever
proxy_type=proxy_type)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_core.py”, line 220, in connect
options.pop(‘socket’, None))
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 120, in connect
sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 190, in _open_socket
raise err
File “/opt/venvs/mycroft-core/lib/python3.4/site-packages/websocket/_http.py”, line 170, in _open_socket
sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
09:31:29.134 - mycroft.messagebus.client.ws:on_error:81 - ERROR - Exception closing websocket: ConnectionRefusedError(111, ‘Connection refused’)
09:31:29.140 - mycroft.messagebus.client.ws:on_error:83 - WARNING - WS Client will reconnect in 40 seconds.
09:32:09.161 - mycroft.messagebus.client.ws:on_open:60 - INFO - Connected