Skip to content

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed #3387

@wasalm

Description

@wasalm

I try to self host codalab competitions using minion.
I have everything working except that submissions are failed due to the following error:

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

My hosts is behind a proxy and is certified by letsencrypt.

I can temporary fix it by changing worker.py (inside the competitions-v1-compute-worker container)
and add the line verify=False to the put_blob function. That is,

def put_blob(url, file_path):
    logger.info("Putting blob %s in %s" % (file_path, url))
    requests.put(
        url,
        data=open(file_path, 'rb'),
        headers={
            'x-ms-blob-type': 'BlockBlob',
            'x-ms-version': '2018-03-28',
        },
        verify=False
    )

But this of course is a temporary fix. Can you look into this? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SetupAnything 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