Hello,
I’m experiencing issues while trying to access Hugging Face from my institute’s network. Here are the details of my problem:
Error Message
ProxyError: (MaxRetryError(“HTTPSConnectionPool(host=‘huggingface.co’, port=443): Max retries exceeded with url: /api/whoami-v2 (Caused by ProxyError(‘Cannot connect to proxy.’, OSError(‘Tunnel connection failed: 403 Forbidden’)))”))
Steps Taken:
- Checked and unset the proxy variables.
- Changed the token key and tried to connect.
- Attempted to connect without the proxy, which results in a timeout.
- Verified that the network admin has not blocked the site.
Is it possible that Hugging Face has blocked the server? If so, how can I resolve this issue? Any help would be appreciated.
Sharing some other error messages.
Using {Slash->/} {Dot->.} to bypass 2 link limit to new user.Forgive )
Error Message 2
(base) guest@antpc:~$ curl -v http://test.hf.space/
Uses proxy env variable http_proxy == ‘[PROXY_ADDRESS]’
Trying [PROXY_IP]:WXYZ…
Connected to ([PROXY_IP]) port WXYZ (#0)
GET http:{Slash}{slash}test.hf.space/ HTTP/1.1
Host: test.hf.space
User-Agent: curl/7.81.0
Accept: /
Proxy-Connection: Keep-Alive
Mark bundle as not supporting multiuse
HTTP/1.1 302 Moved Temporarily
Server: squid/3.3.8
Date: [DATE_TIME]
Content-Length: 0
Location: https://[PROXY_DOMAIN]/cgi-bin/proxy.cgi?http://test.hf.space/
X-Cache: MISS from [PROXY_NAME]
X-Cache-Lookup: MISS from [PROXY_NAME]:WXYZ
Via: 1.1 [PROXY_NAME] (squid/3.3.8)
Connection: keep-alive
Connection #0 to host left intact
Error Message 3
curl -I https:{slash}{slash}huggingface{dot}co
HTTP/1.1 403 Forbidden
Server: squid/3.3.8
Date: Tue, 30 Jul 2024 20:08:03 GMT
Content-Type: text/html
Content-Length: 3139
X-Squid-Error: ERR_ACCESS_DENIED 0