我正在将Hybris升级到1808版本。要进行此升级,我必须将Solr升级到7.4版。升级的solr服务器正在启动,没有任何错误,但是当我尝试搜索任何产品时,它会引发HTTP错误401
[m de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at https://localhost:8983/solr: Error from server at https://localhost:8983/solr/master_XXXXXXX_Index: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 401 require authentication</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /solr/master_XXXXXXXX_Index/select. Reason:
<pre> require authentication</pre></p>
</body>
</html>
at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.search(LegacyFacetSearchStrategy.java:204) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:89) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:78) ~[solrfacetsearchserver.jar:?]
at com.hybris.XXXXXX.core.search.content.impl.XXXXXXXXSearchService.quickSearchContent(XXXXXXXXSearchService.java:754) [classes/:?]
我知道此版本的solr使用https和security.json进行身份验证和授权,因此我删除了所有与身份验证相关的设置,即security.json,authType的属性文件条目,用户和密码。
[m de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at https://localhost:8983/solr: Error from server at https://localhost:8983/solr/master_XXXXXXXContent_Index: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/master_XXXXXXXContent_Index/select. Reason:
<pre> Not Found</pre></p>
</body>
</html>
at de.hybris.platform.solrfacetsearch.search.impl.LegacyFacetSearchStrategy.search(LegacyFacetSearchStrategy.java:204) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:89) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:78) ~[solrfacetsearchserver.jar:?]
at com.hybris.doterra.core.search.content.impl.XXXXXXXXContentSearchService.quickSearchContent(DefaultDoterraContentSearchService.java:754) [classes/:?]
我不确定导致此问题的缺少哪些配置/步骤。