Fix for Tomcat / SOLR Error Connection reset by peer: socket write error

I came across this issue when trying to index data that contained a large number of literal key/values. By a process of elimination, I determined that Tomcat’s (6.x) maxHttpHeaderSize was being exceeded so I bumped it up a bit. Edit  the “Connector” element in <tomcat>/conf/server.xml as below. Hope this helps.

<Connector port="8080" protocol="HTTP/1.1"

One Comment

  1. Thanx for the blog. I came up with an issue exacty of these type.And was able to resolve it. Again thanx a ton.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s