message | Uncaught exception:
[...]Uncaught exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/requests_wrapper.py", line 101, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/requests_wrapper.py", line 71, in create_connection
raise err
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/requests_wrapper.py", line 62, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/project/src/duckietown_challenges_runner/runner.py", line 541, in get_cr
allow_host_network=allow_host_network, use_ipfs=use_ipfs)
File "/project/src/duckietown_challenges_runner/runner.py", line 605, in run_single
prepare_dir(wd, aws_config, steps2artefacts, use_ipfs=use_ipfs)
File "/project/src/duckietown_challenges_runner/runner.py", line 877, in prepare_dir
download_artefacts(aws_config, steps2artefacts, previous_steps_dir, use_ipfs=use_ipfs)
File "/project/src/duckietown_challenges_runner/runner.py", line 1144, in download_artefacts
client = ipfsapi.connect('127.0.0.1', 5001)
File "/usr/local/lib/python3.6/dist-packages/ipfsapi/client/__init__.py", line 88, in connect
assert_version(client.version()['Version'])
File "/usr/local/lib/python3.6/dist-packages/ipfsapi/client/__init__.py", line 205, in wrapper
return value(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/client/base.py", line 15, in wrapper
result = func(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/client/miscellaneous.py", line 204, in version
return self._client.request('/version', decoder='json', **kwargs)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/http.py", line 44, in wrapper
return func(self, *args, **merged)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/http.py", line 364, in request
files, headers, data, timeout=timeout)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/http.py", line 282, in _request
timeout=timeout)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/http.py", line 245, in _do_request
return requests.request(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/requests_wrapper.py", line 240, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/requests_wrapper.py", line 219, in request
return super(Session, self).request(method, url, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/local/lib/python3.6/dist-packages/urllib3/connection.py", line 181, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.6/dist-packages/ipfshttpclient/requests_wrapper.py", line 108, in _new_conn
self, "Failed to establish a new connection: %s" % e)
pip._vendor.requests.packages.urllib3.exceptions.NewConnectionError: <ipfshttpclient.requests_wrapper.HTTPConnection object at 0x7f52b5d3a940>: Failed to establish a new connection: [Errno 111] Connection refused
|