Cannot login in to hugging face and cannot access the dataset

I logged in hugging face using notebook_login(). After that, I am trying to download the dataset but I am getting this following error in the login cell:
ConnectionError: HTTPSConnectionPool(host=‘’, port=443): Max retries exceeded with url: /api/whoami-v2 (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x7f00b9197a20>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))