Gravatar for swamcts@gmail.com

Question by swamcts, Jan 3, 2017 2:50 PM

Error on coveo installation: http://yourSitecoreInstanceUrl/coveo/rest not working

Hi,

After installing coveo for sitecore , am getting error on diagnose page,

  • Current Coveo for Sitecore version: 4.0.450.0
  • Coveo search api: 8.0
  • CES: 7.0 x64 Build 8541.0

When i access http://yourSitecoreInstanceUrl/coveo/rest its not working saying

{"message":"Unable to connect to the remote server","errorCode":"ConnectFailure"}

Coveo Search REST Endpoint
The remote server returned an error: (401) Unauthorized.

Coveo Search Web Service
Invalid URI: The format of the URI could not be determined.  

Coveo Security Service
The remote server returned an error: (401) Unauthorized.

Please help me.

Thanks Swami

Gravatar for dberube@coveo.com

Comment by Dominic Berube, Jan 3, 2017 3:06 PM

The 'Invalid URI: The format of the URI could not be determined.' let me think you have a configuration error somewhere. Look where you changed the URIs.

Gravatar for swamcts@gmail.com

Comment by swamcts, Jan 3, 2017 3:38 PM

please check and let me know, still i am having error

1 Reply
Gravatar for sbelzile@coveo.com

Answer by Sébastien Belzile, Jan 3, 2017 3:07 PM

Does this applies to you?

or this?

Gravatar for swamcts@gmail.com

Comment by swamcts, Jan 4, 2017 11:06 AM

Sill am having error, any one please assist me

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jan 4, 2017 11:12 AM

Such problem is very hard to troubleshoot here because it is mostly a misconfiguration issue on your side. I suggest you to open a support ticket and include a link to this thread in your problem description.

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Jan 4, 2017 11:14 AM

Did you checked what we asked to validate?

From answers question 1:

  • The default Coveo Search API port (8080) was used by another application. The service wasn't able to start.
  • The application secret was not synchronized between the Coveo Search API config.yml and the Coveo for Sitecore Coveo.SearchProvider.Rest.config files.

Check answers question 2 as well and what Dominic asked you to check please.

Also if you could provide details about what your configurations are, it would be great.

But with such problem, I think opening a support ticket would be more helpful to you.

Gravatar for swamcts@gmail.com

Comment by swamcts, Jan 5, 2017 11:43 AM

Coveo Search API started and working fine. http://<>:8080/rest/search - am getting response.

Synchronization from action page - works fine

The problem is When i access http://SitecoreInstanceUrl/coveo/rest its not working saying

{"message":"Unable to connect to the remote server","errorCode":"ConnectFailure"}

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Jan 5, 2017 11:48 AM

The rest service is located in your Sitecore instance. Sitecore is unable to communicate with himself. Anything more precise in your Sitecore logs?

I keep thinking that you should open a support case with Coveo.

Ask a question