# Esrally fetches incorrect tarball for distribution versions \<= 2.x

**URL:** <https://discuss.elastic.co/t/esrally-fetches-incorrect-tarball-for-distribution-versions-2-x/133766>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [May 29, 2018, 11:28pm UTC](https://discuss.elastic.co/t/esrally-fetches-incorrect-tarball-for-distribution-versions-2-x/133766 "2018-05-29T23:28:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheFallenTech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thefallentech/32/31715_2.png) [@TheFallenTech](https://discuss.elastic.co/u/TheFallenTech)\
**Post date:** [May 29, 2018, 11:28pm UTC](https://discuss.elastic.co/t/esrally-fetches-incorrect-tarball-for-distribution-versions-2-x/133766/1 "2018-05-29T23:28:25Z")

</div>

Command Used:

> esrally --distribution-version=1.7.5

I have been trying to test on 1.7.5 which is located here:

**[https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz](https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz)**

esrally seems to think it is located here:  
**[https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/1.7.5/elasticsearch-1.7.5.tar.gz](https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/1.7.5/elasticsearch-1.7.5.tar.gz)**

and fails miserably as shown here:  
\_\_\_ \_\_\_  
/ \_\_ \_\_\_\_ _/ / /_ \_  
/ /_/ / \_\_ `/ / / / / /  
/ , / // / / / // /  
/_/ |_|\ __,_/_/_/\__ , /  
/\_\_\_\_/

[INFO] Writing logs to /home/mcastillo/.rally/logs/rally\_out\_20180529T232608Z.log  
[INFO] Preparing for race ...  
[FAILED]  
[ERROR] Cannot race. ('Cannot download Elasticsearch distribution from [[https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/1.7.5/elasticsearch-1.7.5.tar.gz](https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/1.7.5/elasticsearch-1.7.5.tar.gz)]. Please check that the specified version [1.7.5] is correct.', None)  
Traceback (most recent call last):  
File "/home/me/myenvironment/lib/python3.4/site-packages/esrally/mechanic/supplier.py", line 311, in fetch  
net.download(download\_url, distribution\_path, progress\_indicator=progress)  
File "/home/me/myenvironment/lib/python3.4/site-packages/esrally/utils/net.py", line 62, in download  
raise urllib.error.HTTPError(url, r.status, "", None, None)  
urllib.error.HTTPError: HTTP Error 404:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File "/home/me/myenvironment/lib/python3.4/site-packages/esrally/mechanic/mechanic.py", line 558, in receiveMsg\_StartNodes  
nodes = self.mechanic.start\_engine()  
File "/home/me/myenvironment/lib/python3.4/site-packages/esrally/mechanic/mechanic.py", line 693, in start\_engine  
binaries = self.supply()  
File "/home/me/myenvironment/lib/python3.4/site-packages/esrally/mechanic/supplier.py", line 171, in \__call_  
supplier.fetch()  
File "/home/mcastillo/titan-env/lib/python3.4/site-packages/esrally/mechanic/supplier.py", line 318, in fetch  
"version [%s] is correct." % (download\_url, self.version))  
esrally.exceptions.SystemSetupError: ('Cannot download Elasticsearch distribution from [[https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/1.7.5/elasticsearch-1.7.5.tar.gz](https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/1.7.5/elasticsearch-1.7.5.tar.gz)]. Please check that the specified version [1.7.5] is correct.', None)

Is this not supported anymore? Could this be a bug? Thanks

---

<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 30, 2018, 5:52am UTC](https://discuss.elastic.co/t/esrally-fetches-incorrect-tarball-for-distribution-versions-2-x/133766/2 "2018-05-30T05:52:47Z")

</div>

Hi,

thanks for reporting this. This was indeed caused by an outdated download URL configuration. It's now [fixed](https://github.com/elastic/rally-teams/commit/1b54a38938de4a7aa8048815a2162339603173b9) (and similarly for 2.x). You just need to rerun Rally to get the fix automatically.

Daniel

---

<div class="post-metadata">

**Author:** ![TheFallenTech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thefallentech/32/31715_2.png) [@TheFallenTech](https://discuss.elastic.co/u/TheFallenTech)\
**Post date:** [May 30, 2018, 3:50pm UTC](https://discuss.elastic.co/t/esrally-fetches-incorrect-tarball-for-distribution-versions-2-x/133766/3 "2018-05-30T15:50:12Z")

</div>

Wow, fantastic! Thanks so much for fixing this 🙂

---

<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 27, 2018, 3:50pm UTC](https://discuss.elastic.co/t/esrally-fetches-incorrect-tarball-for-distribution-versions-2-x/133766/4 "2018-06-27T15:50:12Z")

</div>

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