Check indentation. YAML is very sensible.

So if you have:

cluster.name: bla
  http.max_content_length: 100mb

The later won't be applied. It must be:
cluster.name: bla
http.max_content_length: 100mb


--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs


Le 9 août 2014 à 01:48, Sitka <[email protected]> a écrit :

I was doing a PUT to ES and got this error:

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

I checked the message and it was indeed larger than 4096.  So I went to 
elasticsearch.yml config file and found:

# Set a custom allowed content length:
#
# http.max_content_length: 100mb

in the section configuring the HTTP ports.  I uncommented the line can made the 
number smaller and saved.  Stopped ES and restarted it. 
Did the same PUT again.  Got the same error.   Leads me to believe this 
parameter is not correctly being processed at start up.  

Anyone out there had the same experience and found another fix for it?


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/5b075fb6-cb9a-4fa3-8572-421f40b183c7%40googlegroups.com.
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CEE95014-8CD3-4924-94D8-3966A396F9D8%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to