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.

Reply via email to