Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Hello everyone,

I am getting the error: Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) when I try to pull images, I have read tons of answers and applied them, restarted my Windows machine and Docker Desktop multiple times, the error is still there, my machine has direct access to the internet and not behind a proxy,

The command I am executing to pull is images is docker-compose up -d for the docker-compose.yaml in this repo(GitHub - dbluxo/quickstart-thanos: A docker-compose stack for Thanos monitoring)

I have been on this error since yesterday, please help!!!