Possible problem in elasticsearch.yml parameter


#1

I did a put to ES and got the following error:

org.elasticsearch.common.netty.handler.codec.frame.TooLongFrameException:
An HTTP line is larger than 4096 bytes.

Set a custom allowed content length:

http.max_content_length: 100mb

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6685e59c-1e57-46f6-8228-e560e409c98e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #2

How does your PUT request look like?

You send a HTTP header with >4k, which is not usual. You can increase the
length with the parameter http.max_initial_line_length

The parameter http.max_content_length covers the total message length

Jörg

On Sat, Aug 9, 2014 at 1:42 AM, Sitka sitkawoof@gmail.com wrote:

I did a put to ES and got the following error:

org.elasticsearch.common.netty.handler.codec.frame.TooLongFrameException:
An HTTP line is larger than 4096 bytes.

Set a custom allowed content length:

http.max_content_length: 100mb

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6685e59c-1e57-46f6-8228-e560e409c98e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/6685e59c-1e57-46f6-8228-e560e409c98e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE9uqDQtOi88krQCCqx1iek8cJkgpU9nyGyQp3A9xiEYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3