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

Andrew Phillips commented on JCLOUDS-231:
-----------------------------------------

> we introduced this in 1.6.2; 1.6.1 does not have this issue.

Yes, indeed, sorry. Reverting.
                
> 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.1
>            Reporter: Diwaker Gupta
>            Priority: Blocker
>             Fix For: 1.6.2
>
>
> 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

Reply via email to