# StreamCorruptedException when built from source

**URL:** <https://discuss.elastic.co/t/streamcorruptedexception-when-built-from-source/10547>\
**Category:** Elasticsearch\
**Created:** [January 29, 2013, 10:17pm UTC](https://discuss.elastic.co/t/streamcorruptedexception-when-built-from-source/10547 "2013-01-29T22:17:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Shea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jon_shea/32/2263_2.png) [@Jon\_Shea](https://discuss.elastic.co/u/Jon_Shea)\
**Post date:** [January 29, 2013, 10:17pm UTC](https://discuss.elastic.co/t/streamcorruptedexception-when-built-from-source/10547/1 "2013-01-29T22:17:49Z")

</div>

I’m having an issue building and running Elasticsearch from source. Each  
time I try run an Elasticsearch jar I built form source, I get an exception  
"java.io.StreamCorruptedException: invalid internal transport message  
format" either immediately on launch, or when I send my first API request.  
My full testing procedure, and the full stack, are pasted here:  
[https://gist.github.com/4667339](https://gist.github.com/4667339). I’ve tried to build f5e55b7cb90 (the  
current HEAD), 'v0.20.4', and 'v0.20.3' all to the same effect. Does anyone  
have any idea what might be going wrong? I have a rather modest patch the  
the `_analyze` endpoint  
([https://github.com/jonshea/elasticsearch/commit/afa83ddf1e9fd686da83f3a4851c43d9f5f24ff4](https://github.com/jonshea/elasticsearch/commit/afa83ddf1e9fd686da83f3a4851c43d9f5f24ff4))  
that I’d like to be able to test.

Thanks,

-Jon

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [January 30, 2013, 9:57am UTC](https://discuss.elastic.co/t/streamcorruptedexception-when-built-from-source/10547/2 "2013-01-30T09:57:00Z")

</div>

On Tue, 2013-01-29 at 14:17 -0800, Jon Shea wrote:

> I’m having an issue building and running Elasticsearch from source.  
> Each time I try run an Elasticsearch jar I built form source, I get an  
> exception "java.io.StreamCorruptedException: invalid internal  
> transport message format" either immediately on launch, or when I send  
> my first API request. My full testing procedure, and the full stack,  
> are pasted here: [https://gist.github.com/4667339](https://gist.github.com/4667339). I’ve tried to build  
> f5e55b7cb90 (the current HEAD), 'v0.20.4', and 'v0.20.3' all to the  
> same effect. Does anyone have any idea what might be going wrong? I  
> have a rather modest patch the the `_analyze` endpoint  
> ([https://github.com/jonshea/elasticsearch/commit/afa83ddf1e9fd686da83f3a4851c43d9f5f24ff4](https://github.com/jonshea/elasticsearch/commit/afa83ddf1e9fd686da83f3a4851c43d9f5f24ff4)) that I’d like to be able to test.

Is your client the same version as your server?

clint

> Thanks,
> 
> ## -Jon
> 
> You received this message because you are subscribed to the Google  
> Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send  
> an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:53am UTC](https://discuss.elastic.co/t/streamcorruptedexception-when-built-from-source/10547/3 "2017-07-06T02:53:59Z")

</div>


