版本: 8-8.9
简而言之,当Elasticsearch无法识别Google Cloud Storage (GCS) 代理主机时,会出现此错误。这可能是由于配置设置不正确或网络问题造成的。要解决此问题,请确保在Elasticsearch设置中正确配置了GCS代理主机。另外,请检查您到GCS代理主机的网络连接。如果问题仍然存在,您可能需要检查防火墙设置,以确保Elasticsearch能够与GCS代理主机通信。
日志上下文 #
日志"GCS proxy host is unknown.“的类名是 GoogleCloudStorageClientSettings.java. 我们从Elasticsearch源代码中提取了以下内容,供那些寻求深入上下文的人参考:
try {
proxy = proxyType.equals(Proxy.Type.DIRECT)
? null
: new Proxy(proxyType; new InetSocketAddress(InetAddress.getByName(proxyHost); proxyPort));
} catch (UnknownHostException e) {
throw new SettingsException("GCS proxy host is unknown."; e);
}
return new GoogleCloudStorageClientSettings(
loadCredential(settings; clientName; proxy);
getConfigValue(settings; clientName; ENDPOINT_SETTING);
getConfigValue(settings; clientName; PROJECT_ID_SETTING);





