Article - CS367346

"Error 401 Unauthorized error" in Methodserver log upon staring Windchill after configuring Windchill with a new Solr Index Search Server in Windchill

Modified: 17-Mar-2025   


Applies To

  • Windchill PDMLink 11.1 to 13.0

Description

  • "Error 401 Unauthorized error"   in Methodserver log  upon  staring Windchill after configuring  Windchill with a new Solr Index Search Server  in Windchill 
ERROR [pool-6-thread-1] wt.index.StandardIndexPolicyManager  - Exception while pinging the index server
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://<Solr machine hostname>: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 Unauthorized</h2>
<table>
<tr><th>URI:</th><td>/solr/wblib/admin/ping</td></tr>
<tr><th>STATUS:</th><td>401</td></tr>
<tr><th>MESSAGE:</th><td>Unauthorized</td></tr>
<tr><th>SERVLET:</th><td>default</td></tr>
</table>

</body>
</html>
 
  •  Accessing  Solr Admin URL in browser  works fine  and Solr Admin credential works fine on Solr side 
 
            
This is a printer-friendly version of Article 367346 and may be out of date. For the latest version click CS367346