# IllegalArgumentException: invalid version format

**URL:** <https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324>\
**Category:** Elasticsearch\
**Created:** [July 27, 2015, 6:30am UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324 "2015-07-27T06:30:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)\
**Post date:** [July 27, 2015, 6:30am UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324/1 "2015-07-27T06:30:52Z")

</div>

Getting elasticsearch log eeroras _Caught exception while handling client http traffic, closing connection_  
_java.lang.IllegalArgumentException: invalid version format:_ while running logstash.conf file.

And getting logstash logs like _WARNING: failed to send ping to_  
_org.elasticsearch.transport.ReceiveTimeoutTransportException: []_  
_[internal:discovery/zen/unicast\_gte\_1\_4] request\_id [33] timed out after [3751ms]_  
_at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:529)_  
_at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)_  
_at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)_  
_at java.lang.Thread.run(Thread.java:745)_

Can you please tell what is my mistake

---

<div class="post-metadata">

**Author:** ![Joshua\_Rich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshua_rich/32/44953_2.png) [@Joshua\_Rich](https://discuss.elastic.co/u/Joshua_Rich)\
**Post date:** [July 27, 2015, 7:10am UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324/2 "2015-07-27T07:10:47Z")

</div>

What versions of Elasticsearch and Logstash are you using?

---

<div class="post-metadata">

**Author:** ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)\
**Post date:** [July 27, 2015, 7:11am UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324/3 "2015-07-27T07:11:57Z")

</div>

elasticsearch-1.6.0,logstash-1.5.2

---

<div class="post-metadata">

**Author:** ![Joshua\_Rich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshua_rich/32/44953_2.png) [@Joshua\_Rich](https://discuss.elastic.co/u/Joshua_Rich)\
**Post date:** [July 27, 2015, 7:19am UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324/4 "2015-07-27T07:19:33Z")

</div>

That's weird, those should be compatible. Are you sure all your ES nodes are running 1.6? Can you gist or pastebin the log messages before and after that first log message (like the full exception trace). It's hard to tell from a single isolated log line exactly what's going on here.

---

<div class="post-metadata">

**Author:** ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://discuss.elastic.co/u/Ashok)\
**Post date:** [July 27, 2015, 7:45am UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324/5 "2015-07-27T07:45:04Z")

</div>

Please findbelow the config files.  
**Elasticsearch.yml**

cluster.name: MYelasticsearch  
node.name: "Franz Kafkaooo"  
index.number\_of\_shards: 5  
index.number\_of\_replicas: 2  
network.host: localhost  
http.port: 9201

**logstash.conf**

input {  
file {  
path =\> "D:/LOGS/log1.txt"  
type =\> "core2"  
start\_position =\> "beginning"  
}  
}  
filter {  
csv { columns=\> ["TYPE","timestamp","MESSAGE","APPNAME"]  
separator =\> ","  
}  
}

output {  
elasticsearch{  
action =\> "index"  
host =\> "localhost"  
index =\> "logstash-%{+YYYY.MM.dd}"  
workers =\> 1  
cluster =\> "MYelasticsearch"  
port =\> "9201"

```
}
 stdout {
    codec => rubydebug
}

```

}

\*\*This is full log of ES.\*\*and it's getting repeated only.  
[2015-07-27 13:06:36,049][WARN][http.netty] [Franz Kafkaooo] Caught exception while handling client http traffic, closing connection [id: 0xf43c5693, /127  
java.lang.IllegalArgumentException: empty text  
at org.elasticsearch.common.netty.handler.codec.http.HttpVersion.(HttpVersion.java:89)  
at org.elasticsearch.common.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:62)  
at org.elasticsearch.common.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:75)  
at org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:191)  
at org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:102)  
at org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500)  
at org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)  
at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)  
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)  
at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)  
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)  
at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)  
at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)  
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)  
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)  
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)  
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)  
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)  
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)  
at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)

---

<div class="post-metadata">

**Author:** ![senlinwei](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@senlinwei](https://discuss.elastic.co/u/senlinwei)\
**Post date:** [May 3, 2017, 4:14am UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324/6 "2017-05-03T04:14:55Z")

</div>

Hi, [bro.Do](http://bro.Do) you fixed this issue?

---

<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 5, 2017, 10:00pm UTC](https://discuss.elastic.co/t/illegalargumentexception-invalid-version-format/26324/7 "2017-07-05T22:00:42Z")

</div>


