jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diwaker Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-231) Temp signed URLs renew forever against HPCS
Date Mon, 05 Aug 2013 21:18:47 GMT
Diwaker Gupta created JCLOUDS-231:
-------------------------------------

             Summary: Temp signed URLs renew forever against HPCS
                 Key: JCLOUDS-231
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-231
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-blobstore
    Affects Versions: 1.6.2
            Reporter: Diwaker Gupta
            Priority: Critical


When I run configurable temp signed URL tests against HPCS (does require https://github.com/jclouds/jclouds/pull/98)
against current master, the test hangs and then eventually times out. The wire log shows that
even after the URL expires (as expected), we continue to renew and retry forever. The log
is filled with retries:

{noformat}
2013-08-05 14:12:16,738 DEBUG [jclouds.headers] (pool-3-thread-1) >> GET https://region-a.geo-1.objects.hpcloudsvc.com/v1/53176293441764/diwaker-blobstore0/hello?temp_url_sig=53176293441764%3AMRUXXUBT9B4MDDGFFNH4%3A8c142287df0b2492085b84b03ea2ac257c9afe64&temp_url_expires=1375737135
HTTP/1.1
2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << HTTP/1.1 401 Unauthorized2013-08-05
14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Date: Mon, 05 Aug 2013 21:12:16
GMT
2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << X-Trans-Id: tx3e2bacd31b0846c7929902234379eaac
2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Connection: keep-alive
2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Type: text/plain
2013-08-05 14:12:16,845 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Length:
35
2013-08-05 14:12:16,846 DEBUG [jclouds.headers] (pool-3-thread-1) >> GET https://region-a.geo-1.objects.hpcloudsvc.com/v1/53176293441764/diwaker-blobstore0/hello?temp_url_sig=53176293441764%3AMRUXXUBT9B4MDDGFFNH4%3A8c142287df0b2492085b84b03ea2ac257c9afe64&temp_url_expires=1375737135
HTTP/1.1
2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << HTTP/1.1 401 Unauthorized
2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Date: Mon, 05 Aug
2013 21:12:16 GMT
2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << X-Trans-Id: tx39c73583d34a49f48e1b4c47f02479e5
2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Connection: keep-alive
2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Type: text/plain
2013-08-05 14:12:16,950 DEBUG [jclouds.headers] (pool-3-thread-1) << Content-Length:
35
{noformat}

More than 1200 retries within a minute:

{noformat}
$ hpcloud-objectstorage grep -c '401 Unauthorized' target/test-data/jclouds-wire.log
1199
{noformat}

With `git bisect`, I've also verified that this regression was introduced with commit 7b0cd9be43a6035a71652bb5c9f3cd604e18eb9d.
After reverting that commit, the test succeeds as expected. This is a regression from jclouds
1.6.1.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message