Esrally压测xpack加密后的es7.2.0

我的环境是:es7.2.0,esrally1.2.1;es做了xpack加密,执行esrally命令:
esrally --advanced-config --target-hosts=12.19.24.92:9200 --pipeline=benchmark-only --client-options="basic_auth_user:'elastic',basic_auth_password:'123456',use_ssl:true,verify_certs:true,ca_certs:'/root/config/client-ca.cer',client_cert:'/root/config/client.cer',client_key:'/root/config/client.key',timeout:120" --test-mode
报错如下: [ERROR] Cannot race. Error in race control (('Could not connect to your Elasticsearch metrics store. Please check that it is running on host [https://12.19.24.92] at port [9200] or fix the configuration in [/root/.rally/rally.ini].', None))

9200是Es开启后默认的端口,先确认一下9200这个端口打开了吗

是的,使用curl命令可以访问es 9200端口,esrally的配置文件路径是/home/elasticsearch/.rally/rally.ini

Hi,

please note that this is an English speaking forum. Can you please either post your question again in English as a new topic in this forum or alternatively post in our native language forums (note that the maintainers of Rally only speak English)?

Thanks,
Daniel

oh sorry, I'll send it again,thanks