While doing indexing we are facing below issue,
Job started: Index_Update_IndexName=Coveo_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Coveo.CloudPlatformClient.Exceptions.StopRebuildException: An error occurred while querying indexed documents. ---> Coveo.Framework.Utils.Rest.HttpClientException: Failed to obtain resource located at 'http://localhost/coveo/rest?pipeline='. [BEGIN RESPONSE BODY]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Not Found</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Not Found</h2> <hr><p>HTTP Error 404. The requested resource is not found.</p> </BODY></HTML> [END RESPONSE BODY] ---> System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.GetResponse() at Coveo.Framework.Utils.Rest.HttpClient.ExecuteRequest(String p_Url, Func`2 p_CreateRequest, Int64 p_CallId) --- End of inner exception stack trace --- at Coveo.Framework.Utils.Rest.HttpClient.HandleResponseException(WebException p_Exception, String p_Url, Int64 p_CallId) at Coveo.Framework.Utils.Rest.HttpClient.ExecuteRequest(String p_Url, Func`2 p_CreateRequest, Int64 p_CallId) at Coveo.Framework.Utils.Rest.HttpClient.PostRaw(String p_Url, String p_Body) at Coveo.Framework.Utils.Rest.HttpClient.Post(String p_Url, String p_Body) at Coveo.SearchServiceProvider.Rest.SearchQueryHelper.ExecuteQuery(QueryParams p_QueryParams, String p_Username) at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentsHandler.ExecuteQuery(QueryParams p_QueryParams) --- End of inner exception stack trace --- at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentsHandler.ExecuteQuery(QueryParams p_QueryParams) at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentsHandler.<>c__DisplayClass46.<CreateAddedDocumentsPoller>b__43(IIncrementingPollerController controller) at Coveo.Framework.Synchronization.IncrementingPoller.WaitUntilComplete() at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentsHandler.ProcessStopRebuild(RebuildContext p_Context) at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentsHandler.StopRebuild(RebuildContext p_Context) at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentIndexer.StopRebuild(RebuildContext p_Context) at Coveo.CloudPlatformClient.Communication.CloudPlatformCommunication.StopRebuild(RebuildContext p_Context) at Coveo.SearchProvider.ProviderIndexBase.PerformRebuild(IProviderUpdateContext p_Context, Action`1 p_CrawlerAction) at Coveo.SearchProvider.ProviderIndexBase.Rebuild(IndexingOptions p_IndexingOptions, IProviderUpdateContext p_Context, Action`1 p_CrawlerAction) at Coveo.SearchProvider.ProviderIndex.TryPerformIndexingOperation(IndexingOptions p_IndexingOptions, Action p_Action) at Coveo.SearchProvider.ProviderIndex.Rebuild() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) at Sitecore.Jobs.Job.ThreadEntry(Object state)
Any suggestions on this!
It is really hard to help you when you give us this little information and only a stack trace. It takes us more time to go through your issues when you don't provide some basic information:
And more importantly:
Show us that you have tried to debug this and could not manage to resolve it. Eliminate some of the obvious use cases so that we can rule those possibilities out. Search for it and see if one of the existing solutions is working for you. Testing those might even work right away! Here is a really simple query that has a lot of results: 404 Coveo Rest Endpoint
The more information you provide us, the more likely we will respond quickly.
----
Now, getting to your issue:
I can guess that this is a local instance with the address in the error: http://localhost/coveo/rest?pipeline=
. Have you tried this endpoint? What happens when you access it?
Error rebuilding indexes with Coveo for Sitecore 4.0 Pro Cloud Edition Trial 1 Answer
coveo JS search page is not working in mobile application 1 Answer
Coveo for Sitecore: Removing Coveo Search Page Insert Options 1 Answer
Configure multiselect field as field suggestion. 0 Answers
Javascript queryBuilder expressions, filtering by date 2 Answers