cancel
Showing results for 
Search instead for 
Did you mean: 

solr search issue : Expected mime type application/octet-stream but got text/html.

former_member643426
Discoverer
11,775

Hi All,

when i am searching a keyword in search box , i am getting below error.Could you please help me to resolve the issue.

ERROR [hybrisHTTP13] [SolrSearchRequestResponsePopulator] Exception while executing SOLR search de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at https://localhost:8983/solr: Expected mime type application/octet-stream but got text/html. <h1>Bad Message 414</h1><pre>reason: URI Too Long</pre>

View Entire Topic
former_member704915
Participant

Hello ,

You will have to override the facet search strategy and change the method POST:

INSERT_UPDATE SolrServerConfig ;name[unique=true];solrQueryMethod
 ;$serverConfigName; POST

Do let me know if this resolves your issue.

Thank you!

former_member643426
Discoverer
0 Kudos

Yes, Resolved my issue.

Thank you.

You skipped mode(code); and to add (code) at the end of solrQueryMethod

INSERT_UPDATE SolrServerConfig; name[unique = true]; mode(code) ; solrQueryMethod(code);
                              ; $serverConfigName  ; standalone ; POST                 ;
felipe_armijo
Newcomer
0 Kudos

Thanks works for me

former_member709366
Discoverer
0 Kudos

yep, it works

Siva_Kumar_G
Newcomer
I Do see the same issue, though i have POST. Do you have anything for this.?