Gravatar for yura.lee@avanade.com

Question by yuralee, Jul 13, 2015 10:31 AM

Coveo search function on page returns error message

Hi, We have a site from our CD load balance server. If you click on the search function on the site, I am getting this message:

Coveo Entreprise Search seems to be unavailable. Please make sure that the service is installed and started.

Description: An unhandled exception occurred.

Exception Details: Coveo.Framework.Exceptions.CesUnavailableException: Coveo Entreprise Search seems to be unavailable. Please make sure that the service is installed and started.

Source Error:

Line 33: //var bx = Model.ToCoveoFieldName("Brand") + "==\"" +brandName+"\"" ; Line 34: //var cx = Model.ToCoveoFieldName("TherapyArea") + "==\"" + conditionName+"\""; Line 35: var bx = Model.ToCoveoFieldName("Brand") + "==" + brandName ; Line 36: var cx = Model.ToCoveoFieldName("TherapyArea") + "==" + conditionName; Line 37:

On the CA server, CES is, in fact, started and running. The diagnostics page returns all green. I updated the files on our CD servers, following instructions from the Scaling Coveo on Multiple Servers page.

Any other thoughts on solving this issue?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jul 13, 2015 10:55 AM

There is clearly a communication problem between your CD server and the Coveo server(s).

Can you describe your setup in more details please? Mention each server and what is installed on them. We need to know where the following components are installed:

  • Coveo Enterprise Search
  • Coveo Search API
  • Sitecore CA
  • Sitecore CD
Gravatar for yura.lee@avanade.com

Comment by yuralee, Jul 13, 2015 11:01 AM

So on our Sitecore CA instance, we've got CES and Search API set up and also Coveo for Sitecore files. On our Sitecore CDs, we've just got Coveo for Sitecore package on its system. Our CD servers are load balancers and are essentially the same.

Does that help? Anything else?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jul 13, 2015 12:07 PM

Thank you for the details

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Jul 13, 2015 12:14 PM

There is clearly a communication problem between your CD servers and the CA/Coveo server.

Did you check the resolution points of that troubleshooting page?: https://developers.coveo.com/display/SC201507/Problem+Accessing+the+Coveo+Admin+Service

All the CD servers should be able to connect to the Coveo Admin Service, Coveo Search API and Coveo Search Service.

  • Maybe you forgot to update the Coveo Admin Service <Username> and <Password> elements in your CDs config files?
  • Maybe you have a firewall on one of the servers that is denying the connection?
Ask a question