# Rally freezes at the end

**URL:** <https://discuss.elastic.co/t/rally-freezes-at-the-end/242265>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [July 22, 2020, 11:46pm UTC](https://discuss.elastic.co/t/rally-freezes-at-the-end/242265 "2020-07-22T23:46:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinlee](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@kinlee](https://discuss.elastic.co/u/kinlee)\
**Post date:** [July 22, 2020, 11:46pm UTC](https://discuss.elastic.co/t/rally-freezes-at-the-end/242265/1 "2020-07-22T23:46:50Z")

</div>

My rally freezes at the end and would not print the results. In the logs, there is error .

```auto
elasticsearch WARNING GET https://xxx.xxx.xxx.xxx:9200/_nodes/stats/_all [status:N/A request:950.711s]
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib64/python3.6/http/client.py", line 1346, in getresponse
    response.begin()
  File "/usr/lib64/python3.6/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python3.6/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib64/python3.6/socket.py", line 586, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib64/python3.6/ssl.py", line 971, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib64/python3.6/ssl.py", line 833, in read
    return self._sslobj.read(len, buffer)
  File "/usr/lib64/python3.6/ssl.py", line 590, in read
    v = self._sslobj.read(len, buffer)
TimeoutError: [Errno 110] Connection timed out

```

---

<div class="post-metadata">

**Author:** ![baz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baz/32/5183_2.png) [@baz](https://discuss.elastic.co/u/baz)\
**Post date:** [July 23, 2020, 3:27pm UTC](https://discuss.elastic.co/t/rally-freezes-at-the-end/242265/2 "2020-07-23T15:27:24Z")

</div>

Have you tried to curl that same URL `curl -k https://IP:9200/_nodes/stats/_all` to see if it returns? if you have a user/pass, u can add it with the `curl -u "username:password"` flag in that command. Its odd that it is not returning.

---

<div class="post-metadata">

**Author:** ![kinlee](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@kinlee](https://discuss.elastic.co/u/kinlee)\
**Post date:** [July 23, 2020, 11:21pm UTC](https://discuss.elastic.co/t/rally-freezes-at-the-end/242265/3 "2020-07-23T23:21:12Z")

</div>

Yes its working when I do

curl -k -u uname:pwd "[https://xxx.xxx.xxx.xxx:9200/\_nodes/stats/\_all](https://xxx.xxx.xxx.xxx:9200/_nodes/stats/_all)"

Basically, rally will benchmark without any error till the end, I believe that at the end of the benchmarking rally checks all the nodestats before printing the report. This is when it gets freeze but if I wait long enough it will print a messy report.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 20, 2020, 11:29pm UTC](https://discuss.elastic.co/t/rally-freezes-at-the-end/242265/4 "2020-08-20T23:29:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
