I had precisely the same issue on Windows ten. It occurs being due to the aws cli not looking through the internet proxy placing in the Windows registry. Fastened same error by placing the environment variables HTTP_PROXY and HTTPS_PROXY to the corporate Net proxy. Hope it can help someone! 2 While this might make the error go away, disabling ss