libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-835) Malformed auth token causes fatal exception in Google Storage driver
Date Sat, 30 Jul 2016 11:17:20 GMT

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

ASF GitHub Bot commented on LIBCLOUD-835:
-----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/libcloud/pull/844


> Malformed auth token causes fatal exception in Google Storage driver
> --------------------------------------------------------------------
>
>                 Key: LIBCLOUD-835
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-835
>             Project: Libcloud
>          Issue Type: Bug
>            Reporter: Paul Tiplady
>            Priority: Critical
>
> One of my Django instances has started hitting a libcloud error which is causing a fatal
exception, bringing down the instance.
> It looks like libcloud is writing invalid JSON into the auth token, which then causes
a JSON parse error when it is subsequently read back in.
> Here's the token that's written:
> {code}
> $ cat /root/.google_libcloud_auth.<project>
> {"access_token": "<redacted>", "token_type": "Bearer", "expire_time": "2016-07-12T16:45:09Z",
"expires_in": 3559}09Z", "expires_in": 3537}
> {code}
> Note the two "expires_in" keys, one with a nonsense value of `3559}09Z"`
> Environment:
> Python 3.4.4 
> apache-libcloud==1.0.0



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

Mime
View raw message