Connection problems with Google Drive

Downloaded the Linux binary, generated a token file for Google drive,

Then I run:
duplicacy init mywork gcd://Duplicacy

It asks me for the path to the token file, I supply it, hang.

I check for a hidden folder called .duplicacy, it exists, it’s empty. Still hanging.
What did I do wrong here?

After a long hang, I got this back.

[0] Maximum number of retries reached (backoff: 64, attempts: 15)
Failed to load the Google Drive storage at gcd://Duplicacy: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28name%2C+mimeType%2C+id%2C+size%29&q=name+%3D+%27Duplicacy%27+and+%27root%27+in+parents+and+trashed+%3D+false+: dial tcp: lookup www.googleapis.com on [::1]:53: read udp [::1]:39805->[::1]:53: read: connection refused

Most likely you have a firewall somewhere that blocks www.googleapis.com.

Thanks.

I’m able to rclone just fine, which uses Google API. Any other thoughts?

I read the error message again. It actually means the DNS resolver on your localhost is down:

dial tcp: lookup www.googleapis.com on [::1]:53: read udp [::1]:39805->[::1]:53: read: connection refused

I don’t know if rclone uses the same api or the same endpoint, but the error message clearly tells that something is wrong with the DNS resolution.