<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    I seem to be having this exact problem, but the fix doesn't work for
    me:<br>
    <br>
    <a href="https://answers.launchpad.net/swift/+question/157858">https://answers.launchpad.net/swift/+question/157858</a><br>
    <br>
    No matter what I set the default_swift_cluster to, or if I add a
    bind_ip to the DEFAULT section, I can't get X-Storage-Url to come
    back as anything other than localhost:<br>
    <br>
    <tt>dkrider@workstation:~$ curl -k -v -H 'X-Storage-User:
      test:tester' -H 'X-Storage-Pass: testing'
      <a class="moz-txt-link-freetext" href="https://">https://</a><external_ip>:8080/auth/v1.0<br>
      * About to connect() to <external_ip> port 8080 (#0)<br>
      *   Trying <external_ip>... connected<br>
      * successfully set certificate verify locations:<br>
      *   CAfile: none<br>
        CApath: /etc/ssl/certs<br>
      * SSLv3, TLS handshake, Client hello (1):<br>
      * SSLv3, TLS handshake, Server hello (2):<br>
      * SSLv3, TLS handshake, CERT (11):<br>
      * SSLv3, TLS handshake, Server finished (14):<br>
      * SSLv3, TLS handshake, Client key exchange (16):<br>
      * SSLv3, TLS change cipher, Client hello (1):<br>
      * SSLv3, TLS handshake, Finished (20):<br>
      * SSLv3, TLS change cipher, Client hello (1):<br>
      * SSLv3, TLS handshake, Finished (20):<br>
      * SSL connection using AES256-SHA<br>
      * Server certificate:<br>
      *      subject: C=AU; ST=Some-State; O=Internet Widgits Pty Ltd<br>
      *      start date: 2012-08-14 13:51:32 GMT<br>
      *      expire date: 2012-09-13 13:51:32 GMT<br>
      * SSL: unable to obtain common name from peer certificate<br>
      > GET /auth/v1.0 HTTP/1.1<br>
      > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
      OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3<br>
      > Host: <external_ip>:8080<br>
      > Accept: */*<br>
      > X-Storage-User: test:tester<br>
      > X-Storage-Pass: testing<br>
      > <br>
      < HTTP/1.1 200 OK<br>
      < X-Storage-Url:
      <a class="moz-txt-link-freetext" href="https://127.0.0.1:8080/v1/AUTH_e6ecde05-959a-4898-907b-5bec495fa4f0">https://127.0.0.1:8080/v1/AUTH_e6ecde05-959a-4898-907b-5bec495fa4f0</a><br>
      < X-Storage-Token: AUTH_tk36c97915aed242b7b9a93aa05c06ba0c<br>
      < X-Auth-Token: AUTH_tk36c97915aed242b7b9a93aa05c06ba0c<br>
      < Content-Length: 113<br>
      < Date: Tue, 28 Aug 2012 18:38:34 GMT<br>
      < <br>
      * Connection #0 to host <external_ip> left intact<br>
      * Closing connection #0<br>
      * SSLv3, TLS alert, Client hello (1):<br>
      {"storage": {"default": "local", "local":
      <a class="moz-txt-link-rfc2396E" href="https://127.0.0.1:8080/v1/AUTH_e6ecde05-959a-4898-907b-5bec495fa4f0">"https://127.0.0.1:8080/v1/AUTH_e6ecde05-959a-4898-907b-5bec495fa4f0"</a>}}</tt><br>
    <br>
    Have I run into a bug, or is there something simple I'm overlooking
    in the config file?<br>
    <br>
    /etc/swift/proxy-server.conf<br>
    -----------------<br>
    <tt>[DEFAULT]<br>
      cert_file = /etc/swift/cert.crt<br>
      key_file = /etc/swift/cert.key<br>
      bind_port = 8080<br>
      workers = 8<br>
      user = swift<br>
      <br>
      [pipeline:main]<br>
      pipeline = healthcheck cache swauth proxy-server<br>
      <br>
      [filter:healthcheck]<br>
      use = egg:swift#healthcheck<br>
      <br>
      [filter:cache]<br>
      use = egg:swift#memcache<br>
      memcache_servers = 10.1.7.10:11211,10.1.7.11:11211<br>
      <br>
      [filter:swauth]<br>
      use = egg:swauth#swauth<br>
      set_log_level = DEBUG<br>
      super_admin_key = asdfqwer<br>
      default_swift_cluster =
      local#<a class="moz-txt-link-freetext" href="https://">https://</a><external_ip>:8080/v1#<a class="moz-txt-link-freetext" href="https://127.0.0.1:8080/v1">https://127.0.0.1:8080/v1</a><br>
      <br>
      [app:proxy-server]<br>
      use = egg:swift#proxy<br>
      allow_account_management = true<br>
      account_autocreate = true<br>
      log_level = DEBUG</tt><br>
  </body>
</html>