[Bug]: Unable to reconnect Proton Drive after token expires #233
Open
Description
Bug Description
Problem:
$ snap run --shell celeste
$ rclone config reconnect 'Proton Drive:'
Error: didn't find backend called "protondrive"
Expected behavior:
$ rclone config reconnect Dropbox:
Already have a token - refresh?
y) Yes (default)
n) No
y/n>
Make sure your Redirect URL is set to "http://localhost:53682/" in your custom config.
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n>
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=[redacted]
Log in and authorize rclone for access
Waiting for code...
Got code
Same problem occurs in the Flatpak version. A "Reconnect" menu option in the GUI would be nice maybe?
Config:
[Proton Drive]
type = protondrive
password = [redacted]
username = [redacted]@proton.me
2fa = [redacted]
client_uid = [redacted]
client_access_token = [redacted]
client_refresh_token = [redacted]
client_salted_key_pass = [redacted]
[Google Drive]
type = drive
client_id = [redacted].apps.googleusercontent.com
client_secret = [redacted]
token = {"access_token":"[redacted]","token_type":"Bearer","refresh_token":"[redacted]","expiry":"2024-10-30T01:14:51.800493213-05:00"}
team_drive =
[Dropbox]
type = dropbox
client_id = [redacted]
client_secret = [redacted]
token = {"access_token":"[redacted]","token_type":"bearer","expiry":"2024-11-04T11:59:03.255250574-06:00"}
Installation Source
Snap
What version of Celeste are you using?
0.8.3
Storage Provider
Proton Drive