-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[BUG] OSS setting PUBLICREAD will cause inaccessibility #2727
Comments
这个问题有人看下吗? |
Does anyone have a look at this issue? |
请问这个bug修复了吗? |
Could you please ask this question? |
oss是没实现分片上传吗?没看到调用UploadPart方法 |
Does oss not implement multipart upload? I didn’t see the UploadPart method being called. |
OSS 预签名url上传,如何让前端上传呢? |
OSS pre-signed URL upload, how to let the front end upload it? |
The returned URL is the API address and will be redirected to the corresponding S3 |
@withchao 我觉得 BUCKETURL 的存在说明我们想走域名的流量(例如我们域名会通过 Cloudflare 来解决 CDN 问题),而不是再次重写向 aliyuncs.com 域名的吧。 我认可以讨论一下,而不是直接关掉 ISSUES,事实上我们所有 CDN 流量都会走我们自己的域名的,BUCKETURL 与 PUBLICREAD 的存在,应该是流量走向 CDN,而不是 aliyuncs.com。 |
@withchao I think the existence of BUCKETURL means that we want to use domain name traffic (for example, our domain name will use Cloudflare to solve CDN problems), rather than rewriting the domain name aliyuncs.com again. |
OpenIM Server Version
3.8.1
Operating System and CPU Architecture
Linux (AMD)
Deployment Method
Docker Deployment
Bug Description and Steps to Reproduce
事实上在 #2317 已经有人报告过,但是被自动关闭了。
Docker compose:
图片的请求地址为:
会被 302 跳转到
另外一个细节就是BUCKETURL
当我设置提自己的域名时(OSS已经绑定正确了),但是消息里面依然还是使用 OSS 域的址,就像
https://xxx-im.oss-xxxx.aliyuncs.com/openim%2Fdata%2Fhash%2F14b34f8be36f792d0dc61c876df69129
,依然使用的是aliyuncs.cm
,而不是我所配置的域名。Screenshots Link
No response
The text was updated successfully, but these errors were encountered: