diff --git a/src/IO/S3/PocoHTTPClient.cpp b/src/IO/S3/PocoHTTPClient.cpp index 4a5b79e31ea..b8b78a38985 100644 --- a/src/IO/S3/PocoHTTPClient.cpp +++ b/src/IO/S3/PocoHTTPClient.cpp @@ -71,6 +71,10 @@ void PocoHTTPClientConfiguration::updateSchemeAndRegion() boost::algorithm::to_lower(matched_region); region = matched_region; } + else + { + region = Aws::Region::AWS_GLOBAL; + } } }