Keep running across dns resolution failure #3345
Replies: 4 comments 1 reply
-
why should this name be resolvable? how are you creating a entry for that name? minio by default runs on localhost, what is your setup where you expect that to be available. |
Beta Was this translation helpful? Give feedback.
-
Hi, @sbiscigl
|
Beta Was this translation helpful? Give feedback.
-
when setting s3ClientConfig.endpointOverride = ConvertToAwsString("localhost:9000"), I got error as follow: 20250414 18:16:09.868304 1457349 MinioChunkManager.cpp:117] [SERVER][ProcessFormattedStatement][milvus][][AWS LOG] [DEBUG] 2025-04-14 10:16:09.868 dns [132413028042304] static: resolving host localhost:9000 it seems that aws-sdk try to parse the whole 'localhost:9000' as an ip and failed? |
Beta Was this translation helpful? Give feedback.
-
Hello,
Starting 1.10, the endpoint resolution has been completely overwritten and I also remember doing some fixes for endpoint override for the S3 client. Best regards. |
Beta Was this translation helpful? Give feedback.
-
version: 1.9.234
client: S3CrtClient
server: Local minio
scheme: HTTP
problem: cannot download files due to dns resoution failure
My code can list-bucket, list objects, put object, but it cannot GetObject, and the error are as above, due to dns resolustion failure
I set up my S3CrtClient with such code;
`static const char* ALLOCATION_TAG = "BucketAndObjectOperationTest";
Aws::S3Crt::ClientConfiguration s3ClientConfig;
s3ClientConfig.region = "us-east-1";
s3ClientConfig.scheme = Aws::Http::Scheme::HTTP;
s3ClientConfig.executor = Aws::MakeSharedAws::Utils::Threading::PooledThreadExecutor(ALLOCATION_TAG, 4);
s3ClientConfig.throughputTargetGbps = 2.0;
s3ClientConfig.partSize = 5 * 1024 * 1024;
s3ClientConfig.endpointOverride = ConvertToAwsString("minio.local:9000");
It's rather wired:
any advices will be appreciated
Beta Was this translation helpful? Give feedback.
All reactions