|
|
本帖最后由 wxlg1117 于 2023-4-14 15:23 编辑
google改版后每隔几天就过期:
- 2023/04/14 15:13:07 Failed to create file system for "gd:/": couldn't find root directory ID: Get "https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect gd:": oauth2: cannot fetch token: 400 Bad Request
- Response: {
- "error": "invalid_grant",
- "error_description": "Token has been expired or revoked."
- }
复制代码
而且续期还得本地rclone挂代理,开浏览器过google验证才能得到码:
- http://127.0.0.1:53682/auth?state=pch_4-5_1tVw0Z9-4kx3Ox
复制代码
- rclone authorize "drive" "eyJjbGllbnRfaWQiOiI4MDIyODMwODE0OTYtY3BhbzNsdmEybnJ0dnBqbWpqY3Q1N2IyNGRlZ2cwbGouYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJjbGllbnRfc2VjcmV0IjoiR09DU1BYLV9Tc21PSmxOX3BMckFtRlJkXy1mTEh2a19XTUQiLCJzY29wZSI6ImRyaXZlIn0" --auth-no-open-browser
复制代码
各位大佬们都是怎么搞的长时间续期的啊?
|
|