-
Notifications
You must be signed in to change notification settings - Fork 140
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
gr::AuthAgent::CheckHttpResponse exception #4
Comments
Please retry with the latest master, I suppose it's the same bug as in #5 |
Seems ok now. I have tested it on a couple of files and don't get the error anymore |
Happened to me as well today:
[PN2gr4http15HttpResponseTagE] = 412 Grive version: ~/Google Drive$ grive --version |
Also, when I upload files, I get a lot of 412 response: grive |
Please retry with the latest master, it should print response body of these 412's - maybe we'll learn something about them at last... |
You can also try the new |
I'm now also getting a lot of intermittent 412 errors myself... But I don't yet understand why. They usually go away after restarting grive, but I end up with duplicated files... |
I believe 412 is fixed in master by using multipart uploads - now file metadata and contents are uploaded in a single request so the situation where the second request "does not see" the result of the first one due to the async nature of google drive service is impossible. |
Hello,
after few lines (random) of sync an exception occurs. Restarting grive continues the sync then the exception again.
Here is the output (some parts overrided with XXXXX for privacy)
Reading local directories
Synchronizing folders
Reading remote server file list
Detecting changes from last sync
Synchronizing files
sync "./XXXXXXXX" deleted in local. deleting remote
sync "./XXXXXXX" deleted in local. deleting remote
sync "./XXXXXXXX" deleted in local. deleting remote
sync "./XXXXXXXX" deleted in local. deleting remote
sync "./XXXXXXXX" deleted in local. deleting remote
sync "./XXXXXXXXX deleted in local. deleting remote
sync "./XXXXXXXXX" deleted in local. deleting remote
exception: /home/mkauzlar/Downloads/grive2/libgrive/src/protocol/AuthAgent.cc(191): Throw in function long int gr::AuthAgent::CheckHttpResponse(long int, const string&, const gr::http::Header&)
Dynamic exception type: boost::exception_detail::clone_implgr::http::Error
[gr::http::HttpResponseTag_] = 412
[gr::http::UrlTag_] = https://www.googleapis.com/drive/v2/files/XXXXXXXXX/trash
[gr::http::HeaderTag*] = If-Match: "XXXXXXXXX"
Authorization: Bearer XXXXXXXXXXXXXX
GData-Version: 3.0
The whole drive sync (download) for the first time went ok (yesterday). This is happening now that I deleted some files and tried to resync.
Regards
M
The text was updated successfully, but these errors were encountered: