Skip to content

Local setup - Compute worker cannot get submission from Minio - Connection refused #2003

@ihsaan-ullah

Description

@ihsaan-ullah

On my local setup on mac OS, my compute worker is giving me this issue:

Compute worker logs:

[2025-09-17 09:30:36,971: INFO/ForkPoolWorker-1] Getting bundle http://docker.for.mac.localhost:9000/private/dataset/2025-09-17-1758101436/000fd7159ab8/iris_submission.zip?AWSAccessKeyId=testkey&Signature=P7KdRXuvHfP2EBHSWMzwlN8iCJY%3D&Expires=1758533436 to unpack @ program
[2025-09-17 09:30:36,985: INFO/ForkPoolWorker-1] CODALAB_IGNORE_CLEANUP_STEP mode enabled, ignoring clean up of: /codabench/tmp81fz84vf
[2025-09-17 09:30:37,000: ERROR/ForkPoolWorker-1] Task compute_worker_run[400cd295-6f93-43ab-977d-9b719e20a45a] raised unexpected: URLError(ConnectionRefusedError(111, 'Connection refused'))
Traceback (most recent call last):
  File "/usr/lib64/python3.9/urllib/request.py", line 1346, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib64/python3.9/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.9/http/client.py", line 980, in send
    self.connect()
  File "/usr/lib64/python3.9/http/client.py", line 946, in connect
    self.sock = self._create_connection(
  File "/usr/lib64/python3.9/socket.py", line 856, in create_connection
    raise err
  File "/usr/lib64/python3.9/socket.py", line 844, 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 "/usr/lib/python3.9/site-packages/celery/app/trace.py", line 385, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/celery/app/trace.py", line 650, in __protected_call__
    return self.run(*args, **kwargs)
  File "/app/compute_worker.py", line 112, in run_wrapper
    run.prepare()
  File "/app/compute_worker.py", line 808, in prepare
    zip_file = self._get_bundle(url, path, cache=cache_this_bundle)
  File "/app/compute_worker.py", line 457, in _get_bundle
    urlretrieve(url, bundle_file)
  File "/usr/lib64/python3.9/urllib/request.py", line 239, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/usr/lib64/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.9/urllib/request.py", line 517, in open
    response = self._open(req, data)
  File "/usr/lib64/python3.9/urllib/request.py", line 534, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib64/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.9/urllib/request.py", line 1375, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib64/python3.9/urllib/request.py", line 1349, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>

Any idea what could be wrong. I am on branch public-leaderboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSetupAnything related to the deployment of CodaLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions