Not able to upload or download custom datasets

Hello Team,

This issue is related to URL whitelisting, we have our private server with limited access, but when we are trying to upload or download models/datasets, there is a restriction that takes place. Even after whitelisting https://huggingface.co we are not able to upload/download.

Can you suggest the correct URL for whitelisting on our private server? This is kind of urgent.

1 Like

If you’re in a hurry, it’s more reliable to use Discord than Forum.

@not-lain Who is the right person to call for these client-side security issues?

1 Like

Hi @RishuD7 , according to huggingface_hub/src/huggingface_hub/constants.py at main · huggingface/huggingface_hub · GitHub I would suggest to try whitelisting :

and

should suffice.
if this does not work try to copy and paste the full traceback so I can investigate the problem.

1 Like


This is the issue we are facing when downloading it from our restricted server. Are there any intermediate URLs that are called when downloading larger models saved in LFS?