Solr index not updating getting error "UnknownException: Unexpected content type recieved. Expected 'application/xml' but was actually 'text/html;charset=iso-8859-1"

Solr indexes not updating, while investigating we saw couple of exception in monitoring. The full stack trace is as below,

UnknownException: There was an error indexing content ('Users'). (An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review.) ---> UnknownException: Unexpected content type recieved.  Expected 'application/xml' but was actually 'text/html;charset=iso-8859-1 (An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review.)
   at Telligent.Evolution.Search.Solr.SolrWebRequests.GetXmlFromResponse(WebResponse response)
   at Telligent.Evolution.Search.Solr.SolrWebRequests.GetFromHttpRequest(WebRequest request)
   at Telligent.Evolution.Search.Solr.SolrWebRequests.Post(String url, String stringToPost, String tracePointName)
   at Telligent.Evolution.Search.Providers.Solr.SearchProvider.IndexContent(IEnumerable`1 documents)
   at Telligent.Evolution.CoreServices.Search.Implementation.SearchIndexingService.IndexContent(String handlerName, IEnumerable`1 contentToIndex)
   at Telligent.Evolution.CoreServices.Search.Implementation.SearchIndexingService.IndexContentTypes(IEnumerable`1 registeredContentTypes, Int32 maxDocsPerHandler, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Telligent.Evolution.CoreServices.Search.Implementation.SearchIndexingService.IndexContentTypes(IEnumerable`1 registeredContentTypes, Int32 maxDocsPerHandler, CancellationToken cancellationToken)
   at Telligent.Evolution.CoreServices.Search.Implementation.SearchIndexingService.IndexContent(Int32 maxDocsPerHandler, Boolean deleteQueuedContentEachRun, CancellationToken cancellationToken)
   at Telligent.Evolution.Api.Search.SearchIndexJob.Execute(JobData jobData)
   at Telligent.Evolution.Components.Jobs.EvolutionJobRunner.SubExecute(JobExecutionContext context)
   at Telligent.Evolution.Components.Jobs.BaseJobRunner.Execute(JobExecutionContext job)
   at ...()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Do i need to change anything for solr configuration?

Parents Reply Children