pytorch_geometric_temporal icon indicating copy to clipboard operation
pytorch_geometric_temporal copied to clipboard

Error downloading some datasets

Open aurorarossi opened this issue 1 year ago • 6 comments

Hello! when downloading the datasets contained here, there is an error caused by the certificate of the website.

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1002)>

aurorarossi avatar Jul 03 '23 14:07 aurorarossi

@aurorarossi , I also faced the same issue when downloading a dataset through a URL. You can solve this issue by using the SSL authentication module. You may solve it by adding the module and code below.

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

jeongwhanchoi avatar Jul 05 '23 02:07 jeongwhanchoi

Looks like the SSL certificate for https://graphmining.ai/temporal_datasets/ which hosts some of the datasets has expired about a week ago.

boykovdn avatar Jul 06 '23 12:07 boykovdn

I was wondering if it was maintained by the same people of this package

aurorarossi avatar Jul 06 '23 13:07 aurorarossi

Judging by the homepage I'd say so. Let's see what they say :)

boykovdn avatar Jul 06 '23 13:07 boykovdn

After two months, the certificates are still expired

Ripper346 avatar Sep 20 '23 13:09 Ripper346

This happens when using torch_geometric_temporal: loader = METRLADatasetLoader() Python 3.11.2, PyTorch 2.0.1

massisenergy avatar Nov 24 '23 14:11 massisenergy