I keep getting FailedToImpersonateUsersException
Coveo Search API keeps failing on me. This is what i see in the log file:
4912 11:22:21 WARN Datakey length bigger then 100 chars, and was trimmed 4912 11:22:21 WARN Datakey length bigger then 100 chars, and was trimmed 6540 11:24:09 WARN The connection to Coveo search service failed. The connection will be re-created. Try # 1; Error: Exception Name:FailedToImpersonateUsersException, What:There was no certificate provided by the client while trying to impersonate users. Either provide a trusted client certificate with impersonation rights or login with requested credentials.
When I restart CES and Search API service it starts working. Then randomly it stops working again. Need help.
Coveo for Sitecore did not fully support TLS before February 2015. This might be the reason for the issue. What version of Coveo and Coveo fro Sitecore are you using?
For me, corrected by changing the web.config parameter for sslCertificatePath from "
C:\Program Files\Coveo .NET Front-End 12\Web\cert-iis.p12" to "
`C:\Program Files\Coveo .NET Front-End 12\Web\certificate.p12".
Backend: 7.0 x64 Build 7599.0
Frontend: 12.0 x64 Build 1100.0