Closed
Description
某些 S3 提供商无法使用
upload lock sync failed: operation error S3: PutObject, https response error StatusCode: 400, RequestID: 67AAF92CD4BE203039C9E353, HostID: sunhy-host.oss-cn-beijing.aliyuncs.com, api error InvalidArgument: aws-chunked encoding is not supported with the specified x-amz-content-sha256 value.
AWS SDK 在 v1.33.0 中升级的 checksum 模块 v1.5.0 中引入的一个特性导致了该问题 https://github.com/aws/aws-sdk-go-v2/blob/main/service/internal/checksum/CHANGELOG.md aws/aws-sdk-go-v2#2960
解决方案是禁用校验:
as3.NewFromConfig(cfg, func(o *as3.Options) {
o.RequestChecksumCalculation = aws.RequestChecksumCalculationWhenRequired
o.ResponseChecksumValidation = aws.ResponseChecksumValidationWhenRequired
}
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
[-]某些 S3 提供商无法使用问题[/-][+]某些 S3 提供商无法使用[/+]emptylight370 commentedon Feb 11, 2025
在14051提到的帖子中,我已经上传了今天的日志,直接引用链滴的文件链接了:siyuan.zip,我整不动了,辛苦D大看看,云服务商是腾讯云。
88250 commentedon Feb 11, 2025
先用上个版本顶顶
emptylight370 commentedon Feb 11, 2025
shuojie819 commentedon Feb 11, 2025
[-]某些 S3 提供商无法使用[/-][+]Some S3 providers are not available[/+]🎨 Some S3 providers are not available siyuan-note/siyuan#14053
🎨 Some S3 providers are not available #14053
emptylight370 commentedon Feb 12, 2025
所以下一个dev版有修复吗
88250 commentedon Feb 12, 2025
对,下午发个 dev 版
21 remaining items