jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Broudy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-708) Google Cloud Storage does not renew its authorization token periodically
Date Fri, 15 May 2015 17:38:00 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545845#comment-14545845
] 

Daniel Broudy commented on JCLOUDS-708:
---------------------------------------

I ran a script that calls getBlob every 10 minutes for 18 hours and it has not hit this issue.


The script I used is here:

https://github.com/danbroudy/jclouds-examples/blob/reproAuth/google-blob/src/main/java/org/jclouds/examples/google/blob/MainApp.java

> Google Cloud Storage does not renew its authorization token periodically
> ------------------------------------------------------------------------
>
>                 Key: JCLOUDS-708
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-708
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore, jclouds-labs-google
>    Affects Versions: 1.8.1
>            Reporter: Andrew Gaul
>            Assignee: Daniel Broudy
>            Priority: Critical
>              Labels: google-cloud-storage
>
> While testing the latest GCS pull request[1] I found that starting my application then
waiting 12 hours resulted in authentication errors:
> {noformat}
> org.jclouds.rest.AuthorizationException: {
>  "error": {
>   "errors": [
>    {
>     "domain": "global",
>     "reason": "authError",
>     "message": "Invalid Credentials",
>     "locationType": "header",
>     "location": "Authorization"
>    }
>   ],
>   "code": 401,
>   "message": "Invalid Credentials"
>  }
> }
> {noformat}
> Restarting my application worked around this issue although GCS should renew its authorization
token periodically as other providers do.
> [1] https://github.com/jclouds/jclouds-labs-google/pull/48



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message