-
Notifications
You must be signed in to change notification settings - Fork 169
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
Support for writing to Google Cloud Storage buckets #853
Comments
Hi, thanks for the feature request. We do not support third-party services. However, we are happy to make changes and/or welcome contributions, provided that they are not specific to another service and, most importantly, do not require separate testing. |
Hey @arsh thanks for your reply. It sounds like the required change (1) would require changes specific to another service, GCS, and (2) would require separate testing. The Makes sense to me. If we really want this functionality it sounds like we should fork 👍 |
One thing that @jamesbornholt pointed out is that this might be a small change in the underlying S3 client Mountpoint uses[1]. Specifically, to put the object in S3, we're creating a multi-part upload and that involves several HTTP requests to create it, upload part, and complete it. It appears that the create multi-part upload is not setting the [1] https://github.com/awslabs/aws-c-s3 |
Yes, sorry, that is possibly the only problem. I should've called this out more obviously in the issue, but it's in the error message:
|
I'll submit a PR to there then, thanks! |
Just to add that several of our other SDKs already send |
@jamesbornholt https://github.com/awslabs/aws-c-s3/releases/tag/v0.5.8 is now released with the Content-Type change. I had a look at doing the submodule bump myself, but it seems like something best for an experienced contributor 🙂. |
Yep, I think we're just waiting for awslabs/aws-c-auth#237 and then we'll pull in all the CRT updates together so we can do just one new Mountpoint release. |
Quick update on this one: we were planning to release this as part of 1.7.0 on Friday (#876) but we found an issue with a different change while testing the release. The team's going to pick that up again this coming week. Sorry for the delay! |
No worries, thanks for the update :) |
Hey @thundergolfer, we released Mountpoint v1.7.0 today which contains the content-length change. Sorry again for the delay, I hope this unblocks the use case here! |
I'll assume this issue is resolved and close this issue for now. Thanks! |
For anyone finding this in the future, this commit did fix our issue, but we kept getting signature mismatch errors when we had upload checksums enabled. We added |
Tell us more about this new feature.
I've attempting to use
mount-s3
to read and write a Google Cloud Storage bucket and I'm hitting this error in the application:The application is attempting to do this:
The logs from
mount-s3
quite clearly show the problem:According to https://cloud.google.com/storage/docs/xml-api/reference-headers Google's XML API for cloud storage requires the
Content-Length
header that is apparently not being passed.From a quick scan through the code I don't see anywhere that this header is set.
The text was updated successfully, but these errors were encountered: