SAP Knowledge Base Article - Preview

2534895 - How to resolve "status: 414, message:Request-URI Too Long" error

Symptom

Customer are implementing Hybris Commerce B2B and B2C.  When uploading facets to their system,  getting "Request-URI Too Long" error from Solr system. The  related error log and the request in attachments.
Here's error log snippet.
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 | ERROR [hybrisHTTP19] [SolrSearchRequestResponsePopulator] Exception while executing SOLR search
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 | de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at http://******:8983/solr: non ok status: 414, message:Request-URI Too Long
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 |  at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.search(LegacyFacetSearchStrategy.java:205) ~[solrfacetsearchserver.jar:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 |  at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:90) ~[solrfacetsearchserver.jar:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 |  at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:79) ~[solrfacetsearchserver.jar:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 |  at de.hybris.platform.commerceservices.search.solrfacetsearch.populators.SolrSearchRequestResponsePopulator.populate(SolrSearchRequestResponsePopulator.java:71) ~[classes/:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 |  at de.hybris.platform.commerceservices.search.solrfacetsearch.populators.SolrSearchRequestResponsePopulator.populate(SolrSearchRequestResponsePopulator.java:1) ~[classes/:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 |  at de.hybris.platform.converters.impl.AbstractPopulatingConverter.populate(AbstractPopulatingConverter.java:73) ~[classes/:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.946 |  at de.hybris.platform.commerceservices.converter.impl.AbstractPopulatingConverter.convert(AbstractPopulatingConverter.java:37) ~[classes/:?]
.......
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.981 | Caused by: de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at http://****:8983/solr: non ok status: 414, message:Request-URI Too Long
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.981 |  at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.search(LegacyFacetSearchStrategy.java:191) ~[solrfacetsearchserver.jar:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.981 |  ... 158 more
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.981 | Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://****:8983/solr: non ok status: 414, message:Request-URI Too Long
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.981 |  at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:525) ~[solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - jpountz - 2016-06-13 09:46:59]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.982 |  at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:259) ~[solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - jpountz - 2016-06-13 09:46:59]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.982 |  at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248) ~[solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - jpountz - 2016-06-13 09:46:59]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.982 |  at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:547) ~[solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - jpountz - 2016-06-13 09:46:59]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.982 |  at de.hybris.platform.solrfacetsearch.solr.impl.CachedSolrClient.request(CachedSolrClient.java:50) ~[solrfacetsearchserver.jar:?]
INFO   | jvm 1    | main    | 2017/09/12 19:46:37.982 |  at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149) ~[solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - jpountz - 2016-06-13 09:46:59]


Read more...

Environment

  • SAP Hybris Commerce 6.3.0.6
  • solr version 5.3.0, in legacy mode

Product

SAP Hybris Commerce 6.3

Keywords

solr, status: 414, message:Request-URI Too Long, facet , KBA , CEC-COM-CPS , Commerce Platform & Suite (SAP Commerce) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.