eclipse / jifa

🔬 Online Heap Dump, GC Log, Thread Dump & JFR File Analyzer.
https://eclipse.github.io/jifa/
Eclipse Public License 2.0
541 stars 96 forks source link

Error when uploading files using oss method #256

Closed mark8s closed 6 months ago

mark8s commented 8 months ago

image

What's the problem?

D-D-H commented 8 months ago

The endpoint seems invalid. It should be something like oss-cn-hangzhou.aliyuncs.com.

https://help.aliyun.com/zh/oss/user-guide/regions-and-endpoints?spm=a2c4g.11186623.0.0.34fa7368q2ZZjr

mark8s commented 8 months ago

@D-D-H Why can only domain names be used? The server I built myself should also need support.

D-D-H commented 8 months ago

The server I built myself should also need support.

Do you mean that the OSS server is deployed by yourself?

We use OSS standard SDK to handle OSS transfer requests.

Can you provide the document that describes how to deploy a personal OSS server, so that I can have a deep investigation?

mark8s commented 8 months ago

@D-D-H I am currently using the locally built minio service to store files. Is there any way to use it?

yanglong1010 commented 8 months ago

The protocols of Aliyun OSS and minio may not be different. Can you obtain an url from minio and then try the "URL" method ? I'm not familiar with minio, even don't know whether is it possible to obtain an url from minio.

mark8s commented 8 months ago

like this https://www.hxstrive.com/subject/minio/684.htm ? @yanglong1010

yanglong1010 commented 8 months ago

yes, try presignedGetObject

mark8s commented 8 months ago

@yanglong1010 You mean I use this? image

D-D-H commented 8 months ago

According to the document, MinIO is compatible with the S3 protocol.

Have you tried S3?

yanglong1010 commented 8 months ago

@yanglong1010 You mean I use this? image

yes

mark8s commented 8 months ago

@yanglong1010 This approach is not appropriate

D-D-H commented 8 months ago

@mark8s

Has this problem been solved?

mark8s commented 8 months ago

@D-D-H haha~ No, I haven't tried it in s3 mode yet. This problem will not block my current work for the time being.