# ES 5.5.1 exception caught on transport layer:closing connection,java.io.IOException: Operation timed out

**URL:** <https://discuss.elastic.co/t/es-5-5-1-exception-caught-on-transport-layer-closing-connection-java-io-ioexception-operation-timed-out/240905>\
**Category:** Elasticsearch\
**Created:** [July 13, 2020, 7:08am UTC](https://discuss.elastic.co/t/es-5-5-1-exception-caught-on-transport-layer-closing-connection-java-io-ioexception-operation-timed-out/240905 "2020-07-13T07:08:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wtfDragon1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wtfdragon1/32/41348_2.png) [@wtfDragon1](https://discuss.elastic.co/u/wtfDragon1)\
**Post date:** [July 13, 2020, 7:08am UTC](https://discuss.elastic.co/t/es-5-5-1-exception-caught-on-transport-layer-closing-connection-java-io-ioexception-operation-timed-out/240905/1 "2020-07-13T07:08:46Z")

</div>

I have a very urgent question，ask for help  
this is my config file:  
master:  
network.host: 0.0.0.0  
discovery.zen.minimum\_master\_nodes: 1  
node.master: true  
bootstrap.memory\_lock: false  
node.data: false  
node.ingest: false  
discovery.zen.ping.unicast.hosts: ["192.168.8.3:31300"]  
node.name: "master01"  
cluster.name: "esgroup"  
http.cors.enabled: true  
http.cors.allow-origin: "\*"  
network.publish\_host: "192.168.8.3"  
transport.tcp.port: 31300  
transport.publish\_port: 31300

data:  
network.host: 0.0.0.0  
discovery.zen.minimum\_master\_nodes: 1  
node.master: false  
bootstrap.memory\_lock: false  
node.data: true  
node.ingest: false  
discovery.zen.ping.unicast.hosts: ["192.168.8.3:31300"]  
node.name: "data01"  
cluster.name: "esgroup"  
http.cors.enabled: true  
http.cors.allow-origin: "\*"  
network.publish\_host: "192.168.8.4"  
transport.tcp.port: 9300  
transport.publish\_port: 9300

I use docker to deploy master and node nodes on two machines, the command is as follows：  
master:  
docker run -d --name elasticsearch -p 9200:9200 -p 31300:31300 -v /root/elasticsearch.yaml:/usr/share/elasticsearch/config/elasticsearch.yml elasticsearch:5.5.1-apline  
data:  
docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300-v /root/elasticsearch.yaml:/usr/share/elasticsearch/config/elasticsearch.yml elasticsearch:5.5.1-apline

It was successful at the beginning, but it will crash after the interruption, and then restart and then resume, and then crash again, so repeat

error:

```auto
[2020-07-13T01:32:36,313][INFO][o.e.n.Node] [master-1] started
[2020-07-13T01:32:48,541][INFO][o.e.c.s.ClusterService] [master-1] added {{data01}{DiVv7eMrRzareg01SvPMQA}{tn8WkquNRzOuffQFJuc_lg}{192.168.8.4}{192.168.8.4:9300},}, reason: zen-disco-node-join[{data01}{DiVv7eMrRzareg01SvPMQA}{tn8WkquNRzOuffQFJuc_lg}{10.75.2.65}{10.75.2.65:9300}]
[2020-07-13T03:44:06,098][WARN][o.e.t.n.Netty4Transport] [master-1] exception caught on transport layer [[id: 0xe64c0909, L:/172.17.0.3:31300 - R:/192.168.8.4:33810]], closing connection
java.io.IOException: Operation timed out
        at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:?]
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:?]
        at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:?]
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:?]
        at io.netty.buffer.PooledHeapByteBuf.setBytes(PooledHeapByteBuf.java:261) ~[netty-buffer-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100) ~[netty-buffer-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:372) ~[netty-transport-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123) [netty-transport-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644) [netty-transport-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:544) [netty-transport-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:498) [netty-transport-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458) [netty-transport-4.1.11.Final.jar:4.1.11.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-common-4.1.11.Final.jar:4.1.11.Final]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

```

Please help me thanks 🥶

---

<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:** [August 10, 2020, 7:19am UTC](https://discuss.elastic.co/t/es-5-5-1-exception-caught-on-transport-layer-closing-connection-java-io-ioexception-operation-timed-out/240905/2 "2020-08-10T07:19:01Z")

</div>

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