有熟悉minio的大佬没有,帮我看一个错误

查看 32|回复 0
作者:坏鸡鸡   
我用flarum 上传minio....为无名无法上传,出现诡异的错误,
我明明域名是 Minio 域是 example.com。为什么会变成 img.example.com?
上传是这样的规定
[ol]FoF Upload
Content Delivery URL (prefixes files)
https://example.xyz
key
secret
bucket img
Endpoint https://example.xyz[/ol]复制代码
错误代码是
[ol]flarum.ERROR: exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "PutObject" on "https://img.example.xyz/2024-02-11/1707648155-636240-2.png"; AWS HTTP error: cURL error 6: Could not resolve host: img.example.xyz (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://img.example.xyz/2024-02-11/1707648155-636240-2.png'
GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: img.example.xyz (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://img.example.xyz/2024-02-11/1707648155-636240-2.png in /usr/share/nginx/html/flarum/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
Stack trace:
Next Aws\S3\Exception\S3Exception: Error executing "PutObject" on "https://img.example.xyz/2024-02-11/1707648155-636240-2.png"; AWS HTTP error: cURL error 6: Could not resolve host: img.example.xyz (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://img.example.xyz/2024-02-11/1707648155-636240-2.png in /usr/share/nginx/html/flarum/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:196
Stack trace:[/ol]复制代码

上传, 大佬, 错误

您需要登录后才可以回帖 登录 | 立即注册

返回顶部