Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant get this to work #10

Open
ameeno opened this issue Feb 28, 2022 · 0 comments
Open

Cant get this to work #10

ameeno opened this issue Feb 28, 2022 · 0 comments

Comments

@ameeno
Copy link

ameeno commented Feb 28, 2022

Hiya,

I have tried older and newer versions of the rclone containers, and I am using k3s either on ubuntu hosts or rancher desktop.

Whatever I do, I keep getting not able to refresh token error from google.

E0228 21:52:33.747528 3260 goroutinemap.go:150] Operation for "/var/lib/kubelet/plugins_registry/csi-rclone-reg.sock" failed. No retries permitted until 2022-02-28 21:54:35.747352979 +0000 UTC m=+7639.870302487 (durationBeforeRetry 2m2s). Error: RegisterPlugin error -- dial failed at socket /var/lib/kubelet/plugins_registry/csi-rclone-reg.sock, err: failed to dial socket /var/lib/kubelet/plugins_registry/csi-rclone-reg.sock, err: context deadline exceeded

is from k3s logs, and inside the cluster, I get:

2022/02/28 21:48:00 DEBUG : gd-personal: Loaded invalid token from config file - ignoring
2022/02/28 21:48:00 DEBUG : gd-personal: Token refresh failed try 5/5: Post "https://oauth2.googleapis.com/token": dial tcp 192.168.0.1:443: connect: connection refused
2022/02/28 21:48:01 DEBUG : pacer: low level retry 10/10 (error 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-personal:": Post "https://oauth2.googleapis.com/token": dial tcp 192.168.0.1:443: connect: connection refused)
2022/02/28 21:48:01 DEBUG : pacer: Rate limited, increasing sleep to 16.2740379s
2022/02/28 21:48:01 Failed to create file system for "gd-personal:": 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-personal:": Post "https://oauth2.googleapis.com/token": dial tcp 192.168.0.1:443: connect: connection refused
/data # 

Anyone tried getting this to work recently? I have also enabled a debug deployment in my cluster not using the daemonset and no joy :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant