You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/05/07 05:52:00 UTC

[jira] [Commented] (SOLR-13612) Error 500 with update extract handler on Solr 7.4.0

    [ https://issues.apache.org/jira/browse/SOLR-13612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101398#comment-17101398 ] 

David Smiley commented on SOLR-13612:
-------------------------------------

This may or may not be an issue after SOLR-14461; please try when you get a chance.  Still.... there ought to be limits on such things so I'd almost rather just close this issue as won't-fix.

> Error 500 with update extract handler on Solr 7.4.0
> ---------------------------------------------------
>
>                 Key: SOLR-13612
>                 URL: https://issues.apache.org/jira/browse/SOLR-13612
>             Project: Solr
>          Issue Type: Bug
>          Components: UpdateRequestProcessors
>    Affects Versions: 7.4
>            Reporter: Julien Massiera
>            Priority: Critical
>
> When sending a document via multipart POST update request, if a doc parameter name contains too much chars, the POST method fails with a 500 code error and one can see the following exception in the logs : 
> {code:java}
> ERROR 2019-06-20T09:43:41,089 (qtp1625082366-13) - Solr|Solr|solr.servlet.HttpSolrCall|[c:FileShare s:shard1 r:core_node2 x:FileShare_shard1_replica_n1] o.a.s.s.HttpSolrCall null:org.apache.commons.fileupload.FileUploadException: Header section has more than 10240 bytes (maybe it is not properly terminated)
>                 at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:362)
>                 at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:115)
>                 at org.apache.solr.servlet.SolrRequestParsers$MultipartRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:602)
>                 at org.apache.solr.servlet.SolrRequestParsers$StandardRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:784)
>                 at org.apache.solr.servlet.SolrRequestParsers.parse(SolrRequestParsers.java:167)
>                 at org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:317)
>                 at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469)
>                 at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:377)
>                 at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:323)
>                 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1634)
>                 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
>                 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
>                 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>                 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>                 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
>                 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
>                 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
>                 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
>                 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
>                 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
>                 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
>                 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
>                 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
>                 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
>                 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)
>                 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
>                 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>                 at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
>                 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>                 at org.eclipse.jetty.server.Server.handle(Server.java:531)
>                 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
>                 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
>                 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
>                 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
>                 at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
>                 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
>                 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
>                 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
>                 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
>                 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
>                 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:760)
>                 at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:678)
>                 at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Header section has more than 10240 bytes (maybe it is not properly terminated)
>                 at org.apache.commons.fileupload.MultipartStream.readHeaders(MultipartStream.java:544)
>                 at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.findNextItem(FileUploadBase.java:1038)
>                 at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.hasNext(FileUploadBase.java:1106)
>                 at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:339)
>                 ... 42 more
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org