# \[ERROR\] Cannot race. Error in track preparator (No host specified.)

**URL:** <https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [May 25, 2019, 5:17am UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740 "2019-05-25T05:17:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![azuresky11](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azuresky11/32/41283_2.png) [@azuresky11](https://discuss.elastic.co/u/azuresky11)\
**Post date:** [May 25, 2019, 5:17am UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/1 "2019-05-25T05:17:14Z")

</div>

After the following command line was executed, I faced error.  
Would you please tell me how to resolve it?  
$ esrally --pipeline=benchmark-only --target-hosts=192.168.133.130:9201 --track=geonames --challenge=append-no-conflicts --distribution-version=6.6.0 --on-error=abort  
[WARNING] Local changes in [/home/rally/.rally/benchmarks/tracks/default] prevent tracks update from remote. Please commit your changes.

[ERROR] Cannot race. Error in track preparator (No host specified.)

Getting further help:

* * *

- Check the log files in /home/rally/.rally/logs for errors.
- Read the documentation at [https://esrally.readthedocs.io/en/1.0.2/](https://esrally.readthedocs.io/en/1.0.2/)
- Ask a question on the forum at [https://discuss.elastic.co/c/elasticsearch/rally](https://discuss.elastic.co/c/elasticsearch/rally)
- Raise an issue at [https://github.com/elastic/rally/issues](https://github.com/elastic/rally/issues) and include the log files in /home/rally/.rally/logs.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [May 27, 2019, 5:18am UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/2 "2019-05-27T05:18:54Z")

</div>

Hi,

please don't post unformatted code as it's very hard to read.

Instead paste the text and format it with \</\> icon, and check the preview  
window to make sure it's properly formatted before posting it. This makes it  
more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

To your specific question: Can you please check the contents of `/home/rally/.rally/logs/rally.log`? It should contain a stack trace towards the end of the log file that might help diagnose your problem.

Daniel

---

<div class="post-metadata">

**Author:** ![azuresky11](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azuresky11/32/41283_2.png) [@azuresky11](https://discuss.elastic.co/u/azuresky11)\
**Post date:** [May 27, 2019, 1:41pm UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/3 "2019-05-27T13:41:18Z")

</div>

Here is the log snapshot:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/0/103254dcdda50688f7c752d218e4103c0267e462.png)

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [May 27, 2019, 3:09pm UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/4 "2019-05-27T15:09:13Z")

</div>

Hi,

the stack trace doesn't really help much but it seems to be related to a failure to establish a network connection while Rally is attempting to download something. The only thing that is downloaded at this point is the track corpus and I see in your initial message that Rally prints the following warning:

```auto
[WARNING] Local changes in [/home/rally/.rally/benchmarks/tracks/default] prevent tracks update from remote. Please commit your changes.

```

Did you modify the Rally track? Can you please reset your local state and attempt to run the benchmark without modifications first to ensure this is not the problem?

Daniel

---

<div class="post-metadata">

**Author:** ![azuresky11](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azuresky11/32/41283_2.png) [@azuresky11](https://discuss.elastic.co/u/azuresky11)\
**Post date:** [May 28, 2019, 12:50pm UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/5 "2019-05-28T12:50:40Z")

</div>

Thank you! I reset my local state,it is ok,and i created custom tracks according to this:[https://esrally.readthedocs.io/en/0.5.3/adding\_tracks.html](https://esrally.readthedocs.io/en/0.5.3/adding_tracks.html).  
And another error:

 ![Snipaste_2019-05-28_20-49-59](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39c03d3bca3bcf80de5b125507c9d5915aedf31d.png)

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [May 28, 2019, 1:24pm UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/6 "2019-05-28T13:24:03Z")

</div>

Hi,

can you please copy & paste the relevant snippets and format them as code with the `</>` icon? I see in the link that you've pasted that you use the docs for version 0.5.3 but you have 1.0.2. installed and we had a lot of changes in between. You should read the documentation for the version of Rally that you have installed.

Daniel

---

<div class="post-metadata">

**Author:** ![azuresky11](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azuresky11/32/41283_2.png) [@azuresky11](https://discuss.elastic.co/u/azuresky11)\
**Post date:** [May 28, 2019, 1:54pm UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/7 "2019-05-28T13:54:20Z")

</div>

Thank you for the quick response.I will read the new version of the documentation.

---

<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:** [June 25, 2019, 1:54pm UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-no-host-specified/182740/8 "2019-06-25T13:54:20Z")

</div>

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