Rally test failed with SSL error

(Elastic-for-me) #1

Installed rally today to setup benchmarking test.

but it fails with some kind of SSL certificate error. I do not have any security setup on my elasticsearch. but going out from this machine to internet need http proxy which I setup.

here is the some part of the log
2019-05-17 19:37:49,340 -not-actor-/PID:14504 esrally.utils.net INFO Connecting via proxy URL [http://104.129.204.32:80] to the Internet (picked up from the env variable [http_proxy]).
2019-05-17 19:37:50,284 -not-actor-/PID:14504 esrally.rally INFO Detected a working Internet connection.

It detected proxy properly.
First some kind of error in log is
2019-05-17 19:37:54,464 ActorAddr-(T|:46529)/PID:14513 esrally.actor INFO Received a benchmark failure from [ActorAddr-(T|:39139)] and will forward it now.

and then following

2019-05-17 19:37:54,467 -not-actor-/PID:14504 esrally.racecontrol ERROR A benchmark failure has occurred
2019-05-17 19:37:54,467 -not-actor-/PID:14504 esrally.racecontrol INFO Telling benchmark actor to exit.
2019-05-17 19:37:51,874 ActorAddr-(T|:45923)/PID:14631 esrally.utils.repo INFO Rebasing on [7] in [/root/.rally/benchmarks/teams/default] for distribution version [7.0.1].
2019-05-17 19:37:54,468 -not-actor-/PID:14504 esrally.rally INFO Attempting to shutdown internal actor system.
2019-05-17 19:37:51,951 ActorAddr-(T|:45923)/PID:14631 esrally.mechanic.java_resolver INFO Allowed JDK versions are [12, 11, 8].
2019-05-17 19:37:54,468 ActorAddr-(T|:46529)/PID:14513 esrally.actor INFO BenchmarkActor received unknown message [ActorExitRequest] (ignoring).
2019-05-17 19:37:52,207 ActorAddr-(T|:45923)/PID:14631 esrally.mechanic.java_resolver INFO Detected JDK with major version [8] in [/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre].
2019-05-17 19:37:54,469 ActorAddr-(T|:39139)/PID:14572 esrally.actor INFO MechanicActor#receiveMessage unrecognized(msg = [<class 'thespian.actors.ActorExitRequest'>] sender = [ActorAddr-(T|:46529)])
2019-05-17 19:37:52,208 ActorAddr-(T|:45923)/PID:14631 esrally.mechanic.supplier INFO Resolved download URL [https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.0.1-linux-x86_64.tar.gz] for version [7.0.1]
2019-05-17 19:37:54,471 ActorAddr-(T|:46529)/PID:14513 esrally.actor INFO BenchmarkActor received unknown message [ActorExitRequest] (ignoring).
2019-05-17 19:37:54,471 ActorAddr-(T|:37001)/PID:14630 esrally.actor INFO mechanic.Dispatcher#receiveMessage unrecognized(msg = [<class 'thespian.actors.ActorExitRequest'>] sender = [ActorAddr-(T|:39139)])
2019-05-17 19:37:52,209 ActorAddr-(T|:45923)/PID:14631 esrally.mechanic.supplier INFO Starting download of Elasticsearch [7.0.1]
2019-05-17 19:37:54,456 ActorAddr-(T|:45923)/PID:14631 esrally.actor ERROR Cannot process message [<esrally.mechanic.mechanic.StartNodes object at 0x7f41e74c31d0>]
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 595, in urlopen
    self._prepare_proxy(conn)

  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 816, in _prepare_proxy
    conn.connect()

  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 326, in connect
    ssl_context=context)

  File "/usr/local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)

  File "/usr/lib64/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)

  File "/usr/lib64/python3.6/ssl.py", line 814, in __init__
    self.do_handshake()

  File "/usr/lib64/python3.6/ssl.py", line 1068, in do_handshake
    self._sslobj.do_handshake()

  File "/usr/lib64/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)

This is test machine setup with elk 7.01. can I just not use that rather then setting up new elk.