-
Most Common Issues
- Inactivity Timeout During Rebuild
- Coveo Sort Components Are Stacked in an MVC Search Page
- Security Provider Error Something Went Wrong on the Server
- Problem Accessing the Coveo Admin Service
- Problem Loading the Ninject Assembly
- Empty Strings are not Allowed Exception Occurring When Specifying Creator-Owner Permissions
- Internal Server Error When Querying the REST Service
- Editing the Properties of a Coveo Search MVC Component Freezes the Page Editor in IE11
- Error with ID NO\_DOCUMENT\_INDEXED
- Error or Document Not Found Page After Rebuilding the Indexes
- Problem Registering Search Page Events in Sitecore Analytics Database
- Sitecore Items Do Not Get Automatically Indexed
- Sitecore 8.0 Session is not Initialized Exception
- The Indexing Manager Is Reporting an Error
- Configuration Wizard error - Unable to add the certificate to the Root store. Access is denied.
- Slow Queries in a Coveo Search Page
- Issue in IE During Admin Service Configuration with the Configuration Wizard
- High Memory Usage While Rebuilding Indexes
- Root Element of a Crawler for a Coveo Index is Invalid
- 404 Errors on Coveo Usage Analytics Search Events
- HTML Version of Indexed Items Are Showing an Error Page
- Coveo Search Page Fails to Load After Upgrade
- Diagnostic Page Error - Invalid cast from System.String to Coveo.Framework.Configuration.SecurityConfiguration
- Including a Search Box with OmniboxResultList Results in Cannot read property addEventListener of null Error
- Timeout While Expanding Sitecore Security Provider
- NullReferenceException on Tracking.Current When Executing a Request for a Quick View
- Coveo for Sitecore Security Cache Refresh Issues
- How to Modify the Coveo for Sitecore Security Provider Refreshing Parameters
- 403 Forbidden Error When Calling YourSitecoreSite/coveo/rest
- Could not Load File or Assembly log4net, Version=1.2.11.0, culture=neutral
- The Sitecore Security Provider ABC has encountered a fatal exception class CSP FatalException Unable to connect to Sitecore
- No User has been Provided for the Search Request
- Opening Sitecore Indexing Manager Returns a 405 (Method Not Allowed) Error
- Secured Admin Service - Could Not Establish Trust Relationship for the SSL/TLS Secure Channel with Authority Localhost
- Hive Components - Inserting an Example Search Page Results in No Renderings
Security Provider Error Something Went Wrong on the Server
On-Premises only
The symptoms and resolution mentioned in this article are only for the Coveo for Sitecore on-premises edition.
Symptoms
- When performing a query in the JavaScript Search UI, it may return no results or display the error: “Oops! Something went wrong on the server. If the problem persists contact the administrator.”
- When looking at the CES Administration Tool, under Status > Overview > System State, you may see the error:
A security provider is not properly configured.
-
When looking at the Coveo system logs (from the CES Administration Tool > Logs > System or directly in the file
[Index Drive]\CES7\Logs\System_YYYY-MM-dd.log
), you may see errors similar to these ones:212254270075164067|ERROR|2013-12-19|10:29:28|0|Security Provider "Sitecore Security Provider for {MachineName}-{SitecoreInstanceName}" failed to start: Security Provider failed to start, last received status was: Created|||
212254270075164141|ERROR|2013-12-19|10:30:16|0|NodeId #7: An error occurred while initializing the Blade "Sitecore Security Provider for {MachineName}-{SitecoreInstanceName}" (ID #9): Unexpected exception in method 'InitBlade': System.Net.WebException: The operation has timed out ---> System.Net.WebException: The operation has timed out at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Coveo.CNL.WebServices.WebServiceUtilities.InvokeWithCallBack(InvokeMethodDelegate p_InvokeMethod, SoapCallBack p_SoapCallBack, String p_MethodName, Object[] p_Parameters) at Coveo.Connectors.Sitecore2.SitecoreWS.SitecoreWebService.GetSiteDatabase(String p_TargetSite) at Coveo.Connectors.Sitecore2.Connection.Sitecore2Connection.GetSiteDatabaseName() at Coveo.Connectors.Sitecore2.Configuration.Sitecore2ConnectorConfiguration.InitializeDatabase(GetDefaultValueDelegate p_GetDatabaseNameDelegate) at Coveo.Connectors.Sitecore2.Connection.Sitecore2Connection.Initialize() at Coveo.CES.CustomCrawlers.Sitecore2.Security.Sitecore2SecurityProvider.InitSecurityProvider() at Coveo.CES.SecurityProviders.Framework.SecurityProviderBase.<>c__DisplayClass1a.<ExecuteMonitoredCall>b__19() --- End of inner exception stack trace --- at Coveo.CES.SecurityProviders.Framework.SecurityProviderBase.ExecuteMonitoredCall(MonitoredCall p_MonitoredCall) at Coveo.CES.SecurityProviders.Framework.SecurityProviderBase.InitBlade(BladeDefinitionConfig p_BladeConfig)|||
212254270075164231|ERROR|2013-12-19|10:40:28|0|Indexing is paused because of a security provider error (class Merlin::SecurityProviderOnErrorException: Security Provider "Sitecore Security Provider for {MachineName}-{SitecoreInstanceName}" failed to start: Security Provider "Sitecore Security Provider for {MachineName}-{SitecoreInstanceName}" failed to start: Security Provider failed to start, last received status was: Created). Make sure that the security provider is configured properly to resume indexing.|||
Cause
The Sitecore security provider is either configured incorrectly, or it was unable to access the associated Sitecore instance.
If you also see the error The operation has timed out
, it most likely means that your CES instance started before the Sitecore instance, making the latter unreachable by the Sitecore security provider configured in CES.
Resolution
- Try reloading the problematic Sitecore security provider:
- Access the Security Providers section of the CES Administration Tool (Configuration > Security > Security Providers).
- Edit the Sitecore security provider (typically named Sitecore Security Provider for {MachineName}-{SitecoreInstanceName}).
- Click on Apply Changes so that the security provider is simply reloaded.
- Validate that there are no more security provider error shown in the CES Administration Tool (Status > System State).
- Validate that the original error no longer appears in the JavaScript Search UI when you perform a query.
- Try fixing any erroneous parameter identified in the System logs (if applicable):
- Open your
Coveo.SearchProvider.Custom.config
file, which is located in theApp_Config\Include\Coveo
folder of your Sitecore instance. - Edit the
securityProviderName
and/orserverUrl
node to the correct value. - Synchronize the configuration from the Sitecore Control Panel Coveo Search section.
- Validate that there are no more security provider errors shown in the CES Administration Tool (Status > System State).
- Validate that the original error no longer appears in the JavaScript Search UI when you perform a query.
- Open your