Article - CS337515

"Error 401 Unauthorized" related to Index Search Solr Server thrown in log of Windchill PDMlink

Modified: 11-Nov-2025   


Applies To

  • Windchill PartsLink 11.2 to 13.1
  • Windchill PDMLink 11.0 to 13.1

Description

  • Windchill start with Solr errors "Error 401 Unauthorized" throws in Method Server log files
  • Getting Warning Index Server Down was popped up when searching even if Index Server is up
  • Classification structure cannot load normally in Classification Explorer although have started the Index Search Server
  • Error "Error 401 Unauthorized" related to Index Search Solr Server thrown in log
  • Error in Method Server:
wt.index.StandardIndexPolicyManager  - Exception while pinging the index server
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://xxx.xx.xx:8085/solr/wblib: 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 Unauthorized</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /solr/wblib/admin/ping. Reason:
<pre>Unauthorized</pre></p>
</body>
</html>
  • Unable to do Classification Search, UI shows "Index Server is down", Index Server is up and running without any error
  • Unable to perform Advanced Search with Keyword, error below is shown in UI 
    Index Server Down
    The index search function is not available,  an attribute search has been used. The search results may not contain all of the objects you expected. Please contact your Windchill system administrator
     
  • Error "Index Server seems to be down, please contact your Windchill system administrator" while searching for Classification Node
  • The MethodServer log reports error:
ERROR : wt.index.StandardIndexPolicyManager  - Exception while pinging the index server
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://XXX:8085/solr/wblib: 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 Unauthorized</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /solr/wblib/admin/ping. Reason:
<pre>Unauthorized</pre></p>
</body>
</html>
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:620)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:262)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:245)
at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1274)
at wt.index.service.SolrServiceImpl.pingSolr(SolrServiceImpl.java:144)
at wt.index.StandardIndexPolicyManager.updateIndexServerStatusCache(StandardIndexPolicyManager.java:509)
at wt.index.StandardIndexPolicyManager.access$100(StandardIndexPolicyManager.java:69)
at wt.index.StandardIndexPolicyManager$IndexServerStatusManagerTask.run(StandardIndexPolicyManager.java:489)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java
  • Bulk Indexing is failing with Error "Error 401 Unauthorized"
  • 401 error still happen after change password in codebase/WEB-INF/conf/index.solrAuth.properties and <Solr home>\config\solrserver.properties
This is a printer-friendly version of Article 337515 and may be out of date. For the latest version click CS337515