Skip to content

[Bug] Expired SSL certificate for mmcv #3237

@UtkarshK12

Description

@UtkarshK12

Prerequisite

Environment

NA

Reproduces the problem - code sample

NA

Reproduces the problem - command or script

mim install "mmcv>=2.0.1"

Reproduces the problem - error message

Could not fetch URL https://download.openmmlab.com/mmcv/dist/cpu/torch2.4.0/index.html: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='download.openmmlab.com', port=443): Max retries exceeded with url: /mmcv/dist/cpu/torch2.4.0/index.html (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1149)'))) - skipping
Collecting addict (from mmengine)

Additional information

Image

I was able to bypass the SSL certificate issue using the --trusted-host but maybe better to renew the cert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions