New a google drive remote has a problem

If your browser doesn’t open automatically go to the following link: http://127.
0.0.1:53682/auth
Log in and authorize rclone for access
Waiting for code…
Got code
2017/10/12 18:02:33 Failed to configure token: failed to get token: Post https:/
/accounts.google.com/o/oauth2/token: dial tcp 172.217.24.13:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

The web page shows success

Does it work if you try it again?

Is there a firewall blocking rclone?

I have tried 3 times,but it also did not work.And my computer firewall has been turned off before I ues rclone.

The error message is saying that rclone had trouble contacting accounts.google.com with the IP address 172.217.24.13. That is amost certainly some kind of local networking problem. Are you in an office with a firewall, or a proxy?

Due to the existence of GFW, I can not connect to google server in China.
so I have to use the proxy…

Just did a test and works fine. Is that 172 internal? Yours is outside the range of what’s considered internal. Actually that 172 is google, look:

https://ipinfo.io/172.217.24.13

According to standards set forth in Internet Engineering Task Force (IETF) document RFC-1918, the following IPv4 address ranges have been reserved by the IANA for private internets, and are not publicly routable on the global internet:

172.16.0.0/12 IP addresses: 172.16.0.0 – 172.31.255.255

Here is the docs on how to set the proxy:

The environment variables HTTP_PROXY, HTTPS_PROXY and NO_PROXY (or the lowercase versions thereof). HTTPS_PROXY takes precedence over HTTP_PROXY for https requests.

The environment values may be either a complete URL or a “host[:port]”, in which case the “http” scheme is assumed.