(Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
{'login': 'AI678', 'id': 63541083, 'node_id': 'MDQ6VXNlcjYzNTQxMDgz', 'avatar_url': 'https://avatars.githubusercontent.com/u/63541083?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/AI678', 'html_url': 'https://github.com/AI678', 'followers_url': 'https://api.github.com/users/AI678/followers', 'following_url': 'https://api.github.com/users/AI678/following{/other_user}', 'gists_url': 'https://api.github.com/users/AI678/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/AI678/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/AI678/subscriptions', 'organizations_url': 'https://api.github.com/users/AI678/orgs', 'repos_url': 'https://api.github.com/users/AI678/repos', 'events_url': 'https://api.github.com/users/AI678/events{/privacy}', 'received_events_url': 'https://api.github.com/users/AI678/received_events', 'type': 'User', 'site_admin': False}
[]
[]
['Are you running the script on a machine with an internet connection ?'
 'Yes ,  I can browse the url through Google Chrome.'
 'Does this HEAD request return 200 on your machine ?\r\n```python\r\nimport requests                                                                                                                                                                                                         \r\nrequests.head("https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py")\r\n```\r\n\r\nIf it returns 200, could you try again to load the dataset ?'
 'Thank you very much for your response.\r\nWhen I run \r\n``` \r\nimport requests                                                                                                                                                                                                         \r\nrequests.head("https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py")\r\n```\r\nIt returns 200.\r\n\r\nAnd I try again to load the dataset. I got the following errors again. \r\n\r\nTraceback (most recent call last):\r\n  File "<stdin>", line 1, in <module>\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\load.py", line 608, in load_dataset\r\n    builder_instance.download_and_prepare(\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\builder.py", line 475, in download_and_prepare\r\n    self._download_and_prepare(\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\builder.py", line 531, in _download_and_prepare\r\n    split_generators = self._split_generators(dl_manager, **split_generators_kwargs)\r\n  File "C:\\Users\\666666\\.cache\\huggingface\\modules\\datasets_modules\\datasets\\cnn_dailymail\\0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602\\cnn_dailymail.py", line 253, in _split_generators\r\n    dl_paths = dl_manager.download_and_extract(_DL_URLS)\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\utils\\download_manager.py", line 254, in download_and_extract\r\n    return self.extract(self.download(url_or_urls))\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\utils\\download_manager.py", line 175, in download\r\n    downloaded_path_or_paths = map_nested(\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\utils\\py_utils.py", line 224, in map_nested\r\n    mapped = [\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\utils\\py_utils.py", line 225, in <listcomp>\r\n    _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm)\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\utils\\py_utils.py", line 163, in _single_map_nested\r\n    return function(data_struct)\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\utils\\file_utils.py", line 300, in cached_path\r\n    output_path = get_from_cache(\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\datasets\\utils\\file_utils.py", line 475, in get_from_cache\r\n    raise ConnectionError("Couldn\'t reach {}".format(url))\r\nConnectionError: Couldn\'t reach https://drive.google.com/uc?export=download&id=0BwmD_VLjROrfTHk4NFg2SndKcjQ\r\n\r\nConnection error happened but the url was different.\r\n\r\nI add the following code.\r\n```\r\nrequests.head("https://drive.google.com/uc?export=download&id=0BwmD_VLjROrfTHk4NFg2SndKcjQ")\r\n```\r\nThis  didn\'t  return 200\r\nIt returned like this:\r\n\r\nTraceback (most recent call last):\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\connection.py", line 159, in _new_conn\r\n    conn = connection.create_connection(\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\util\\connection.py", line 84, in create_connection\r\n    raise err\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\util\\connection.py", line 74, in create_connection\r\n    sock.connect(sa)\r\nTimeoutError: [WinError 10060] \r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\connectionpool.py", line 670, in urlopen\r\n    httplib_response = self._make_request(\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\connectionpool.py", line 381, in _make_request\r\n    self._validate_conn(conn)\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\connectionpool.py", line 978, in _validate_conn\r\n    conn.connect()\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\connection.py", line 309, in connect\r\n    conn = self._new_conn()\r\n  File "C:\\Users\\666666\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\urllib3\\connection.py", line 171, in _new_conn\r\n    raise NewConnectionError(\r\nurllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000001F6060618E0>: Failed to establish a new connection: [WinError 10060] '
 'Is google drive blocked on your network ?\r\nFor me \r\n```python\r\nrequests.head("https://drive.google.com/uc?export=download&id=0BwmD_VLjROrfTHk4NFg2SndKcjQ")\r\n```\r\nreturns 200'
 "I can browse the google drive through google chrome. It's weird. I can download the dataset through google drive manually."
 'Could you try to update `requests` maybe ?\r\nIt works with 2.23.0 on my side'
 "My ```requests``` is 2.24.0 . It still can't return 200."
 "Is it possible I download the dataset manually from google drive and use it for further test ? How can I do this ? I want to reproduce the model in this link https://huggingface.co/patrickvonplaten/bert2bert-cnn_dailymail-fp16. But I can't download the dataset through load_dataset method . I have tried many times  and the connection error always happens .\r\n"
 'The head request should definitely work, not sure what\'s going on on your side.\r\nIf you find a way to make it work, please post it here since other users might encounter the same issue.\r\n\r\nIf you don\'t manage to fix it you can use `load_dataset` on google colab and then save it using `dataset.save_to_disk("path/to/dataset")`.\r\nThen you can download the directory on your machine and do\r\n```python\r\nfrom datasets import load_from_disk\r\ndataset = load_from_disk("path/to/local/dataset")\r\n```'
 'Hi\r\nI want to know if this problem has been solved because I encountered a similar issue. Thanks.\r\n`train_data = datasets.load_dataset("xsum", `split="train")`\r\n`ConnectionError:` Couldn\'t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/xsum/xsum.py`'
 'Hi @smile0925 ! Do you have an internet connection ? Are you using some kind of proxy that may block the access to this file ?\r\n\r\nOtherwise you can try to update `datasets` since we introduced retries for http requests in the 1.2.0 version\r\n```\r\npip install --upgrade datasets\r\n```\r\nLet me know if that helps.'
 'Hi @lhoestq \r\nOh, may be you are right. I find that my server uses some kind of proxy that block the access to this file.\r\n![image](https://user-images.githubusercontent.com/46243662/106456211-2ca24180-64c8-11eb-831e-47e9b40e7da4.png)\r\n\r\n'
 '> Hi @lhoestq\r\n> Oh, may be you are right. I find that my server uses some kind of proxy that block the access to this file.\r\n> ![image](https://user-images.githubusercontent.com/46243662/106456211-2ca24180-64c8-11eb-831e-47e9b40e7da4.png)\r\n\r\nI have the same problem, have you solved it? Many thanks'
 'Hi  @ZhengxiangShi \r\nYou can first try whether your network can access these files. I need to use VPN to access these files, so I download the files that cannot be accessed to the local in advance, and then use them in the code. Like this,\r\n`train_data = datasets.load_dataset("xsum.py", split="train")`']
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset

test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)

And I got the following errors.

Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“test”)
File “C:\Users\666666\AppData\Local\Programs\Python\Python38\lib\site-packages\datasets\load.py”, line 589, in load_dataset
module_path, hash = prepare_module(
File “C:\Users\666666\AppData\Local\Programs\Python\Python38\lib\site-packages\datasets\load.py”, line 268, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File “C:\Users\666666\AppData\Local\Programs\Python\Python38\lib\site-packages\datasets\utils\file_utils.py”, line 300, in cached_path
output_path = get_from_cache(
File “C:\Users\666666\AppData\Local\Programs\Python\Python38\lib\site-packages\datasets\utils\file_utils.py”, line 475, in get_from_cache
raise ConnectionError(“Couldn’t reach {}”.format(url))
ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py

How can I fix this ?
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/759/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}