# Setup problem: No handler for action exception on 9300

**URL:** <https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186>\
**Category:** Elasticsearch\
**Created:** [June 21, 2012, 5:39pm UTC](https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186 "2012-06-21T17:39:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuhan](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@Yuhan](https://discuss.elastic.co/u/Yuhan)\
**Post date:** [June 21, 2012, 5:39pm UTC](https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186/1 "2012-06-21T17:39:04Z")

</div>

Hi all,

I just followed the guide to create elasticsearch on ubuntu. It works fine when I access it  
through [http://localhost:9200](http://localhost:9200). But when I try to connect to it through the java client,  
at port 9300, it throws an error at me.

12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info for [#transport#-1][inet[/localhost:9300]]  
org.elasticsearch.transport.RemoteTransportException: [Tinkerer][inet[/127.0.0.1:9300]][]  
Caused by: org.elasticsearch.transport.ActionNotFoundTransportException: No handler for action []

I think it is a problem of configuration. could someone give me a suggestion what might be missing?

I have the following in my /etc/elasticsearch/elasticsearch.yml file:

cluster.name: elasticsearch  
path.data: /var/data/elasticsearch  
network.bind\_host: 127.0.0.1  
network.publish\_host: 127.0.0.1  
network.host: 127.0.0.1  
transport.tcp.port: 9300

Thank you.

Yuhan

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 21, 2012, 5:48pm UTC](https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186/2 "2012-06-21T17:48:23Z")

</div>

What is your java code ?

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 21 juin 2012 à 19:39, Yuhan [yzhang@onescreen.com](mailto:yzhang@onescreen.com) a écrit :

> Hi all,
> 
> I just followed the guide to create elasticsearch on ubuntu. It works fine  
> when I access it  
> through [http://localhost:9200](http://localhost:9200). But when I try to connect to it through the  
> java client,  
> at port 9300, it throws an error at me.
> 
> 12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info  
> for [#transport#-1][inet[/localhost:9300]]  
> org.elasticsearch.transport.RemoteTransportException:  
> [Tinkerer][inet[/127.0.0.1:9300]]  
> Caused by: org.elasticsearch.transport.ActionNotFoundTransportException: No  
> handler for action
> 
> I think it is a problem of configuration. could someone give me a suggestion  
> what might be missing?
> 
> I have the following in my /etc/elasticsearch/elasticsearch.yml file:
> 
> cluster.name: elasticsearch  
> path.data: /var/data/elasticsearch  
> network.bind\_host: 127.0.0.1  
> network.publish\_host: 127.0.0.1  
> network.host: 127.0.0.1  
> transport.tcp.port: 9300
> 
> Thank you.
> 
> Yuhan
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html](http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Yuhan](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@Yuhan](https://discuss.elastic.co/u/Yuhan)\
**Post date:** [June 21, 2012, 7:06pm UTC](https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186/3 "2012-06-21T19:06:17Z")

</div>

hi David,

Thanks for the reply. here's how I initialized the client.

```
public Client newSearchClient() {
    String host = "127.0.0.1";
    int port = 9300;
    InetSocketTransportAddress address = new

```

InetSocketTransportAddress(host, port);  
return new TransportClient().addTransportAddress( address );  
}

The exception was thrown from "addTransportAddress". I'm using a version  
0.18.5 client on a 0.19.4 server. could this be a problem?

Thank you.

Yuhan

On Thu, Jun 21, 2012 at 10:48 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> What is your java code ?
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 21 juin 2012 à 19:39, Yuhan [yzhang@onescreen.com](mailto:yzhang@onescreen.com) a écrit :
> 
> > Hi all,
> > 
> > I just followed the guide to create elasticsearch on ubuntu. It works  
> > fine  
> > when I access it  
> > through [http://localhost:9200](http://localhost:9200). But when I try to connect to it through  
> > the  
> > java client,  
> > at port 9300, it throws an error at me.
> > 
> > 12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info  
> > for [#transport#-1][inet[/localhost:9300]]  
> > org.elasticsearch.transport.RemoteTransportException:  
> > [Tinkerer][inet[/127.0.0.1:9300]]  
> > Caused by: org.elasticsearch.transport.ActionNotFoundTransportException:  
> > No  
> > handler for action
> > 
> > I think it is a problem of configuration. could someone give me a  
> > suggestion  
> > what might be missing?
> > 
> > I have the following in my /etc/elasticsearch/elasticsearch.yml file:
> > 
> > cluster.name: elasticsearch  
> > path.data: /var/data/elasticsearch  
> > network.bind\_host: 127.0.0.1  
> > network.publish\_host: 127.0.0.1  
> > network.host: 127.0.0.1  
> > transport.tcp.port: 9300
> > 
> > Thank you.
> > 
> > Yuhan
> > 
> > --  
> > View this message in context:  
> > [http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html](http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html)  
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 21, 2012, 7:29pm UTC](https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186/4 "2012-06-21T19:29:27Z")

</div>

Yes ! It is the problem.

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 21 juin 2012 à 21:06, Yuhan Zhang [yzhang@onescreen.com](mailto:yzhang@onescreen.com) a écrit :

> hi David,
> 
> Thanks for the reply. here's how I initialized the client.
> 
> ```
> public Client newSearchClient() {
> String host = "127.0.0.1";
> int port = 9300;
> InetSocketTransportAddress address = new InetSocketTransportAddress(host, port);
> return new TransportClient().addTransportAddress( address ); 
> }
> 
> ```
> 
> The exception was thrown from "addTransportAddress". I'm using a version 0.18.5 client on a 0.19.4 server. could this be a problem?
> 
> Thank you.
> 
> Yuhan
> 
> On Thu, Jun 21, 2012 at 10:48 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> What is your java code ?
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 21 juin 2012 à 19:39, Yuhan [yzhang@onescreen.com](mailto:yzhang@onescreen.com) a écrit :
> 
> > Hi all,
> > 
> > I just followed the guide to create elasticsearch on ubuntu. It works fine  
> > when I access it  
> > through [http://localhost:9200](http://localhost:9200). But when I try to connect to it through the  
> > java client,  
> > at port 9300, it throws an error at me.
> > 
> > 12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info  
> > for [#transport#-1][inet[/localhost:9300]]  
> > org.elasticsearch.transport.RemoteTransportException:  
> > [Tinkerer][inet[/127.0.0.1:9300]]  
> > Caused by: org.elasticsearch.transport.ActionNotFoundTransportException: No  
> > handler for action
> > 
> > I think it is a problem of configuration. could someone give me a suggestion  
> > what might be missing?
> > 
> > I have the following in my /etc/elasticsearch/elasticsearch.yml file:
> > 
> > cluster.name: elasticsearch  
> > path.data: /var/data/elasticsearch  
> > network.bind\_host: 127.0.0.1  
> > network.publish\_host: 127.0.0.1  
> > network.host: 127.0.0.1  
> > transport.tcp.port: 9300
> > 
> > Thank you.
> > 
> > Yuhan
> > 
> > --  
> > View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html](http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html)  
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Yuhan](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@Yuhan](https://discuss.elastic.co/u/Yuhan)\
**Post date:** [June 21, 2012, 8:07pm UTC](https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186/5 "2012-06-21T20:07:15Z")

</div>

hi David,

Thanks for the anwser. I downgraded the server to 0.18.5 and it works.

Yuhan

On Thu, Jun 21, 2012 at 12:29 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Yes ! It is the problem.
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 21 juin 2012 à 21:06, Yuhan Zhang [yzhang@onescreen.com](mailto:yzhang@onescreen.com) a écrit :
> 
> hi David,
> 
> Thanks for the reply. here's how I initialized the client.
> 
> ```
> public Client newSearchClient() {
> String host = "127.0.0.1";
> int port = 9300;
> InetSocketTransportAddress address = new
> 
> ```
> 
> InetSocketTransportAddress(host, port);  
> return new TransportClient().addTransportAddress( address );  
> }
> 
> The exception was thrown from "addTransportAddress". I'm using a version  
> 0.18.5 client on a 0.19.4 server. could this be a problem?
> 
> Thank you.
> 
> Yuhan
> 
> On Thu, Jun 21, 2012 at 10:48 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > What is your java code ?
> > 
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr
> > 
> > Le 21 juin 2012 à 19:39, Yuhan [yzhang@onescreen.com](mailto:yzhang@onescreen.com) a écrit :
> > 
> > > Hi all,
> > > 
> > > I just followed the guide to create elasticsearch on ubuntu. It works  
> > > fine  
> > > when I access it  
> > > through [http://localhost:9200](http://localhost:9200). But when I try to connect to it through  
> > > the  
> > > java client,  
> > > at port 9300, it throws an error at me.
> > > 
> > > 12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node  
> > > info  
> > > for [#transport#-1][inet[/localhost:9300]]  
> > > org.elasticsearch.transport.RemoteTransportException:  
> > > [Tinkerer][inet[/127.0.0.1:9300]]  
> > > Caused by:  
> > > org.elasticsearch.transport.ActionNotFoundTransportException: No  
> > > handler for action
> > > 
> > > I think it is a problem of configuration. could someone give me a  
> > > suggestion  
> > > what might be missing?
> > > 
> > > I have the following in my /etc/elasticsearch/elasticsearch.yml file:
> > > 
> > > cluster.name: elasticsearch  
> > > path.data: /var/data/elasticsearch  
> > > network.bind\_host: 127.0.0.1  
> > > network.publish\_host: 127.0.0.1  
> > > network.host: 127.0.0.1  
> > > transport.tcp.port: 9300
> > > 
> > > Thank you.
> > > 
> > > Yuhan
> > > 
> > > --  
> > > View this message in context:  
> > > [http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html](http://elasticsearch-users.115913.n3.nabble.com/setup-problem-No-handler-for-action-exception-on-9300-tp4019579.html)  
> > > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--  
Yuhan Zhang  
Application Developer  
OneScreen Inc.  
[yzhang@onescreen.com](mailto:yzhang@onescreen.com) [ehorne@onescreen.com](mailto:ehorne@onescreen.com)  
[www.onescreen.com](http://www.onescreen.com)

The information contained in this e-mail is for the exclusive use of the  
intended recipient(s) and may be confidential, proprietary, and/or legally  
privileged. Inadvertent disclosure of this message does not constitute a  
waiver of any privilege. If you receive this message in error, please do  
not directly or indirectly print, copy, retransmit, disseminate, or  
otherwise use the information. In addition, please delete this e-mail and  
all copies and notify the sender.

---

<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:** [July 6, 2017, 3:23am UTC](https://discuss.elastic.co/t/setup-problem-no-handler-for-action-exception-on-9300/8186/6 "2017-07-06T03:23:02Z")

</div>


