# Une connexion existante a dû être fermée par l’hôte distant

**URL:** <https://discuss.elastic.co/t/une-connexion-existante-a-du-etre-fermee-par-l-hote-distant/127323>\
**Category:** Elasticsearch\
**Created:** [April 9, 2018, 1:02pm UTC](https://discuss.elastic.co/t/une-connexion-existante-a-du-etre-fermee-par-l-hote-distant/127323 "2018-04-09T13:02:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrigui94](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@chrigui94](https://discuss.elastic.co/u/chrigui94)\
**Post date:** [April 9, 2018, 1:02pm UTC](https://discuss.elastic.co/t/une-connexion-existante-a-du-etre-fermee-par-l-hote-distant/127323/1 "2018-04-09T13:02:52Z")

</div>

I always receive this problem and I can't find a solution for this :  
[2018-04-09T11:31:33,435][WARN][o.e.h.n.Netty4HttpServerTransport] [SST-P1307000FW] caught exception while handling client http traffic, closing connection [id: 0xf3359329, L:/127.0.0.1:9200 - R:/127.0.0.1:59532]  
java.io.IOException: Une connexion existante a dû être fermée par l’hôte distant  
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:?]  
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:?]  
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\_144]

---

<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:** [April 9, 2018, 1:53pm UTC](https://discuss.elastic.co/t/une-connexion-existante-a-du-etre-fermee-par-l-hote-distant/127323/2 "2018-04-09T13:53:08Z")

</div>

This is happening when you close a client and the response from the server (elasticsearch) has not been totally delivered.

---

<div class="post-metadata">

**Author:** ![chrigui94](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@chrigui94](https://discuss.elastic.co/u/chrigui94)\
**Post date:** [April 9, 2018, 2:28pm UTC](https://discuss.elastic.co/t/une-connexion-existante-a-du-etre-fermee-par-l-hote-distant/127323/3 "2018-04-09T14:28:37Z")

</div>

What can I do as an Action to solve this ?

---

<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:** [April 9, 2018, 2:44pm UTC](https://discuss.elastic.co/t/une-connexion-existante-a-du-etre-fermee-par-l-hote-distant/127323/4 "2018-04-09T14:44:17Z")

</div>

I don't know what you are doing. I'm afraid I can't tell.

---

<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:** [May 7, 2018, 2:47pm UTC](https://discuss.elastic.co/t/une-connexion-existante-a-du-etre-fermee-par-l-hote-distant/127323/5 "2018-05-07T14:47:02Z")

</div>

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