<div dir="ltr">Yes tempurl and and tempauth are tessted together, your pipeline looks good.<div><br></div><div>"allow_overrides = false" in the tempauth section could cause this, but it's default is true.<br>
</div><div><br></div><div>Are you creating the tempurl's with "bin/swift-temp-url" ???</div><div><br></div><div><div>clayg@swift:~$ swift post -m temp-url-key:asdf</div></div><div><br></div><div><div>clayg@swift:~$ swift stat -v</div>
<div>StorageURL: <a href="http://localhost:8080/v1/AUTH_test">http://localhost:8080/v1/AUTH_test</a></div><div>Auth Token: AUTH_tk63d7b585c939428380a97abd1f36292a</div><div>   Account: AUTH_test</div><div>Containers: 2</div>
<div>   Objects: 2</div><div>     Bytes: 348</div><div>Meta Temp-Url-Key: asdf</div><div>X-Timestamp: 1374006741.08564</div><div>Content-Type: text/plain; charset=utf-8</div><div>Accept-Ranges: bytes</div></div><div><br></div>
<div><div>clayg@swift:~$ swift-temp-url GET 1200 /v1/AUTH_test/mycontainer/swift.tar asdf</div><div>/v1/AUTH_test/mycontainer/swift.tar?temp_url_sig=b9e76c3caa12d1f47b9255a359c31a95b44e99fe&temp_url_expires=1374049125</div>
</div><div><br></div><div><div>clayg@swift:~$ curl "<a href="http://localhost:8080/v1/AUTH_test/mycontainer/swift.tar?temp_url_sig=b9e76c3caa12d1f47b9255a359c31a95b44e99fe&temp_url_expires=1374049125">http://localhost:8080/v1/AUTH_test/mycontainer/swift.tar?temp_url_sig=b9e76c3caa12d1f47b9255a359c31a95b44e99fe&temp_url_expires=1374049125</a>" -I</div>
<div>HTTP/1.1 200 OK</div><div>Content-Length: 21073920</div><div>Accept-Ranges: bytes</div><div>Last-Modified: Wed, 17 Jul 2013 07:58:57 GMT</div><div>Etag: a3bef56fdf0721d07920e32fe4e65737</div><div>X-Timestamp: 1374047937.12682</div>
<div>Content-Type: application/x-tar</div><div>Date: Wed, 17 Jul 2013 07:59:20 GMT</div><div><br></div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 12:39 AM, Jonathan Lu <span dir="ltr"><<a href="mailto:jojokururu@gmail.com" target="_blank">jojokururu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi, all stackers,<br>
         Can I use the tempauth and tempurl at the same time? I will set
    a long tempauth timeout time for internal service and a short
    tempurl timeout for the ohters?<br>
    <br>
        My proxy-server.conf is quite easy:<br>
        [pipeline:main]<br>
        pipeline = healthcheck cache tempurl tempauth proxy-server<br>
    <br>
        [app:proxy-server]<br>
        use = egg:swift#proxy<br>
        allow_account_management = true<br>
        account_autocreate = true<br>
    <br>
        [filter:tempauth]<br>
        use = egg:swift#tempauth<br>
        ...<br>
    <br>
        [filter:tempurl]<br>
        use = egg:swifttempurl#tempurl<br>
    <br>
        It works well in tempauth. But after I set the
    X-Account-Meta-Temp-URL-Key header on the Swift account and try to
    use tempurl, I got the "401 Unauthorized: Temp URL invalid"
    response.<br>
    <br>
    Thanks,<br>
    Jonathan Lu<br>
    <span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:13px;white-space:normal;font-family:Verdana,Geneva,sans-serif;word-spacing:0px"></span>
  </div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>