Magisk-Modules-Repo / com.piyushgarg.rclone

251 stars 38 forks source link

failed to get token | TLS handshake timeout #58

Open AfridiShahriar opened 4 years ago

AfridiShahriar commented 4 years ago

I have done everything properly, but, it shows, this error code, while adding google drive storage: (tried many times, same error)

2020/05/03 16:29:07 Failed to configure token: failed to get token: Post https://oauth2.googleapis.com/token: net/http: TLS handshake timeout

cxyzzz commented 4 years ago

try replace rclone binary

AfridiShahriar commented 4 years ago

but, how? send me link of the rclone binary

(previous rclone binaries were also showing same errors .)

cxyzzz commented 4 years ago

@AfridiShahriar rclone official website https://rclone.org/, and add this

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 1.1.1.1

to /system/etc/resolv.conf

AfridiShahriar commented 4 years ago

dir it exactly u said. but still same error.

Got code 2020/05/06 12:12:51 Failed to configure token: failed to get token: Post https://oauth2.googleapis.com/token: net/http: TLS handshake timeout

cxyzzz commented 4 years ago

@AfridiShahriar sorry,i write wrong file path:cry:,the truly path is /system/etc/resolv.conf,it's a file used to DNS.

AfridiShahriar commented 4 years ago

renamed it from resolv-conf to resolv.conf rebooted.

same error (tried beta/stable/arm/arm64 bins)

2020/05/06 12:23:52 Failed to configure token: failed to get token: Post https://oauth2.googleapis.com/token: net/http: TLS handshake timeout

cxyzzz commented 4 years ago

@AfridiShahriar try using Termux install rclone,use rclone in Termux generate config file,If there is still have problem, it may be your network problem

AfridiShahriar commented 4 years ago

yes! termux install rclone had also the same problem. even in my othet phns.

BTW, how can i fix my network problem? I'm on Jio network, without any adblocker

cxyzzz commented 4 years ago

@AfridiShahriar I don't know:joy:

AfridiShahriar commented 4 years ago

i just used VPN , still same thing