# Can't connect to huggingface

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-connect-to-huggingface%2F48721%3E%5C
**Category:** Beginners\
**Created:** [July 30, 2023, 5:36pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-connect-to-huggingface%2F48721 "2023-07-30T17:36:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![judy93536](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@judy93536](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjudy93536)%5C
**Post date:** [July 30, 2023, 5:36pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-connect-to-huggingface%2F48721%2F1 "2023-07-30T17:36:59Z")

</div>

I am trying download a new AutoTrain Model using

> from transformers import AutoModelForSequenceClassification, AutoTokenizer

> model = AutoModelForSequenceClassification.from\_pretrained(“judy93536/autotrain- albert\_pretrain\_news\_tuned\_signews\_perigon-78609140979”, use\_auth\_token=True)

I am getting

> NameError: name ‘connection\_requires\_http\_tunnel’ is not defined

> OSError: Can’t load the configuration of ‘judy93536/autotrain-distilrobert\_pretrained\_news\_tuned\_signews\_perigon-78604140970’. If you were trying to load it from ‘[Models - Hugging Face](https://huggingface.co/models)’, make sure you don’t have a local directory with the same name. Otherwise, make sure ‘judy93536/autotrain-distilrobert\_pretrained\_news\_tuned\_signews\_perigon-78604140970’ is the correct path to a directory containing a config.json file

I have been using this interface, never had this problem, I am using  
transformers == 4.31.0.dev0

Could there be a problem with with the hub?

---

<div class="post-metadata">

**Author:** ![judy93536](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@judy93536](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjudy93536)%5C
**Post date:** [July 30, 2023, 5:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-connect-to-huggingface%2F48721%2F2 "2023-07-30T17:49:51Z")

</div>

I wanted to provide an update. I restarted my system and everything is now working.

Thanks for your time!
