ynull

Results comments of ynull

I think @msabitabrata is right, I was stuck here for a long time, maybe it needs more hints about the restrictions of the problem. Here is my solution: _removed solution...

代码里面有bug,在配置了S3_EXTERNAL_BASE_URL的情况下,endpoint取的是url里面的hostname,也就是上传文件时用的是S3_EXTERNAL_BASE_URL的hostname。 解决方案:宿主机配一下hosts 127.0.0.1 fastgpt-minio compose配置是这样,

> > 代码里面有bug,在配置了S3_EXTERNAL_BASE_URL的情况下,endpoint取的是url里面的hostname,也就是上传文件时用的是S3_EXTERNAL_BASE_URL的hostname。 > > > > 解决方案:宿主机配一下hosts > > 127.0.0.1 fastgpt-minio > > compose配置是这样, > > > > 😅你这明显误导人,客户端怎么可能访问到 http://fastgpt-minio:9000 s3 是客户端上传文件。 本地直接填 http://localhost:9000 就行了,有 dns 问题就用 127.0.0.1。 localhost和127.0.0.1都试过了,上传文件时还是报上面同样的错误[捂脸],fastgpt镜像版本4.14.4

> > > > 代码里面有bug,在配置了S3_EXTERNAL_BASE_URL的情况下,endpoint取的是url里面的hostname,也就是上传文件时用的是S3_EXTERNAL_BASE_URL的hostname。 > > > > > > > > 解决方案:宿主机配一下hosts > > > > 127.0.0.1 fastgpt-minio > > > > compose配置是这样, > > > > >...