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

Aliyun OSS Incompatibility #1167

Open
GZGavinZhao opened this issue Apr 29, 2022 · 6 comments
Open

Aliyun OSS Incompatibility #1167

GZGavinZhao opened this issue Apr 29, 2022 · 6 comments

Comments

@GZGavinZhao
Copy link
Contributor

GZGavinZhao commented Apr 29, 2022

Hi! I'm using sccache with Aliyun Object Storage Service, which is S3-compatible. However, I keep getting cache write errors. I've tested my API credentials and made sure they were working.

I suspect the problem is with the URL. This short issue (kahing/goofys#336) explains it much better than I can. In short, OSS only supports virtual hosted-style URLs, while sccache uses path-based access.

OSS docs on S3-compatibility: https://www.alibabacloud.com/help/en/object-storage-service/latest/s3-compatibility-overview

@feuvan
Copy link

feuvan commented May 25, 2022

AliyunOSS is not exactly S3 compatible.

@GZGavinZhao
Copy link
Contributor Author

GZGavinZhao commented May 25, 2022

@feuvan Yes, it's not 100% compatible, but for the sccache use case it is enough and the slight difference between OSS and S3 is not the cause of this issue. #1086 will fix this.

@Xuanwo
Copy link
Collaborator

Xuanwo commented Dec 11, 2022

I will working on this issue after existing storage services have been migrated to opendal.

I plan to add a new OSS service support via opendal's native support: opendal::services::oss

@nautaa
Copy link

nautaa commented Sep 22, 2023

@Xuanwo Hi, Any progress on this issue? I'm trying to use OSS now and seeing SecondLevelDomainForbidden errors. Then I found this link https://github.com/apache/incubator-opendal/blob/main/core/src/services/s3/compatible_services.md in OpenDAL. Is this a good solution?

@Xuanwo
Copy link
Collaborator

Xuanwo commented Sep 22, 2023

@Xuanwo Hi, Any progress on this issue? I'm trying to use OSS now and seeing SecondLevelDomainForbidden errors. Then I found this link https://github.com/apache/incubator-opendal/blob/main/core/src/services/s3/compatible_services.md in OpenDAL. Is this a good solution?

Hi, thanks for the question.

First of all, OSS native support is not added yet. I will continue this work after #1885 get merged.

Then, as described in opendal's docs, we need a new option called enable_virtual_host_style to access OSS like bucket.oss.example.com instead of oss.example.com/bucket. We can address this in #1887.

Please let me know if you are interested in those works. I am willing to provide assistance with implementation and review.

@AJIOB
Copy link
Contributor

AJIOB commented Mar 10, 2024

Is it still active? Looks like we’re added the Alibaba OSS support to the sccache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants