# No more local transport on 6.0.x

**URL:** <https://discuss.elastic.co/t/no-more-local-transport-on-6-0-x/102416>\
**Category:** Elasticsearch\
**Created:** [October 2, 2017, 8:55am UTC](https://discuss.elastic.co/t/no-more-local-transport-on-6-0-x/102416 "2017-10-02T08:55:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone\_Scarduzio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone_scarduzio/32/17128_2.png) [@Simone\_Scarduzio](https://discuss.elastic.co/u/Simone_Scarduzio)\
**Post date:** [October 2, 2017, 8:55am UTC](https://discuss.elastic.co/t/no-more-local-transport-on-6-0-x/102416/1 "2017-10-02T08:55:07Z")

</div>

Hi, I'm trying to run ES from my IDE. Everything is fine with 5.x using `transport.type: local` setting. But as soon as I change to 6.0.0-beta2 I get this exception:

```auto
[2017-10-02T10:43:49,295][INFO][o.e.n.Node] [] initializing ...
[2017-10-02T10:43:49,428][INFO][o.e.e.NodeEnvironment] [5UTUS-1] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [156.3gb], net total_space [464.7gb], types [hfs]
[2017-10-02T10:43:49,428][INFO][o.e.e.NodeEnvironment] [5UTUS-1] heap size [981.5mb], compressed ordinary object pointers [true]
[2017-10-02T10:43:49,550][INFO][o.e.n.Node] node name [5UTUS-1] derived from node ID [5UTUS-1uQF6oz8txX73z2w]; set [node.name] to override
[2017-10-02T10:43:49,550][INFO][o.e.n.Node] version[6.0.0-rc1], pid[81829], build[b9c0df2/2017-09-25T19:11:45.815Z], OS[Mac OS X/10.12.6/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_101/25.101-b13]
[2017-10-02T10:43:49,550][INFO][o.e.n.Node] JVM arguments [-Djava.security.policy=/me/elasticsearch-readonlyrest-plugin-5.x/integration-tests/src/test/eshome/plugins/readonlyrest/plugin-security.policy, -Djava.awt.headless=true, -Des.insecure.allow.root=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Des.path.home=/me/elasticsearch-readonlyrest-plugin-5.x/integration-tests/src/test/eshome, -Dlog4j2.disable.jmx=true, -Xms1g, -Xmx1g, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j.skipJansi=true, -Des.path.conf=config, -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=58271:/Applications/IntelliJ IDEA.app/Contents/bin]
[2017-10-02T10:43:49,550][WARN][o.e.n.Node] version [6.0.0-rc1] is a pre-release version of Elasticsearch and is not suitable for production
[2017-10-02T10:43:49,921][INFO][o.e.p.PluginsService] [5UTUS-1] no modules loaded
[2017-10-02T10:43:49,926][INFO][o.e.p.PluginsService] [5UTUS-1] loaded plugin [readonlyrest]
[2017-10-02T10:43:52,048][DEBUG][o.e.a.ActionModule] Using REST wrapper from plugin org.elasticsearch.plugin.readonlyrest.es.ReadonlyRestPlugin
[2017-10-02T10:43:52,122][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Unsupported transport.type [local]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:134) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:121) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:69) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
Caused by: java.lang.IllegalStateException: Unsupported transport.type [local]
	at org.elasticsearch.common.network.NetworkModule.getTransportSupplier(NetworkModule.java:211) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.node.Node.<init>(Node.java:418) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.node.Node.<init>(Node.java:245) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:322) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:130) ~[elasticsearch-6.0.0-rc1.jar:6.0.0-rc1]
	... 6 more

Process finished with exit code 1

```

Commenting out the `transport.type: local` does not help, as the fundamental issue is that the `NetworkModule.transportFactories` hashmap is **empty**.

In 5.x, the local transport was added in the NetworkModule constructor. This is not true anymore in 6.0.x.

Which is weird, because I see you have left a dangling, unused constant:

```java
public static final String LOCAL_TRANSPORT = "local";

```

How can I tell ES 6.0.\* to use local transport? Otherwise it doesn't even start ☹

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [October 5, 2017, 2:27am UTC](https://discuss.elastic.co/t/no-more-local-transport-on-6-0-x/102416/2 "2017-10-05T02:27:13Z")

</div>

> [@Simone\_Scarduzio](#):
>
> How can I tell ES 6.0.\* to use local transport?

You can not. Local transport has been removed.

---

<div class="post-metadata">

**Author:** ![Simone\_Scarduzio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone_scarduzio/32/17128_2.png) [@Simone\_Scarduzio](https://discuss.elastic.co/u/Simone_Scarduzio)\
**Post date:** [October 5, 2017, 8:20am UTC](https://discuss.elastic.co/t/no-more-local-transport-on-6-0-x/102416/3 "2017-10-05T08:20:12Z")

</div>

OK then that constant is a left over?

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [October 5, 2017, 10:31am UTC](https://discuss.elastic.co/t/no-more-local-transport-on-6-0-x/102416/4 "2017-10-05T10:31:59Z")

</div>

Yes, I [removed](https://github.com/elastic/elasticsearch/commit/8a20dae6207e927576287c1742592d3e1b932065) it.

---

<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:** [November 2, 2017, 10:32am UTC](https://discuss.elastic.co/t/no-more-local-transport-on-6-0-x/102416/5 "2017-11-02T10:32:09Z")

</div>

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