[Cyberduck-trac] [Cyberduck] #11196: Failure to read attributes on S3 downloads (400 Bad Request on HEAD /DIR/file)

Cyberduck trac at cyberduck.io
Sat Nov 21 21:14:35 UTC 2020

#11196: Failure to read attributes on S3 downloads (400 Bad Request on HEAD
 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  |

Comment (by dkocher):

 Replying to [comment:9 francoisj]:
 > I have also problems when using buckets in eu-west-3 with Version 7.7.0
 > When using the default "S3 HTTPS" profile and using my-
 bucket.s3.amazonaws.com as server name, I can open a connection to the
 bucket, list files and upload some but it fails when trying to download
 any files (even the one I just uploaded) with a "Failure to read
 attributes". The 400 is due to "us-east-1" used as a region in AWSv4
 signature on a HEAD request against the my-bucket.s3.amazonaws.com. All
 other requests seems good but not this one.
 > When using a custom profile forcing region to eu-west-3 (and still using
 my-bucket.s3.amazonaws.com as server name) it works unreliably. i.e.
 sometimes the created bookmark will work flawlessly
 > but sometimes it will loop on the first request which is a GET to
 https://s3.amazonaws.com/ but with region "eu-west-3" and s3.amazonaws.com
 wants eu-east-1 as a region so we have always 400, when in this state it
 loops forever and it is really difficult to start any other connection.
 > I don't know what I do differently between the creation of a bookmark
 which work and one which does not work. I think I do exactly the same
 steps on both cases but I am probably wrong somewhere.
 > This makes Cyberduck unusable for me.

 Please try to set the default hostname `s3.amazonaws.com` and set the
 bucket you want to connect to in the ''Default Path'' setting instead.

Ticket URL: <https://trac.cyberduck.io/ticket/11196#comment:12>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows

More information about the Cyberduck-trac mailing list