Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed multi-part uploads to GCS over S3 #11547

Closed
cyberduck opened this issue Jan 16, 2021 · 2 comments
Closed

Failed multi-part uploads to GCS over S3 #11547

cyberduck opened this issue Jan 16, 2021 · 2 comments
Assignees
Labels
bug fixed s3 AWS S3 Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

f74c87d created the issue

Hi team,

It appears there is a persistent issue with multipart uploads when S3 protocol is used to access Google Cloud Storage. This was detected with version 7.7.2, but still present with update to 7.8.1.

There are some cases where one would prefer this method over actual GCS protocol (i.e. when only authentication method is HMAC), and this did work in older versions like 7.0.1.

I am attaching a screenshot with error log output, but it should be pretty simple to replicate.

download.png


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Root cause is HTTP/1.1 400 Bad Request with error Invalid argument. POST object expects Content-Type multipart/form-data..

HTTP/1.1 400 Bad Request
X-GUploader-UploadID: ABg5-UwDlntPOW7i23FW4f7a-Syk1tRCJdaNE6ic4ydHdRXVVbyqn01uLoyX8fgJ8YtUOfAlhYxAtfm0M99QXn1g36d556dfuQ
Content-Type: application/xml; charset=UTF-8
Content-Length: 188
Vary: Origin
Date: Mon, 18 Jan 2021 20:12:23 GMT
Server: UploadServer
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

<?xml version='1.0' encoding='UTF-8'?><Error><Code>InvalidArgument</Code><Message>Invalid argument.</Message><Details>POST object expects Content-Type multipart/form-data</Details></Error>

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 8e3c45f.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed s3 AWS S3 Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants