Error reading license file from the disk
I have one CM server and 2 CD servers . I have configured coveo for sitecore in CM server and it works fine. So, I have copied coveolicense.xml file from CM server to CD servers as CD servers reside in DMZ which don't have outbound access.
Then I am getting following exception , What can I do to resolve this issue without opening port for platform.cloud.coveo.com
6148 14:21:45 WARN An error occurred while retrieving license from disk. Exception: Coveo.SearchProvider.Licensing.Exceptions.InvalidLicenseCodeException Message: The Coveo license code is currently invalid. Source: Coveo.SearchProvider.Licensing at Coveo.SearchProvider.Licensing.LicenseCodeParser.DecryptLicense(String p_LicenseCode) at Coveo.SearchProvider.Licensing.OnDiskLicenseRetriever.GetLicense() 6148 14:21:45 ERROR Exception occurred while trying to validate license in the content editor. Features will be disabled. Exception: Coveo.SearchProvider.Licensing.Exceptions.LicenseNotFoundException Message: Could not retrieve Coveo for Sitecore license. Source: Coveo.SearchProvider.Licensing at Coveo.SearchProvider.Licensing.Cloud.LicenseRetriever.GetLicense() at Coveo.SearchProvider.Licensing.LicenseManager.ValidateLicense() at Coveo.SearchProvider.Licensing.LicenseManager.IsFeatureEnabled(LicenseFeature p_LicenseFeature)
@Naveen: You would have to request DMZ exception to allow platform.cloud.coveo communication. We had to do the same.
On another note, although not exactly the same architecture but I had the exact same exception when I was trying to set up CM and CD on my "local" environment despite coping the /Data/Coveo folder from CM to CD. Here is what resolved the issue on my local:
- Ensured that /Data folder has proper read permissions.
- Cleared the browser cache.
- Restarted the IIS.