Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL: CERTIFICATE_VERIFY_FAILED #216

Closed
tariqul-islam opened this issue May 28, 2020 · 7 comments
Closed

SSL: CERTIFICATE_VERIFY_FAILED #216

tariqul-islam opened this issue May 28, 2020 · 7 comments
Labels

Comments

@tariqul-islam
Copy link

Hi, When I was running the tutorial on cars segmentation (CamVid), I got the following error:

URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>

Which is providing error while downloading the pre-trained network.

I could download the net manually using the browser (where it provided an error but I just bypassed it).
and run the tutorial.

@phamquiluan
Copy link

same problem

@DaniilBoiko
Copy link

DaniilBoiko commented May 31, 2020

Same problem with all SE models. https://data.lip6.fr — from where all the SE pre-trained models in https://github.com/Cadene/pretrained-models.pytorch are downloaded from — has an expired certificate.
As suggested @AlxZed (Cadene/pretrained-models.pytorch#193) you can do this:

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Feb 11, 2022
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@tommiekerssies
Copy link

Same problem, this should be fixed

@Progern
Copy link

Progern commented Mar 28, 2023

As of today this issue still persists for Xception and Inception at least.

@seb2o
Copy link

seb2o commented Dec 2, 2024

this issue still exist (certificate of https://data.lip6.fr/ expired in 2022). I am not sure on how to resolve it, except if training and hosting weights somewhere else is an option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants