What is causing invalid security providers?
We're using Coveo for Sitecore. I'm trying to understand how security providers are created in the Coveo Administration Tool. It appears that these are created automatically when you initially build an index from Sitecore and the name is based on the InstaneName setting in the site's Web.config. My first question is, is this the case?
My next question is around problems that occur when there is an invalid security provider. Right now, when I try to build my index from Sitecore, the index is not building. I notice that there is this WARNING in the system log (I changed the security provider name in the example below - replacing the site name with "SitecoreSiteName"):
WARNING 03:42:30 PM The security provider "Sitecore Security Provider for PUBLIC-CD-SitecoreSiteName" has encountered an exception: class Merlin::SecurityProviderNotRegisteredException: Security Provider "Sitecore Security Provider for PUBLIC-CD-SitecoreSiteName" not registered.
I don't see this security provider listed in the list of security providers in the Coveo admin. I'm trying to figure out why warning this is showing up. And could it be the cause of why the index isn't building?
It's simply because you never rebuilt/reindex an index. The security provider is not created yet. The first time you'll reindex or rebuild, it will create it and this warning will disappear.
Now, you could check in the Sitecore logs why the index is not building.
Did you replace the name in the Coveo.SearchProvider.config? Depending on your build, you might have to delete the current Security Providers and User Identity already existing in the Administration Tool before rebuilding with the corrected values.
And to answer your second question, yes, this is the reason why your indexing has stopped.
Had this issue when adding new instances in Azure. Coveo stopped creating new security providers for the new instances. I resolved this issue by deleting old security providers (no longer used) via Admin. Is there a limitation on how many security providers can be created?
fyi, sitecore for coveo 72.3.0 (free)