Gravatar for naveen.simhadri467@gmail.com

Question by naveen, Sep 19, 2016 12:47 PM

Coveo Mirror Search API throwing error , No healthy host found for organization default

I have created mirror as per documentation. Everything seems fine from admin console but when I access the api pointing to mirror search service I am getting following error

Caused by: java.net.ConnectException: No healthy host available for organization default
    at com.coveo.search.api.http.IndexHttpClient.com$coveo$search$api$http$IndexHttpClient$$performOneAttempt$1(IndexHttpClient.scala:112) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.http.IndexHttpClient.executeAsync(IndexHttpClient.scala:116) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.http.IndexHttpClient$$anonfun$execute$1.apply(IndexHttpClient.scala:39) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.http.IndexHttpClient$$anonfun$execute$1.apply(IndexHttpClient.scala:38) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.metrics.Timer.time(Timer.scala:13) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.http.IndexHttpClient.execute(IndexHttpClient.scala:38) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.endpoints.soap.BaseSoapSearchEndpoint$MyHttpClients$MyHttpClient$class.request(BaseSoapSearchEndpoint.scala:82) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.endpoints.soap.BaseSoapSearchEndpoint$MyHttpClients$$anon$1.request(BaseSoapSearchEndpoint.scala:69) ~[coveo-search-api-server.jar:na]
    at scalaxb.Soap11Clients$Soap11Client$class.soapRequest(soap11.scala:32) ~[coveo-search-api-server.jar:na]
    at scalaxb.Soap11Clients$$anon$1.soapRequest(soap11.scala:14) ~[coveo-search-api-server.jar:na]
    at scalaxb.Soap11Clients$Soap11Client$class.requestResponse(soap11.scala:51) ~[coveo-search-api-server.jar:na]
    at scalaxb.Soap11Clients$$anon$1.requestResponse(soap11.scala:14) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.soap.wsdl.v7.XMLProtocol$CoveoSearchServiceBindings$CoveoSearchServiceBinding$class.getSearchProviderData(xmlprotocol.scala:4979) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.soap.wsdl.v7.XMLProtocol$CoveoSearchServiceBindings$$anon$259.getSearchProviderData(xmlprotocol.scala:4959) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.endpoints.soap.v7.SoapSearchEndpoint$$anonfun$4.apply(SoapSearchEndpoint.scala:126) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.endpoints.soap.v7.SoapSearchEndpoint$$anonfun$4.apply(SoapSearchEndpoint.scala:126) ~[coveo-search-api-server.jar:na]
    at com.coveo.search.api.endpoints.soap.v7.SoapSearchEndpoint$.trapErrors(SoapSearchEndpoint.scala:176) ~[coveo-search-api-server.jar:na]
    ... 107 common frames omitted
11:40:53.959 [qtp1771243284-54] DEBUG org.eclipse.jetty.server.Server - RESPONSE for /rest/search/v2 h=true
200 null
Date: Mon, 19 Sep 2016 16:40:53 GMT
Cache-Control: no-cache, no-store, must-revalidate, private
Content-Type: application/json; charset=utf-8

Thanks, Naveen

Gravatar for slangevin@coveo.com

Comment by Simon, Sep 19, 2016 1:03 PM

Few questions:

  • Where is the search API installed? On the mirror server directly or remote?
  • How do you access it?
  • Can you access the Mirror's search service? https://[mirror server name]:52810/7.0/CoveoSearchService?wsdl
0 Reply
Ask a question