Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
MEMBER
Hi ! It looks like an issue with your python environment, can you make sure you're able to run GET requests to https://huggingface.co using `requests` in python ?
2022-11-09T13:43:34Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1308785426
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps5OAnsS
https://api.github.com/repos/huggingface/datasets/issues/comments/1308785426/reactions
2022-11-09T13:43:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1308785426
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
Thanks for your reply. Does this mean that I have to use the `do_dataset `function and the `requests `function to download the dataset from the company's proxy environment?


* Reference: 
```bash
### How to load this dataset directly with the [datasets](https://github.com/huggingface/datasets) library


* https://huggingface.co/datasets/moyix/debian_csrc

* from datasets import load_dataset
dataset = load_dataset("moyix/debian_csrc")



### Or just clone the dataset repo


git lfs install
git clone https://huggingface.co/datasets/moyix/debian_csrc
# if you want to clone without large files – just their pointers
# prepend your git clone with the following env var:
GIT_LFS_SKIP_SMUDGE=1
```
2022-11-11T05:12:37Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1311238858
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps5OJ-rK
https://api.github.com/repos/huggingface/datasets/issues/comments/1311238858/reactions
2023-08-02T05:14:45Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1311238858
https://avatars.githubusercontent.com/u/82404?v=4
https://api.github.com/users/leemgs/events{/privacy}
https://api.github.com/users/leemgs/followers
https://api.github.com/users/leemgs/following{/other_user}
https://api.github.com/users/leemgs/gists{/gist_id}
https://github.com/leemgs
leemgs
MDQ6VXNlcjgyNDA0
https://api.github.com/users/leemgs/orgs
https://api.github.com/users/leemgs/received_events
https://api.github.com/users/leemgs/repos
https://api.github.com/users/leemgs/starred{/owner}{/repo}
https://api.github.com/users/leemgs/subscriptions
User
https://api.github.com/users/leemgs
public
MEMBER
You can use `requests` to see if downloading a file from the Hugging Face Hub works. If so, then `datasets` should work as well. If not, then you have to find another way using an internet connection that works
2022-11-12T15:31:58Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1312507421
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps5OO0Yd
https://api.github.com/repos/huggingface/datasets/issues/comments/1312507421/reactions
2022-11-12T15:31:58Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1312507421
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
I resolved this issue by applying to "unblock websites" at https://huggingface.com in a corporate network environment with a firewall. 

2023-08-02T05:18:31Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1661510260
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps5jCKJ0
https://api.github.com/repos/huggingface/datasets/issues/comments/1661510260/reactions
2023-08-02T05:18:31Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1661510260
https://avatars.githubusercontent.com/u/82404?v=4
https://api.github.com/users/leemgs/events{/privacy}
https://api.github.com/users/leemgs/followers
https://api.github.com/users/leemgs/following{/other_user}
https://api.github.com/users/leemgs/gists{/gist_id}
https://github.com/leemgs
leemgs
MDQ6VXNlcjgyNDA0
https://api.github.com/users/leemgs/orgs
https://api.github.com/users/leemgs/received_events
https://api.github.com/users/leemgs/repos
https://api.github.com/users/leemgs/starred{/owner}{/repo}
https://api.github.com/users/leemgs/subscriptions
User
https://api.github.com/users/leemgs
public
NONE
> Hi ! It looks like an issue with your python environment, can you make sure you're able to run GET requests to https://huggingface.co using `requests` in python ?

yes，but still not work

![image](https://github.com/huggingface/datasets/assets/40717349/a502e051-beff-4a5e-aef6-90b525add877)
![image](https://github.com/huggingface/datasets/assets/40717349/88b131fd-ee26-4a8e-9e72-6ecdc126404f)

2023-11-17T12:45:33Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1816355962
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps5sQ2R6
https://api.github.com/repos/huggingface/datasets/issues/comments/1816355962/reactions
2023-11-17T12:45:33Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1816355962
https://avatars.githubusercontent.com/u/40717349?v=4
https://api.github.com/users/lonngxiang/events{/privacy}
https://api.github.com/users/lonngxiang/followers
https://api.github.com/users/lonngxiang/following{/other_user}
https://api.github.com/users/lonngxiang/gists{/gist_id}
https://github.com/lonngxiang
lonngxiang
MDQ6VXNlcjQwNzE3MzQ5
https://api.github.com/users/lonngxiang/orgs
https://api.github.com/users/lonngxiang/received_events
https://api.github.com/users/lonngxiang/repos
https://api.github.com/users/lonngxiang/starred{/owner}{/repo}
https://api.github.com/users/lonngxiang/subscriptions
User
https://api.github.com/users/lonngxiang
public
NONE
I read https://github.com/huggingface/datasets/blob/main/src/datasets/load.py, it fail when get the dataset metadata, so download_config has not worked.
```python
            hf_api = HfApi(config.HF_ENDPOINT)
            try:
                dataset_info = hf_api.dataset_info(
                    repo_id=path,
                    revision=revision,
                    token=download_config.token,
                    timeout=100.0,
                )
            except Exception as e:  # noqa catch any exception of hf_hub and consider that the dataset doesn't exist
                if isinstance(
                    e,
                    (
                        OfflineModeIsEnabled,
                        requests.exceptions.ConnectTimeout,
                        requests.exceptions.ConnectionError,
                    ),
                ):
                    raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({type(e).__name__})")
```
I configure the huggingface_hub api, use configure_http_backend
```python
from huggingface_hub import configure_http_backend
def backend_factory() -> requests.Session:
    session = requests.Session()
    session.proxies = proxy
    session.verify = False
    return session

configure_http_backend(backend_factory=backend_factory)
```
It works.
2023-12-08T05:37:11Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1846574257
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps5uEHyx
https://api.github.com/repos/huggingface/datasets/issues/comments/1846574257/reactions
2023-12-08T05:41:10Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1846574257
https://avatars.githubusercontent.com/u/40418998?v=4
https://api.github.com/users/kuikuikuizzZ/events{/privacy}
https://api.github.com/users/kuikuikuizzZ/followers
https://api.github.com/users/kuikuikuizzZ/following{/other_user}
https://api.github.com/users/kuikuikuizzZ/gists{/gist_id}
https://github.com/kuikuikuizzZ
kuikuikuizzZ
MDQ6VXNlcjQwNDE4OTk4
https://api.github.com/users/kuikuikuizzZ/orgs
https://api.github.com/users/kuikuikuizzZ/received_events
https://api.github.com/users/kuikuikuizzZ/repos
https://api.github.com/users/kuikuikuizzZ/starred{/owner}{/repo}
https://api.github.com/users/kuikuikuizzZ/subscriptions
User
https://api.github.com/users/kuikuikuizzZ
public
NONE
Even tough it does not look like a certificate error in the error message, I had the same error and adding following lines to my code solved my problem.

import os
os.environ['CURL_CA_BUNDLE'] = ''
2024-01-25T19:45:51Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1910877734
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps5x5a4m
https://api.github.com/repos/huggingface/datasets/issues/comments/1910877734/reactions
2024-01-25T19:45:51Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1910877734
https://avatars.githubusercontent.com/u/22731232?v=4
https://api.github.com/users/DataScientistTX/events{/privacy}
https://api.github.com/users/DataScientistTX/followers
https://api.github.com/users/DataScientistTX/following{/other_user}
https://api.github.com/users/DataScientistTX/gists{/gist_id}
https://github.com/DataScientistTX
DataScientistTX
MDQ6VXNlcjIyNzMxMjMy
https://api.github.com/users/DataScientistTX/orgs
https://api.github.com/users/DataScientistTX/received_events
https://api.github.com/users/DataScientistTX/repos
https://api.github.com/users/DataScientistTX/starred{/owner}{/repo}
https://api.github.com/users/DataScientistTX/subscriptions
User
https://api.github.com/users/DataScientistTX
public
NONE
@kuikuikuizzZ Could you please explain where the configuration code is added?
2024-02-28T02:48:21Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-1968092796
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps51TrZ8
https://api.github.com/repos/huggingface/datasets/issues/comments/1968092796/reactions
2024-02-28T02:48:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1968092796
https://avatars.githubusercontent.com/u/39154220?v=4
https://api.github.com/users/NoviceStone/events{/privacy}
https://api.github.com/users/NoviceStone/followers
https://api.github.com/users/NoviceStone/following{/other_user}
https://api.github.com/users/NoviceStone/gists{/gist_id}
https://github.com/NoviceStone
NoviceStone
MDQ6VXNlcjM5MTU0MjIw
https://api.github.com/users/NoviceStone/orgs
https://api.github.com/users/NoviceStone/received_events
https://api.github.com/users/NoviceStone/repos
https://api.github.com/users/NoviceStone/starred{/owner}{/repo}
https://api.github.com/users/NoviceStone/subscriptions
User
https://api.github.com/users/NoviceStone
public
NONE
> Even tough it does not look like a certificate error in the error message, I had the same error and adding following lines to my code solved my problem.
> 
> import os os.environ['CURL_CA_BUNDLE'] = ''

Worked for as well!
I faced the issue while submitting jobs through SLURM.
2024-03-20T21:52:21Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-2010705156
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps532O0E
https://api.github.com/repos/huggingface/datasets/issues/comments/2010705156/reactions
2024-03-20T21:52:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2010705156
https://avatars.githubusercontent.com/u/36835068?v=4
https://api.github.com/users/mahdibaghbanzadeh/events{/privacy}
https://api.github.com/users/mahdibaghbanzadeh/followers
https://api.github.com/users/mahdibaghbanzadeh/following{/other_user}
https://api.github.com/users/mahdibaghbanzadeh/gists{/gist_id}
https://github.com/mahdibaghbanzadeh
mahdibaghbanzadeh
MDQ6VXNlcjM2ODM1MDY4
https://api.github.com/users/mahdibaghbanzadeh/orgs
https://api.github.com/users/mahdibaghbanzadeh/received_events
https://api.github.com/users/mahdibaghbanzadeh/repos
https://api.github.com/users/mahdibaghbanzadeh/starred{/owner}{/repo}
https://api.github.com/users/mahdibaghbanzadeh/subscriptions
User
https://api.github.com/users/mahdibaghbanzadeh
public
NONE
> Even tough it does not look like a certificate error in the error message, I had the same error and adding following lines to my code solved my problem.
> 
> import os os.environ['CURL_CA_BUNDLE'] = ''

doesn't work , what does this code mean?
2024-05-12T01:49:32Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-2106086036
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps59iFKU
https://api.github.com/repos/huggingface/datasets/issues/comments/2106086036/reactions
2024-05-12T01:49:32Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2106086036
https://avatars.githubusercontent.com/u/51989540?v=4
https://api.github.com/users/Joeland4/events{/privacy}
https://api.github.com/users/Joeland4/followers
https://api.github.com/users/Joeland4/following{/other_user}
https://api.github.com/users/Joeland4/gists{/gist_id}
https://github.com/Joeland4
Joeland4
MDQ6VXNlcjUxOTg5NTQw
https://api.github.com/users/Joeland4/orgs
https://api.github.com/users/Joeland4/received_events
https://api.github.com/users/Joeland4/repos
https://api.github.com/users/Joeland4/starred{/owner}{/repo}
https://api.github.com/users/Joeland4/subscriptions
User
https://api.github.com/users/Joeland4
public
NONE
If you're working on a cluster, may be that they disabled remote connections for security purposes, you will have to download the files on your local machine and then transfer them to your cluster through scp or some other transfer protocol. I know you've probably resolved the issue, but that is for anyone in the future who might stumble across this thread and needs help because I struggled with that even after reading this thread.
2024-07-14T16:20:30Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-2227402247
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps6Ew3YH
https://api.github.com/repos/huggingface/datasets/issues/comments/2227402247/reactions
2024-07-14T16:20:30Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2227402247
https://avatars.githubusercontent.com/u/88534378?v=4
https://api.github.com/users/marcv12/events{/privacy}
https://api.github.com/users/marcv12/followers
https://api.github.com/users/marcv12/following{/other_user}
https://api.github.com/users/marcv12/gists{/gist_id}
https://github.com/marcv12
marcv12
MDQ6VXNlcjg4NTM0Mzc4
https://api.github.com/users/marcv12/orgs
https://api.github.com/users/marcv12/received_events
https://api.github.com/users/marcv12/repos
https://api.github.com/users/marcv12/starred{/owner}{/repo}
https://api.github.com/users/marcv12/subscriptions
User
https://api.github.com/users/marcv12
public
NONE
> Even tough it does not look like a certificate error in the error message, I had the same error and adding following lines to my code solved my problem.
> 
> import os os.environ['CURL_CA_BUNDLE'] = ''

If this not work, try this:
```bash
export http_proxy="http://127.0.0.1:10810"
export https_proxy="http://127.0.0.1:10810"
git config --global http.proxy http://127.0.0.1:10810
git config --global https.proxy http://127.0.0.1:10810

jupyter notebook
```

set your proxy env first, then start notebook **in this session**

2024-07-16T14:53:01Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-2231122559
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps6E_Dp_
https://api.github.com/repos/huggingface/datasets/issues/comments/2231122559/reactions
2024-07-16T14:53:01Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2231122559
https://avatars.githubusercontent.com/u/16760263?v=4
https://api.github.com/users/shafferjohn/events{/privacy}
https://api.github.com/users/shafferjohn/followers
https://api.github.com/users/shafferjohn/following{/other_user}
https://api.github.com/users/shafferjohn/gists{/gist_id}
https://github.com/shafferjohn
shafferjohn
MDQ6VXNlcjE2NzYwMjYz
https://api.github.com/users/shafferjohn/orgs
https://api.github.com/users/shafferjohn/received_events
https://api.github.com/users/shafferjohn/repos
https://api.github.com/users/shafferjohn/starred{/owner}{/repo}
https://api.github.com/users/shafferjohn/subscriptions
User
https://api.github.com/users/shafferjohn
public
NONE
> If you're working on a cluster, may be that they disabled remote connections for security purposes, you will have to download the files on your local machine and then transfer them to your cluster through scp or some other transfer protocol. I know you've probably resolved the issue, but that is for anyone in the future who might stumble across this thread and needs help because I struggled with that even after reading this thread.

Thank you buddy!
2024-07-19T01:01:00Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-2237828854
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps6FYo72
https://api.github.com/repos/huggingface/datasets/issues/comments/2237828854/reactions
2024-07-19T01:01:00Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2237828854
https://avatars.githubusercontent.com/u/51989540?v=4
https://api.github.com/users/Joeland4/events{/privacy}
https://api.github.com/users/Joeland4/followers
https://api.github.com/users/Joeland4/following{/other_user}
https://api.github.com/users/Joeland4/gists{/gist_id}
https://github.com/Joeland4
Joeland4
MDQ6VXNlcjUxOTg5NTQw
https://api.github.com/users/Joeland4/orgs
https://api.github.com/users/Joeland4/received_events
https://api.github.com/users/Joeland4/repos
https://api.github.com/users/Joeland4/starred{/owner}{/repo}
https://api.github.com/users/Joeland4/subscriptions
User
https://api.github.com/users/Joeland4
public
NONE
@shafferjohn 
export http_proxy="http://127.0.0.1:10810"
export https_proxy="http://127.0.0.1:10810"
git config --global http.proxy http://127.0.0.1:10810
git config --global https.proxy http://127.0.0.1:10810

jupyter notebook

this way worked for me
2025-03-08T09:04:08Z
https://github.com/huggingface/datasets/issues/5207#issuecomment-2708155811
https://api.github.com/repos/huggingface/datasets/issues/5207
IC_kwDODunzps6hay2j
https://api.github.com/repos/huggingface/datasets/issues/comments/2708155811/reactions
2025-03-08T09:04:08Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2708155811
https://avatars.githubusercontent.com/u/54012629?v=4
https://api.github.com/users/tedy-li/events{/privacy}
https://api.github.com/users/tedy-li/followers
https://api.github.com/users/tedy-li/following{/other_user}
https://api.github.com/users/tedy-li/gists{/gist_id}
https://github.com/tedy-li
tedy-li
MDQ6VXNlcjU0MDEyNjI5
https://api.github.com/users/tedy-li/orgs
https://api.github.com/users/tedy-li/received_events
https://api.github.com/users/tedy-li/repos
https://api.github.com/users/tedy-li/starred{/owner}{/repo}
https://api.github.com/users/tedy-li/subscriptions
User
https://api.github.com/users/tedy-li
public
### Describe the bug

It's weird. I could not normally  connect  the dataset Hub  of  HuggingFace due to a SSLError in my office. 
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy), 
I'm getting the  SSLError issue. What should I do to download the datanet stored in HuggingFace normally?
I welcome any comments. I think those comments will be helpful to me.

* Dataset address - https://huggingface.co/datasets/moyix/debian_csrc/viewer/moyix--debian_csrc
* Log message
```
      ............ OMISSION ..............
Traceback (most recent call last):
  File "/data/home/geunsik-lim/qtlab/./transformers/examples/pytorch/language-modeling/run_clm.py", line 587, in <module>
    main()
  File "/data/home/geunsik-lim/qtlab/./transformers/examples/pytorch/language-modeling/run_clm.py", line 278, in main
    raw_datasets = load_dataset(
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1719, in load_dataset
    builder_instance = load_dataset_builder(
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1497, in load_dataset_builder
    dataset_module = dataset_module_factory(
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1222, in dataset_module_factory
    raise e1 from None
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1179, in dataset_module_factory
    raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({type(e).__name__})")
ConnectionError: Couldn't reach 'moyix/debian_csrc' on the Hub (SSLError)
[2022-11-07 15:23:38,476] [INFO] [launch.py:318:sigkill_handler] Killing subprocess 6760
[2022-11-07 15:23:38,476] [ERROR] [launch.py:324:sigkill_handler] ['/home/geunsik-lim/anaconda3/envs/deepspeed/bin/python', '-u', './transformers/examples/pytorch/language-modeling/run_clm.py', '--local_rank=0', '--model_name_or_path=Salesforce/codegen-350M-multi', '--per_device_train_batch_size=1', '--learning_rate', '2e-5', '--num_train_epochs', '1', '--output_dir=./codegen-350M-finetuned', '--overwrite_output_dir', '--dataset_name', 'moyix/debian_csrc', '--cache_dir', '/data/home/geunsik-lim/.cache', '--tokenizer_name', 'Salesforce/codegen-350M-multi', '--block_size', '2048', '--gradient_accumulation_steps', '32', '--do_train', '--fp16', '--deepspeed', 'ds_config_zero2.json'] exits with return code = 1

real    0m7.742s
user    0m4.930s

```

### Steps to reproduce the bug

Steps to reproduce this behavior. 



```
(deepspeed) geunsik-lim@ai02:~/qtlab$ ./test_debian_csrc_dataset.py
Traceback (most recent call last):
  File "/data/home/geunsik-lim/qtlab/./test_debian_csrc_dataset.py", line 6, in <module>
    dataset = load_dataset("moyix/debian_csrc")
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1719, in load_dataset
    builder_instance = load_dataset_builder(
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1497, in load_dataset_builder
    dataset_module = dataset_module_factory(
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1222, in dataset_module_factory
    raise e1 from None
  File "/home/geunsik-lim/anaconda3/envs/deepspeed/lib/python3.10/site-packages/datasets/load.py", line 1179, in dataset_module_factory
    raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({type(e).__name__})")
ConnectionError: Couldn't reach 'moyix/debian_csrc' on the Hub (SSLError)
(deepspeed) geunsik-lim@ai02:~/qtlab$
(deepspeed) geunsik-lim@ai02:~/qtlab$
(deepspeed) geunsik-lim@ai02:~/qtlab$
(deepspeed) geunsik-lim@ai02:~/qtlab$ cat ./test_debian_csrc_dataset.py
#!/usr/bin/env python
from datasets import load_dataset
dataset = load_dataset("moyix/debian_csrc")

```

1.  Adde proxy address of a company in /etc/profile
2.  Download dataset with load_dataset() function of  datasets package that is provided by HuggingFace.
3.  In this case, the address would be "moyix--debian_csrc".
4.  I get the "`ConnectionError: Couldn't reach 'moyix/debian_csrc' on the Hub (SSLError`)" error message.

### Expected behavior


* error message:
ConnectionError: Couldn't reach 'moyix/debian_csrc' on the Hub (SSLError)

### Environment info


* software version information:

```
(deepspeed) geunsik-lim@ai02:~$
(deepspeed) geunsik-lim@ai02:~$ conda list -f pytorch
# packages in environment at /home/geunsik-lim/anaconda3/envs/deepspeed:
#
# Name                    Version                   Build  Channel
pytorch                   1.13.0          py3.10_cuda11.7_cudnn8.5.0_0    pytorch
(deepspeed) geunsik-lim@ai02:~$ conda list -f python
# packages in environment at /home/geunsik-lim/anaconda3/envs/deepspeed:
#
# Name                    Version                   Build  Channel
python                    3.10.6               haa1d7c7_1
(deepspeed) geunsik-lim@ai02:~$ conda list -f datasets
# packages in environment at /home/geunsik-lim/anaconda3/envs/deepspeed:
#
# Name                    Version                   Build  Channel
datasets                  2.6.1                      py_0    huggingface
(deepspeed) geunsik-lim@ai02:~$ uname -a
Linux ai02 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
(deepspeed) geunsik-lim@ai02:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS"

```