Gravatar for bberriz@lifeextension.com

Question by Ben, Aug 21, 2015 4:11 PM

503 - General SSLEngine problem

We have installed CES on a remote server. On our Sitecore server, when trying to bring up the site http://sitecoreserver/coveo/rest, we are getting the following:

{
  "statusCode": 503,
  "message": "Server is unavailable: (General SSLEngine problem to https://localhost:52810/7.0/CoveoSearchService,java.net.ConnectException: General SSLEngine problem to https://localhost:52810/7.0/CoveoSearchService)",
  "type": "ServerUnavailableException",
  "executionReport": {
    "type": "RootReport",
    "description": "",
    "duration": 0,
    "result": "(com.coveo.search.api.pipeline.PipelineContext@3a9d6b4,Query(null,null,null,null,null,List(relevancy),[],[],null,null,null,5,false,true,false,false,false,false,0,10,200,0,false,false,[]))",
    "childs": [
      {
        "type": "QueryPipelineReport",
        "description": "Resolve identities",
        "duration": 0,
        "result": "ArrayBuffer(UserId(extranet\\Anonymous,Sitecore Security Provider for SitecoreServer-sitename,User,None,None))",
        "childs": [

        ]
      },
      {
        "type": "QueryPipelineReport",
        "description": "Preprocess Query",
        "logs": [
          {
            "severity": "INFO",
            "message": "Applied ranking statements: .",
            "timestamp": "+0"
          },
          {
            "severity": "INFO",
            "message": "Applied top statements: .",
            "timestamp": "+0"
          }
        ],
        "duration": 0,
        "result": "Query(null,null,null,null,null,List(relevancy),[],[],null,null,null,5,false,true,false,false,false,false,0,10,200,0,false,false,[])",
        "childs": [

        ]
      }
    ]
  },
  "results": [

  ]
}

As you can see, it thinks the coveo search service is installed locally. In our Coveo.SearchProvider.config, the SearchServiceUri node is set to <SearchServiceUri>https://CESServer:52810/7.0/CoveoSearchService</SearchServiceUri>

If we try to bring up this url https://CESServer:52810/7.0/CoveoSearchService from our sitecore server, it works fine.

Also, when running the Coveo configuration under control panel, when we change the sitecore credentials, we see the datetime of the Coveo.SearchProvider.config file change, but our new credentials never make it into the file.

Network Service has access over the site folders. Comparisons between configs on working sites and the new site only show differences in server names. If we point an existing site to the new CES server we get the same error when navigating to http://sitecoreserver/coveo/rest .

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Aug 21, 2015 4:59 PM

The JSON response you get when navigating to http://sitecoreserver/coveo/rest is from the Coveo Search API REST endpoint whose location is configured in the <SearchApiUri> node of your Coveo.SearchProvider.Rest.config file. I guess your Coveo Search API is installed on the same remote server as CES.

The General SSLEngine problem is between your Coveo Search API and your CES services. You should check the server section uri, serverCertificatePath and clientCertificatePath settings in your config.yml file. You should try to load the URL in the uri setting in a browser on the Coveo Search API server to see if it works. If you do any modification, do not forget to restart the Coveo Search API Windows service as it doesn't monitor the config file for changes.

Is it possible that you regenerated or changed the CES certificates without restarting the Coveo Search API Windows service?

For your "Sitecore credentials" file update problem, the Sitecore password is encrypted and supposed to be written in the <sitecorePassword> element. You may check the Sitecore logs to see if there's any error related to this file write access.

Ask a question