# Running Rally race on benchmark-only pipeline gives TransportError 302

**URL:** <https://discuss.elastic.co/t/running-rally-race-on-benchmark-only-pipeline-gives-transporterror-302/166397>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [January 30, 2019, 4:24pm UTC](https://discuss.elastic.co/t/running-rally-race-on-benchmark-only-pipeline-gives-transporterror-302/166397 "2019-01-30T16:24:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pitamonster](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@pitamonster](https://discuss.elastic.co/u/pitamonster)\
**Post date:** [January 30, 2019, 4:24pm UTC](https://discuss.elastic.co/t/running-rally-race-on-benchmark-only-pipeline-gives-transporterror-302/166397/1 "2019-01-30T16:24:46Z")

</div>

Hello! First thank you so much for building such an exciting tool! I am completely new to Rally and am attempting to benchmark an existing cluster that we host in ElasticCloud. I've created a custom track and am attempting to run against my existing cluster with the following command:

```auto
esrally --track-path=~/.rally/benchmarks/tracks/pennsylvania --target-hosts=<lalala.us-east-1.aws.found.io>:9243 --pipeline=benchmark-only --client-options="use_ssl:true,verify_certs:false,basic_auth_user:'elastic',basic_auth_password:'<password>'"

```

I am getting the following error

```auto
[ERROR] Cannot race. Error in race control (TransportError(302, ''))

```

Are there client options that I am missing? How can I fix this?

---

<div class="post-metadata">

**Author:** ![Evgenia\_Badiyanova](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evgenia_badiyanova/32/84068_2.png) [@Evgenia\_Badiyanova](https://discuss.elastic.co/u/Evgenia_Badiyanova)\
**Post date:** [February 1, 2019, 5:31pm UTC](https://discuss.elastic.co/t/running-rally-race-on-benchmark-only-pipeline-gives-transporterror-302/166397/2 "2019-02-01T17:31:21Z")

</div>

> [@pitamonster](#):
>
> TransportError

Hello,

Glad to hear you like Rally! The client options you specified look correct and should work. Could you please verify that you are specifying Elasticsearch Endpoint URL and not Kibana in `--target-hosts`? I get TransportError 302 if `--target-hosts` points to Kibana.

Thank you,  
Evgenia

---

<div class="post-metadata">

**Author:** ![pitamonster](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@pitamonster](https://discuss.elastic.co/u/pitamonster)\
**Post date:** [February 1, 2019, 8:05pm UTC](https://discuss.elastic.co/t/running-rally-race-on-benchmark-only-pipeline-gives-transporterror-302/166397/3 "2019-02-01T20:05:25Z")

</div>

Oh my gosh, I'm an idiot! You are correct -- I was using the Kibana url by mistake! Thank you so much, Evgenia!

---

<div class="post-metadata">

**Author:** ![Vincent34](https://avatars.discourse-cdn.com/v4/letter/v/97f17d/32.png) [@Vincent34](https://discuss.elastic.co/u/Vincent34)\
**Post date:** [February 28, 2019, 4:50am UTC](https://discuss.elastic.co/t/running-rally-race-on-benchmark-only-pipeline-gives-transporterror-302/166397/4 "2019-02-28T04:50:39Z")

</div>

> [@Evgenia\_Badiyanova](#):
>
> Hello,
> 
> Glad to hear you like Rally! The client options you specified look correct and should work [9apps](https://www.9apps.red/). Could you please verify that you are specifying Elasticsearch Endpoint URL and not Kibana in `--target-hosts` ? I get TransportError 302 if `--target-hosts` points to Kibana.
> 
> Thank you,

Just what I needed, worked a treat, thank you!

---

<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:** [March 28, 2019, 4:50am UTC](https://discuss.elastic.co/t/running-rally-race-on-benchmark-only-pipeline-gives-transporterror-302/166397/5 "2019-03-28T04:50:39Z")

</div>

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