Cyberduck Mountain Duck CLI

Opened 7 years ago

Closed 7 years ago

#6089 closed defect (fixed)

Looping listing containers

Reported by: whitt Owned by: dkocher
Priority: normal Milestone: 4.1.1
Component: openstack Version: 4.1
Severity: normal Keywords: loop
Cc: Architecture: Intel
Platform:

Description

Tried to get Cyberduck 4.1 (WIndows Vista) to work with Openstack Swift 1.4.1 with swauth. Applied modification to Cyberduck config file to enable it to talk to auth v1.0 but the new version goes into a strange loop - the stop button flashes and the status bar flips back and forth between authenticating and lisitng containers.

There is a note in the OpenStack Swift launchpad on this - a mac user sees the same issue: https://answers.launchpad.net/swift/+question/164840

Reverting to 4.01 things work fine. A colleague confirmed that 4.02 also works OK but had the same issue with 4.1.

Unfortunately, I did not retain the log files since I deleted the directory prior to re-installing 4.01.

Attachments (1)

cyberduck-4_1.jpg (55.5 KB) - added by btorch 7 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 7 years ago by dkocher

  • Component changed from core to openstack
  • Milestone set to 4.1.1
  • Owner set to dkocher
  • Summary changed from 4.1 looping with OpenStack Swift to Looping listing containers

comment:2 Changed 7 years ago by btorch

I've tested on a few openstack-swift SAIO setups with 1.3.0 and 1.4.1 versions and same issue using cyberduck 4.1 . Below is the cyberduck log against this temporary SAIO setup. One should be able to replicate on a VM by deploying an openstack-swift 1.41 quickly with https://github.com/btorch/swift-saio.sh.

GET /auth/v1.0 HTTP/1.1
x-auth-user: swiftops:swiftops
x-auth-key: swiftops
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Storage-Url: https://184.106.119.65:443/v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb
X-Storage-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
X-Trans-Id: txc2459d0ca8844c7486320b41e57ba8a2
Content-Length: 117
Date: Tue, 19 Jul 2011 14:49:25 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/auth?format=xml&prefix=v1.0%2F&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx71456f0ce290434a821fba3c3a7d4097
Date: Tue, 19 Jul 2011 14:49:26 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb?limit=10000&format=xml HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Accept-Ranges: bytes
Content-Length: 108
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx96e8535f80824f13b195d42f2c4872cf
Date: Tue, 19 Jul 2011 14:49:34 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/auth?format=xml&prefix=v1.0%2F&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx3e43786a31644a63ac761dc7f9dd7005
Date: Tue, 19 Jul 2011 14:49:35 GMT
Connection: keep-alive
HEAD /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txc8f5acf5547a41358c272dae91cf699b
Date: Tue, 19 Jul 2011 14:49:50 GMT
Connection: keep-alive

PUT /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Content-Length: 0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx2c20298572da47bd9fbb050340244ebd
Date: Tue, 19 Jul 2011 14:49:50 GMT
Connection: keep-alive

PUT /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1/subfolder1 HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Content-Length: 0
Content-Type: application/directory
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
Etag: d41d8cd98f00b204e9800998ecf8427e
Last-Modified: Tue, 19 Jul 2011 14:50:01 GMT
X-Trans-Id: tx90f71ee7dfe74de9951401e75af213aa
Date: Tue, 19 Jul 2011 14:50:05 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx22d023d553e44c95878c22eaa6ff4a39
Date: Tue, 19 Jul 2011 14:50:09 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx69fc6e3a8fcd46479ff0ef536850f8ba
Date: Tue, 19 Jul 2011 14:50:09 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txd0a1ee5ad3834948aa3dc155e241894f
Date: Tue, 19 Jul 2011 14:50:09 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx2bbc4bd92c1b4da299bbb220b21aa40f
Date: Tue, 19 Jul 2011 14:50:10 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx82289435f9ee4aaea52dd3d140769a77
Date: Tue, 19 Jul 2011 14:50:10 GMT
Connection: keep-alive

- marcelo

comment:3 Changed 7 years ago by btorch

Using curl

curl -ik -H "X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0" -X GET "https://184.106.119.65:443/v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F" 

HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx4fa722f5d6fc4e7986eedd30f51c5779
Date: Tue, 19 Jul 2011 15:08:22 GMT

<?xml version="1.0" encoding="UTF-8"?>
<container name="folder1"><object><name>subfolder1</name><hash>d41d8cd98f00b204e9800998ecf8427e</hash><bytes>0</bytes><content_type>application/directory</content_type><last_modified>2011-07-19T14:50:01.565790</last_modified></object></container>
}}

comment:4 Changed 7 years ago by dkocher

There is an invalid prefix v1.0 prepended. Do you have a invalid Path specified in the bookmark?

comment:5 Changed 7 years ago by btorch

Are you referring to the 3rd and 4th GET requests ? I'm not sure why cyberduck tries to do a GET on an account storage URL appending /auth and using prefix=v1.0 ...

On the GUI, I do have the Path set to /auth/v1.0 so that could be it ... I'll give it another try.

But, in order for authentication to work with openstack-swift & swauth, the Path needs to be set to /auth/v1.0 which I also do via the hidden configuration option.

ref: http://trac.cyberduck.ch/wiki/help/en/howto/openstack http://trac.cyberduck.ch/wiki/help/en/howto/preferences#Hiddenconfigurationoptions

comment:6 Changed 7 years ago by btorch

The loop still occurs after taking out the /auth/v1.0 from the Path on the GUI. I am also attaching a screenshot

GET /auth/v1.0 HTTP/1.1
x-auth-user: swiftops:swiftops
x-auth-key: swiftops
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Storage-Url: https://184.106.119.65:443/v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63
X-Storage-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
X-Trans-Id: txba744bd9fce741fa83c4b76ec56df138
Content-Length: 117
Date: Tue, 19 Jul 2011 22:43:15 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63?limit=10000&format=xml HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Accept-Ranges: bytes
Content-Length: 108
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx10dd94a1e6d74c97a066cff6b332b704
Date: Tue, 19 Jul 2011 22:43:15 GMT
Connection: keep-alive

HEAD /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx84fbda7abe784149b94dc636521d98c2
Date: Tue, 19 Jul 2011 22:43:32 GMT
Connection: keep-alive

PUT /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Content-Length: 0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txec45ec740f9e4b428cb9383beaa123d3
Date: Tue, 19 Jul 2011 22:43:33 GMT
Connection: keep-alive

PUT /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1/subfolder1 HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Content-Length: 0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
Etag: d41d8cd98f00b204e9800998ecf8427e
Last-Modified: Tue, 19 Jul 2011 22:43:41 GMT
X-Trans-Id: txc0c7527b0d6749e4a66362962b3c5652
Date: Tue, 19 Jul 2011 22:43:41 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx2acb163ded7d451095a4d5f6c1af83d8
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txfe039045ce55486f8882e5d67933d748
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txd0868e19285a4ab7baef9d9486960419
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txf8c61eefb20341579152e057a0e37305
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx92207668db8f42078423a4aa983ee7f0
Date: Tue, 19 Jul 2011 22:43:43 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx818f5e46b5b4476ba60b674149073bc5
Date: Tue, 19 Jul 2011 22:43:43 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx8bb4bca2efa8476e9235be647f419c2d
Date: Tue, 19 Jul 2011 22:43:43 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx2c635b2dc1f94687b58d0872741b4345
Date: Tue, 19 Jul 2011 22:43:44 GMT
Connection: keep-alive

Changed 7 years ago by btorch

comment:7 follow-up: Changed 7 years ago by dkocher

#6095 closed as duplicate.

comment:8 in reply to: ↑ 7 ; follow-up: Changed 7 years ago by btorch

Replying to dkocher:

#6095 closed as duplicate.

I saw that you askedfor a test installation on this closed duplicate ticket... do you still need it ? I can give you temporary access to the SAIO VM I used on the previous post. Just let me know how long do you need up,

comment:9 in reply to: ↑ 8 Changed 7 years ago by dkocher

Replying to btorch:

Replying to dkocher:

#6095 closed as duplicate.

I saw that you askedfor a test installation on this closed duplicate ticket... do you still need it ? I can give you temporary access to the SAIO VM I used on the previous post. Just let me know how long do you need up,

Yes, there is still a need for that. Please contact me at feedback@….

comment:10 Changed 7 years ago by dkocher

  • Resolution set to fixed
  • Status changed from new to closed

In r8929.

Note: See TracTickets for help on using tickets.
swiss made software