# "Discover: Unable to parse/seralize body" due to truncated HTTP response

**URL:** <https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307>\
**Category:** Kibana\
**Created:** [July 10, 2018, 9:16am UTC](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307 "2018-07-10T09:16:37Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [July 23, 2018, 9:22am UTC](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307/22 "2018-07-23T09:22:56Z")

</div>

> [@EldrosKandar](#):
>
> For example would it be useful to use Wireshark for more information, or wouldn't it be able to get information when the issue seems to be on the communication between Kibana and Elasticsearch.

Hi @EldrosKandar

If you can capture traffic between ES and Kibana and between Kibana and browser with Wireshark when issue happens and attach this to the GitHub issue (assuming you have no sensitive data there), that would definitely be very useful.

---

<div class="post-metadata">

**Author:** ![EldrosKandar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eldroskandar/32/33188_2.png) [@EldrosKandar](https://discuss.elastic.co/u/EldrosKandar)\
**Post date:** [July 23, 2018, 1:25pm UTC](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307/24 "2018-07-23T13:25:33Z")

</div>

Hi @azasypkin,

So I could capture the traffic while I made a call through the Console, now how do I provide this data to the devs without compromising potentially sensitive data? Alternatively, I can have a look at it myself, but what I am looking for? Also it doesn't seem to capture any traffic between services on the same host, as it is the case for ES and Kibana...

---

<div class="post-metadata">

**Author:** ![EldrosKandar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eldroskandar/32/33188_2.png) [@EldrosKandar](https://discuss.elastic.co/u/EldrosKandar)\
**Post date:** [July 25, 2018, 9:55am UTC](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307/25 "2018-07-25T09:55:28Z")

</div>

Hi @azasypkin

So I figured out how to use tshark on my remote server to get a dump file and I could only confirm what I suspected:

1. Browser send (Communication between port server:5601 and workmachine:54245)  
`POST /api/console/proxy?path=%2Findex-2018.07.10%2F_search&method=POST HTTP/1.1\r\n`
2. Elasticsearch becomes (Communication on the server between port 9200 and 39486)  
`POST /index-2018.07.10/_search HTTP/1.1\r\n`
3. Elasticsearch generates the complete response (response to local communication)
4. Truncated answer is send back to Kibana (response to communication server/workmachine)

I don't know how helpful it would be to the dev though...

---

<div class="post-metadata">

**Author:** ![EldrosKandar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eldroskandar/32/33188_2.png) [@EldrosKandar](https://discuss.elastic.co/u/EldrosKandar)\
**Post date:** [August 6, 2018, 8:40am UTC](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307/26 "2018-08-06T08:40:03Z")

</div>

Hi @azasypkin,

I've just updated our Elastic Stack to 6.3.2 and since then I couldn't reproduce the issue anymore.

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [August 6, 2018, 11:08am UTC](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307/27 "2018-08-06T11:08:52Z")

</div>

Hi @EldrosKandar,

Thanks a lot for getting back to us with the update and sorry for the delayed response! I'll close the issue for now, but feel free to re-open it if you hit by this issue again.

Best,  
Oleg

---

<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:** [September 3, 2018, 11:17am UTC](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307/28 "2018-09-03T11:17:46Z")

</div>

Closed on September 3, 2018, 11:17am UTC

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

[Previous page](https://discuss.elastic.co/t/discover-unable-to-parse-seralize-body-due-to-truncated-http-response/139307.md?page=1)
