Getting a timeout whenever i try to pull an image on my mac

docker login -u kirath001
Password:
Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

has anyone encountered this before, i tried using access tokens, username and password, tried logging in and out multiple times as well

Hello!

What is the os environment where you installed your docker?