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 "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/urllib3/connection.py", line 181, in connect
conn = self._new_conn()
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9abf7303c8>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /origin/add_multi (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9abf7303c8>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/archit/swh-environment/swh-core/swh/core/api/__init__.py", line 178, in raw_verb
**opts
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/requests/sessions.py", line 581, in post
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /origin/add_multi (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9abf7303c8>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/celery-4.3.0rc2-py3.6.egg/celery/local.py", line 191, in __call__
return self._get_current_object()(*a, **kw)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/swh/scheduler/task.py", line 45, in __call__
return super().__call__(*args, **kwargs)
File "/home/archit/.virtualenvs/swh/lib/python3.6/site-packages/celery-4.3.0rc2-py3.6.egg/celery/app/task.py", line 390, in __call__
return self.run(*args, **kwargs)
File "/home/archit/swh-environment/swh-lister/swh/lister/github/tasks.py", line 28, in range_github_lister
lister.run(min_bound=start, max_bound=end)
File "/home/archit/swh-environment/swh-lister/swh/lister/core/indexing_lister.py", line 227, in run
for i in ingest_indexes():
File "/home/archit/swh-environment/swh-lister/swh/lister/core/indexing_lister.py", line 209, in ingest_indexes
File "/home/archit/swh-environment/swh-core/swh/core/api/__init__.py", line 193, in post
**opts)
File "/home/archit/swh-environment/swh-core/swh/core/api/__init__.py", line 181, in raw_verb
raise self.api_exception(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /origin/add_multi (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9abf7303c8>: Failed to establish a new connection: [Errno 111] Connection refused',))