我正在开发 Ubuntu VM ,其中包含代理。 我有这个错误然后我尝试安装 elasticsearch插件:
bin/plugin install --verbose license
-Dhttp.proxyHost=https://myusername:mypassword@my.url.proxy
-Dhttp.proxyPort=portnum -Dhttps.protocols=TLSv1.1,TLSv1.2
-> Installing license...
Trying
https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip
...
Failed: SSLHandshakeException[Remote host closed connection during handshake]; nested: EOFException[SSL peer shut down incorrectly];
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information
有或没有选项 -Dhttp.proxyHost , -Dhttp.proxyPort 和 -Dhttps.protocols ,我有同样的问题。
任何帮助将不胜感激,
克里斯托弗