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

fix: failed to upload OSS with S3 SDK #1792

Merged
merged 1 commit into from
Jun 3, 2023
Merged

Conversation

athurg
Copy link
Contributor

@athurg athurg commented Jun 3, 2023

This PR fixed #1756.

In #1230 we set an option HostnameImmutable to true for s3 SDK. But it'll break while use this SDK to upload to Aliyun OSS, which is wildly used.

Maybe we should split a OSS backend storage instead share with S3, but before that, we can fixed this issue ASAP.

@athurg athurg requested a review from boojack as a code owner June 3, 2023 06:31
@athurg athurg force-pushed the fix_oss_upload_fail_with_s3_sdk branch from 2d03615 to 33dc06b Compare June 3, 2023 06:34
@github-actions
Copy link

github-actions bot commented Jun 3, 2023

Uffizzi Preview deployment-27480 was deleted.

@boojack boojack merged commit c27c6ce into main Jun 3, 2023
@athurg athurg deleted the fix_oss_upload_fail_with_s3_sdk branch June 3, 2023 06:39
@athurg athurg linked an issue Jun 5, 2023 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Failed to upload via s3 client 从0.12.1升级到0.13.1后,上传图片时,阿里云OSS图床报错
2 participants