Can't login with huggingface-cli
Hi,I’m having trouble using huggingface-cli. When I attempt to login with:huggingface-cli loginAnd enter my token I keep getting this traceback. This is on Windows 11. Does anybody know a fix? I’ve been blocked on this for 2 days so doesn’t seem to be transitory…Traceback (most recent call last):File “C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\connectionpool.py”, line 793, in urlopenresponse = self._make_request(^^^^^^^^^^^^^^^^^^^File “C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\connectionpool.py”, line 491, in _make_requestraise new_eFile “C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\connectionpool.py”, line 467, in _make_requestself._validate_conn(conn)File “C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\connectionpool.py”, line 1099, in _validate_connconn.connect()File “C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\connection.py”, line 653, in connectsock_and_verified = _ssl_wrap_socket_and_match_hostname(^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File “C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\connection.py”, line 806, inssl_wrap_socket_and_match_hostnamessl_sock = ssl_wrap_socket(^^^^^^^^^^^^^^^^File "C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\util\ssl.py", line 465, in ssl_wrap_socketssl_sock =ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "C:\Users\scott\anaconda3\envs\hf\Lib\site-packages\urllib3\util\ssl.py", line 509, in _ssl_wrap_socket_implreturn ssl_context.wrap_socket(sock, server_hostname=server_hostname)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File “C:\Users\scott\anaconda3\envs\hf\Lib\ssl.py”, line 517, in wrap_socketreturn self.sslsocket_class._create(^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File “C:\Users\scott\anaconda3\envs\hf\Lib\ssl.py”, line 1104, in _createself.do_handshake()File “C:\Users\scott\anaconda3\envs\hf\Lib\ssl.py”, line 1382, in do_handshakeself._sslobj.do_handshake()ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
2024-05-02T16:15:52Z
I’m facing the exact same problem …Hoping for some official answers!