Gravatar for mdaftari@verndale.com

Question by Mrunal Daftari, Oct 13, 2015 1:47 PM

Rest end point 404 error

Hi,

I installed the coveo for sitecore and running into issues. My set up is coveo is installed on its own standalone instance and sitecore site is running on a separate server.

While installing i did check the checkbox for sitecore and configured all other recommended settings.

I reinstalled after facing REST issues.

But after trying lot of things i am still getting REST config 404 not found.

The remote server returned an error: (404) Not Found. (Hide details)
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Coveo.SearchProvider.Applications.StateVerifier.<>c__DisplayClassd.<GetRestEndpointState>b__c()
   at Coveo.SearchProvider.Applications.BaseVerifier.VerifyComponent(Func`1 p_VerifyMethod, String p_ComponentName)

I verified my .YML file and its certificates path, etc. Same setup and configs are working fine on my local but not working on the 2 separate server instance.

I am receiving 2 more errors as mentioned below:

Coveo Search Web Service

Exception Name:class CES::SearchServerException, What:class CES::SearchServerException: No user has been provided for the search request. (Hide details)
System.ServiceModel.FaultException`1[Coveo.Framework.CoveoSearchService.ExceptionBaseDetail]: Exception Name:class CES::SearchServerException, What:class CES::SearchServerException: No user has been provided for the search request. (Fault Detail is equal to Coveo.Framework.CoveoSearchService.ExceptionBaseDetail).

Coveo Security Service

The remote server returned an error: (404) Not Found. (Hide details)
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Coveo.SearchProvider.Applications.StateVerifier.<>c__DisplayClass16.<GetWebServiceState>b__15()
   at Coveo.SearchProvider.Applications.BaseVerifier.VerifyComponent(Func`1 p_VerifyMethod, String p_ComponentName)

Can any one help here?

Here's my REST config result for URL http://localhost:8080/rest/search?q=@uri.

{
  "totalCount" : 0,
  "totalCountFiltered" : 0,
  "duration" : 78,
  "indexDuration" : 10,
  "requestDuration" : 78,
  "searchUid" : "e856f653-84eb-4bed-a893-4e8769351d01",
  "pipeline" : "default",
  "apiVersion" : 2,
  "notifications" : [ ],
  "termsToHighlight" : { },
  "phrasesToHighlight" : { },
  "queryCorrections" : [ ],
  "groupByResults" : [ ],
  "results" : [ ]
}
Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Oct 14, 2015 9:18 AM

It is hard to troubleshoot configuration problems on this website since you can't upload your configuration files. If you have a support plan, please open a ticket with Coveo Support for this issue.

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Oct 16, 2015 5:54 PM

Your "Coveo Search Web Service" error should be resolved after you rebuild your Sitecore indexes for the first time. The problem is that the security provider was not created yet in CES and it is used by the Search Service test.

For the REST ans Security Service, is it possible that you access the Coveo for Sitecore diagnostic page from a browser on a computer other than the Sitecore server? We found a problem generating false negative errors for those 2 tests when the page is assessed from outside the Sitecore server. If you remote desktop on the Sitecore server and open the diagnostic page from there (localhost), are the errors gone?

Ask a question