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

grive2 0.4.1 exception #31

Closed
rubber-ant opened this issue Sep 30, 2015 · 6 comments
Closed

grive2 0.4.1 exception #31

rubber-ant opened this issue Sep 30, 2015 · 6 comments

Comments

@rubber-ant
Copy link

exception: /home/XXX/Downloads/grive2-0.4.1/libgrive/src/protocol/AuthAgent.cc(202): Throw in function long int gr::AuthAgent::CheckHttpResponse(long int, const string&, const gr::http::Header&)
Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4http5ErrorEEE
[PN2gr4http15ResponseBodyTagE] =
[PN2gr4http15ResponseCodeTagE] = 404
[PN2gr4http17RequestHeadersTagE] = Authorization: Bearer ya29._gHj5T4-GPFiSk7ix2LDZhdaY18XRctDZTuCJkNnA7TOIiI3F0PCdxoQ204JAhyudsVJ
GData-Version: 3.0

[PN2gr4http18ResponseHeadersTagE] = HTTP/1.1 404 Not Found
X-GUploader-UploadID: XXX-XXXXXX-XXXX_XXX-XZXXXXX
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: false
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Length, Content-MD5, Content-Range, Content-Type, Date, GData-Version, Host, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, Origin, OriginToken, Pragma, Range, Slug, Transfer-Encoding, X-ClientDetails, X-GData-Client, X-GData-Key, X-Goog-AuthUser, X-Goog-PageId, X-Goog-Encode-Response-If-Executable, X-Goog-Correlation-Id, X-Goog-Request-Info, X-Goog-Experiments, x-goog-iam-authority-selector, x-goog-iam-authorization-token, X-Goog-Spatula, X-Goog-Upload-Command, X-Goog-Upload-Content-Disposition, X-Goog-Upload-Content-Length, X-Goog-Upload-Content-Type, X-Goog-Upload-File-Name, X-Goog-Upload-Offset, X-Goog-Upload-Protocol, X-Goog-Visitor-Id, X-HTTP-Method-Override, X-JavaScript-User-Agent, X-Pan-Versionid, X-Origin, X-Referer, X-Upload-Content-Length, X-Upload-Content-Type, X-Use-HTTP-Status-Code-Override, X-YouTube-VVT, X-YouTube-Page-CL, X-YouTube-Page-Timestamp
Access-Control-Allow-Methods: GET,OPTIONS
Date: Wed, 30 Sep 2015 09:44:47 GMT
Expires: Wed, 30 Sep 2015 09:44:47 GMT
Cache-Control: private, max-age=0
Content-Length: 0
Server: UploadServer
Content-Type: text/html; charset=UTF-8
Alternate-Protocol: 443:quic,p=1
Alt-Svc: quic=":443"; p="1"; ma=604800

[PN2gr4http6UrlTagE] = https://doc-0o-4g-docs.googleusercontent.com/docs/securesc/XXXX/ZZZZ//PPPPPP/DDDDDDD?h=05713018181182417404&e=download&gd=true

@vitalif
Copy link
Owner

vitalif commented Sep 30, 2015

Could it be possible that grive2 was running for a very long time before this error occurred?

@rubber-ant
Copy link
Author

Doesn't look like :

ps -aux | grep grive
username 5753 0.0 0.0 9496 2232 pts/1 S+ 14:21 0:00 grep --color=auto grive

@vitalif
Copy link
Owner

vitalif commented Sep 30, 2015

ps -aux can't give an answer to this question :)
I mean could it be so that your sync ran for several hours and then failed with the error above?
REST API doc says downloadUrl's are short-lived and are only valid for several hours... and grive first retrieves all downloadUrls and then starts to download.

Also, does this error reproduce?

@rubber-ant
Copy link
Author

yes run again

grive -V :
at the begin shows ????
config file name "./.grive"
last sync time: 1970-01-01T00:00:00.000Z
Reading local directories
file .grive is ignored by grive
Synchronizing folders
....
....
...
end of this show again the same error

@rubber-ant
Copy link
Author

used 0.4.0-1+git20150928webupd8vivid1 from ppa:nilarimogard/webupd8
and it works without errors

@vitalif
Copy link
Owner

vitalif commented Oct 2, 2015

I wanted to suggest you using --log-http, but OK if you don't have this problem anymore :)

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

2 participants