doris2.1.4无法创建https连接的s3(minio)外部resource

Viewed 70

docker部署的3fe、3be doris集群,image:selectdb/doris.fe-ubuntu:2.1.4-rc03。创建外部s3资源时发现http+ip的endpoint属性能成功,https+hostname报错,SQL语句和报错日志如下:
CREATE RESOURCE "rs_minio"
PROPERTIES
(
"type" = "s3",
"s3.endpoint" = "https://hostname",
"s3.region" = "us-east-1",
"s3.bucket" = "resource",
"s3.access_key" = "xxx",
"s3.secret_key" = "xxx",
"use_path_style" = "true"
);
报错日志:
ERROR 1105 (HY000): errCode = 2, detailMessage = ping s3 failed(upload), status: [COMMON_ERROR, msg: connect to s3 failed: Received an UnknownHostException when attempting to interact with a service. See cause for the exact endpoint that is failing to resolve. If this is happening on an endpoint that previously worked, there may be a network connectivity issue or your DNS cache could be storing endpoints for too long.], properties: "s3.region" = "us-east-1", "s3.endpoint" = "http://https://hostname",

2 Answers

使用https+ip的形式呢? hostname和ip做映射了吗