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

Refreshing access token...fail #57

Closed
paha77 opened this Issue Mar 21, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@paha77
Copy link

paha77 commented Mar 21, 2014

Hi, it's me again. As I was able to mount my drive, I started uploading files (in the size of 1-2 Mb). After a while I got this in gdfuse.log:

Refreshing access token...fail (error_code=Exception) Error refreshing access token (try=0): Exception:GaeProxy.ServerError("error_code Exception") Backtrace: fail (error_code=Exception) Error refreshing access token (try=1):

curl.log says:

[61.928408] curl: header out: GET /refreshtoken?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX HTTP/1.1
User-Agent: google-drive-ocamlfuse (0.5.3) gapi-ocaml/0.2.1/Unix
Host: gd-ocaml-auth.appspot.com
Accept: */*
Accept-Encoding: identity

[62.124177] curl: header in: HTTP/1.1 200 OK
[62.124611] curl: header in: Cache-Control: no-cache
[62.124791] curl: header in: Content-Type: text/plain
[62.124973] curl: header in: Vary: Accept-Encoding
[62.125141] curl: header in: Date: Fri, 21 Mar 2014 12:08:41 GMT
[62.125308] curl: header in: Server: Google Frontend
[62.125474] curl: header in: Alternate-Protocol: 443:quic
[62.125651] curl: header in: Transfer-Encoding: chunked
[62.125819] curl: header in:
[62.126005] curl: data in: 00000001
E
00000001
x
00000001
c
00000001
e
0005
ption
0

[62.126199] curl: info: Connection #0 to host gd-ocaml-auth.appspot.com left intact
[62.126441] curl: info: Closing connection #0

The problem remains until I revoke the access in google cloud console and re-authenticate.

@astrada

This comment has been minimized.

Copy link
Owner

astrada commented Mar 21, 2014

Check the config file, it should contain your client_id and client_secret. If not, try adding them.

@paha77

This comment has been minimized.

Copy link

paha77 commented Mar 21, 2014

Thanks again.

@astrada astrada closed this Mar 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment