libcloud-notifications mailing list archives

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

     [ https://issues.apache.org/jira/browse/LIBCLOUD-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tomaz Muraus resolved LIBCLOUD-835.
-----------------------------------
    Resolution: Fixed
      Assignee: Tomaz Muraus

Merged, thanks!

> 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
>            Assignee: Tomaz Muraus
>            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