-
Notifications
You must be signed in to change notification settings - Fork 5
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
When I use own API key, git-annex-remote-googledrive
have to authenticate again after few hours later.
#87
Comments
Thank you for your reports and sorry for the late reply. Can you start a run with |
I changed to my main laptop to macbook. So, I couldn't see this issue frequently.
You mean I have to run |
Here is the log which I got the same issue again at my office. I got the same phenomenon and re-configure( git-annex version: 10.20230407
build flags: Assistant Webapp Pairing FsEvents TorrentParser MagicMime Benchmark Feeds Testsuite S3 WebDAV
dependency versions: aws-0.24 bloomfilter-2.0.1.0 cryptonite-0.30 DAV-1.3.4 feed-1.3.2.1 ghc-9.4.4 http-client-0.7.13.1 persistent-sqlite-2.13.1.1 torrent-10000.1.3 uuid-1.3.15 yesod-1.6.2.1
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL X*
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs httpalso borg hook external
operating system: darwin x86_64
supported repository versions: 8 9 10
upgrade supported from repository versions: 0 1 2 3 4 5 6 7 8 9 10 |
@Lykos153 Did you check the log file? My credential file was |
I did, but it was disappointingly inconclusive. I need to add additional debug output to AnnexRemote.
This is expected behavior. The credentials get absorbed to a file in The credentials that you see git-annex handing to the remote (timestamp
It does, but it only uses the credentials provided by git-annex through the protocol. The setup function is the only part of the code to access the original token file. |
I've digged and tested for a long time. The two things I needed to resolve this issue.
I've had no issue with Thank you. |
I can upload data using my own Drive API key.
git-annex-remote-googledrive
keep sayinggit-annex-remote-googledrive setup
for authentication after few hours later.I store and synchronize data between Laptop and Desktop using git-annex.
-J
option seems to have a race condition issue, So usually I use default(single thread) uploading, which means really slow.Sometimes, uploading to google drive failed in progress because of this reauthentication.
This re-authentication is a really annoying.
The key is the same of rclone. But rclone doesn't have this issue.
Usually I don't use this key in rclone while I back up data to google drive using git-annex.
The text was updated successfully, but these errors were encountered: