[Cyberduck-trac] [Cyberduck] #11196: Failure to read attributes on S3 downloads (400 Bad Request on HEAD /DIR/file)
Cyberduck
trac at cyberduck.io
Fri Oct 9 18:21:18 UTC 2020
#11196: Failure to read attributes on S3 downloads (400 Bad Request on HEAD
/DIR/file)
-------------------------+-------------------------
Reporter: paolieri | Owner: dkocher
Type: defect | Status: reopened
Priority: high | Milestone:
Component: s3 | Version: 7.6.2
Severity: critical | Resolution:
Keywords: | Architecture: Intel
Platform: macOS 10.15 |
-------------------------+-------------------------
Changes (by paolieri):
* status: closed => reopened
* resolution: worksforme =>
Comment:
The problem is easily reproducible from my end and it persists even after
adding the s3:GetBucketLocation permission.
I can provide login information to a test bucket.
The sequence of requests I see in the logs is
{{{
2020-10-09 11:16:09.760054-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] HEAD
/test.txt HTTP/1.1
2020-10-09 11:16:09.760085-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Date: Fri, 09 Oct 2020 18:16:09 GMT
2020-10-09 11:16:09.760107-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-content-sha256: ...
2020-10-09 11:16:09.760122-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Host: cyberduck-x-test.s3.amazonaws.com
2020-10-09 11:16:09.760136-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-date: 20201009T181609Z
2020-10-09 11:16:09.760229-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Authorization: ********
2020-10-09 11:16:09.760247-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Connection: Keep-Alive
2020-10-09 11:16:09.760265-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
User-Agent: Cyberduck/7.6.2.33520 (Mac OS X/10.15.7) (x86_64)
2020-10-09 11:16:09.842002-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
HTTP/1.1 307 Temporary Redirect
2020-10-09 11:16:09.842027-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-bucket-region: us-west-2
2020-10-09 11:16:09.842038-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-request-id: ...
2020-10-09 11:16:09.842050-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-id-2: ...
2020-10-09 11:16:09.842061-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Location: https://cyberduck-x-test.s3-us-west-2.amazonaws.com/test.txt
2020-10-09 11:16:09.842098-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Content-Type: application/xml
2020-10-09 11:16:09.842110-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Transfer-Encoding: chunked
2020-10-09 11:16:09.842121-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Date: Fri, 09 Oct 2020 18:16:08 GMT
2020-10-09 11:16:09.842131-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Server: AmazonS3
2020-10-09 11:16:09.981394-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] HEAD
/test.txt HTTP/1.1
2020-10-09 11:16:09.981418-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Date: Fri, 09 Oct 2020 18:16:09 GMT
2020-10-09 11:16:09.981439-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-content-sha256: ...
2020-10-09 11:16:09.981451-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Host: cyberduck-x-test.s3.amazonaws.com
2020-10-09 11:16:09.981463-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-date: 20201009T181609Z
2020-10-09 11:16:09.981504-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Authorization: ********
2020-10-09 11:16:09.981517-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Connection: Keep-Alive
2020-10-09 11:16:09.981530-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
User-Agent: Cyberduck/7.6.2.33520 (Mac OS X/10.15.7) (x86_64)
2020-10-09 11:16:10.092641-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
HTTP/1.1 400 Bad Request
2020-10-09 11:16:10.092673-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-request-id: ...
2020-10-09 11:16:10.092687-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript] x
-amz-id-2: ...
2020-10-09 11:16:10.092698-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Content-Type: application/xml
2020-10-09 11:16:10.092719-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Transfer-Encoding: chunked
2020-10-09 11:16:10.092730-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Date: Fri, 09 Oct 2020 18:16:09 GMT
2020-10-09 11:16:10.092741-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Connection: close
2020-10-09 11:16:10.092752-0700 0x11a85e Info 0x0
36683 0 Cyberduck: (libcore.dylib) [ch.sudo.cyberduck:transcript]
Server: AmazonS3
}}}
--
Ticket URL: <https://trac.cyberduck.io/ticket/11196#comment:8>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list