You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "baszalmstra (via GitHub)" <gi...@apache.org> on 2023/03/19 13:56:29 UTC
[GitHub] [incubator-opendal] baszalmstra opened a new issue, #1689: Cloudflare R2 append SignatureDoesNotMatch
baszalmstra opened a new issue, #1689:
URL: https://github.com/apache/incubator-opendal/issues/1689
`append` seems to fail when using the S3 backend with Cloudflare R2.
To reproduce, create a bucket in R2 together with an API key and use the following environment variables:
```
OPENDAL_S3_TEST=true
OPENDAL_S3_BUCKET=<bucket-name>
OPENDAL_S3_ENDPOINT=https://<account-id>.r2.cloudflarestorage.com
OPENDAL_S3_ACCESS_KEY_ID=<access-key-id>
OPENDAL_S3_SECRET_ACCESS_KEY=<secret-access-key>
OPENDAL_S3_REGION=auto
```
The region is required as explained in #912.
Running the `s3` tests next results in:
```
[2023-03-19T13:50:12Z ERROR opendal::services] service=s3 operation=Writer::append path=ebd6275c-8ad7-498c-8eae-baaef2f4c303 written=0 -> data write failed: PermissionDenied (permanent) at Writer::append => S3Error { code: "SignatureDoesNotMatch", message: "The request signature we calculated does not match the signature you provided. Check your secret access key and signing method.", resource: "", request_id: "" }
Context:
response: Parts { status: 403, version: HTTP/1.1, headers: {"date": "Sun, 19 Mar 2023 13:50:27 GMT", "content-type": "application/xml", "content-length": "234", "connection": "keep-alive", "server": "cloudflare", "cf-ray": "7aa62f3b5d6628ac-AMS"} }
service: s3
path: ebd6275c-8ad7-498c-8eae-baaef2f4c303
```
All other tests succeed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-opendal] Xuanwo commented on issue #1689: Cloudflare R2 append SignatureDoesNotMatch
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1689:
URL: https://github.com/apache/incubator-opendal/issues/1689#issuecomment-1475296982
This issue has been addressed in https://github.com/apache/incubator-opendal/pull/1690. Additionally, we will be implementing integration tests for R2 to prevent similar problems from occurring again. Tracked at https://github.com/apache/incubator-opendal/issues/1691.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-opendal] Xuanwo commented on issue #1689: Cloudflare R2 append SignatureDoesNotMatch
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1689:
URL: https://github.com/apache/incubator-opendal/issues/1689#issuecomment-1475274427
I'll take a look, thanks for report.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-opendal] Xuanwo closed issue #1689: Cloudflare R2 append SignatureDoesNotMatch
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #1689: Cloudflare R2 append SignatureDoesNotMatch
URL: https://github.com/apache/incubator-opendal/issues/1689
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-opendal] baszalmstra commented on issue #1689: Cloudflare R2 append SignatureDoesNotMatch
Posted by "baszalmstra (via GitHub)" <gi...@apache.org>.
baszalmstra commented on issue #1689:
URL: https://github.com/apache/incubator-opendal/issues/1689#issuecomment-1475302187
Thanks for the quick fix!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org