Rclone mount Failed to get StartPageToken

This Log

2019/10/25 08:48:51 INFO : Google drive root '': Failed to get StartPageToken: Get https://www.googleapis.com/drive/v3/changes/startPageToken?alt=json&prettyPrint=false&supportsAllDrives=true: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:55 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:55 DEBUG : serv_read: Token refresh failed try 1/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:56 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:56 DEBUG : serv_read: Token refresh failed try 2/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:57 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:57 DEBUG : serv_read: Token refresh failed try 3/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving

2019/10/25 08:48:58 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:58 DEBUG : serv_read: Token refresh failed try 4/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:59 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:59 DEBUG : serv_read: Token refresh failed try 5/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:51 INFO : Google drive root '': Failed to get StartPageToken: Get https://www.googleapis.com/drive/v3/changes/startPageToken?alt=json&prettyPrint=false&supportsAllDrives=true: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:55 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:55 DEBUG : serv_read: Token refresh failed try 1/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving 2019/10/25 08:48:56 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:56 DEBUG : serv_read: Token refresh failed try 2/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:57 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:57 DEBUG : serv_read: Token refresh failed try 3/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:58 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:58 DEBUG : serv_read: Token refresh failed try 4/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving
2019/10/25 08:48:59 DEBUG : serv_read: Loaded invalid token from config file - ignoring
2019/10/25 08:48:59 DEBUG : serv_read: Token refresh failed try 5/5: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: server misbehaving

This my rclone mount on my xpenology

/usr/bin/rclone mount serv_read: /volume1/gdrive/serv_read --config "/volume1/rclone/rclone.conf" --allow-other --dir-cache-time 96h --log-level DEBUG --log-file "/volume1/rclone/log/serv_read.log" --timeout 1h --umask 002

Looks like you are having a DNS issue on your router:

1 Like

Thank You
How can I fix router

I'd honestly just restart it first of all. (router not PC).

But before you spend a lot of time and effort on that - just confirm that the hypothesis si correct first by setting your DNS on the system manually (for now). Even if your routers DNS forwarding had jammed that won't matter if you use manual IPs.

I don't know what OS you are on so I can't give exact instructions, but a simple "how do i change my DNS" on google should give you a dozen guides with pictures. it's a pretty simple setting on your network card. Normally it will be on auto - which effectively means "use whatever DNS your router suggests". But you can use any you want - for example 8.8.8.8 (google's DNS). 8.8.4.4 is the secondary.

1 Like

This message is from the DNS code in the Go standard library

And this is the comment

		// None of the error codes make sense
		// for the query we sent. If we didn't get
		// a name error and we didn't get success,
		// the server is behaving incorrectly or
		// having temporary trouble.

So it looks like the DNS server sent something unexpected.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.