Gravatar for diego.moretto@xcentium.com

Question by Diego, Dec 9, 2014 2:43 PM

Coveo for sitecore not working on a new instance

hi guys

I took the training a few days ago and I have a fresh instance of jestream working fine. I tried to install coveo for sitecore on a new instance but some of the services are not working on the diagnostics page I can open http://localhost:8080/rest/search and see the jetsream json response. I can open http://localhost:8081/ and see the indexes of jetstream there but not mine(because I never got a chance to index) All coveo services are running on my system but this is what I get on the diagnostics page

Sitecore's Configuration Up and running Coveo Pipeline Names Configuration Up and running Admin Service Up and running Coveo Entreprise Search Up and running Coveo Search REST Endpoint () The remote server returned an error: (500) Internal Server Error. Coveo Search Web Service Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost:52810'. Coveo Security Service Up and running Coveo Security Provider No security provider was found with name 'Sitecore Security Provider for mymachine-myhost' on instance default RabbitMQ None of the specified endpoints were reachable

Here are some of the erros I see on the logs: 13384 14:58:54 ERROR StateVerifier has encountered an error while verifying the component "Coveo Search REST Endpoint ()". Exception: System.Net.WebException Message: The remote server returned an error: (500) Internal Server Error. Source: System at System.Net.HttpWebRequest.GetResponse() at Coveo.SearchProvider.Applications.StateVerifier.<>cDisplayClassd.bc() at Coveo.SearchProvider.Applications.BaseVerifier.VerifyComponent(Func`1 pVerifyMethod, String pComponentName)

Message: Could not find property 'restEndpointConfiguration' on object of type: Sitecore.ContentSearch.ContentSearchConfiguration Source: Sitecore.Kernel at Sitecore.Diagnostics.Assert.IsTrue(Boolean condition, String message) at Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties) at Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert)

I'm sure I am missing a configuration but I don´t know which ones. any ideas?

Message: Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost:52810'. Source: mscorlib

Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception: System.Net.WebException Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Source: System at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

Nested Exception

Exception: System.Security.Authentication.AuthenticationException Message: The remote certificate is invalid according to the validation procedure. Source: System at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async)

13384 14:58:54 ERROR StateVerifier has encountered an error while verifying the component "Coveo Security Provider". Exception: System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

EDITING TO ADD THE REST.config file

replace this by your own application secret 00:00:30 /coveo/rest 01:00:00 http://localhost:8080

5 Replies
Gravatar for diego.moretto@xcentium.com

Answer by Diego, Dec 12, 2014 9:50 AM

The issue appeared as: Method not found: 'System.Collections.Generic.List`1 Sitecore.ContentSearch.AbstractSearchIndex.get_Crawlers()

Problem was coveo for sitecore version. I installed a new version and it all works now

Gravatar for lbergeron@coveo.com

Answer by Luc Bergeron, Dec 9, 2014 2:48 PM

Hi,

The "restEndpointConfiguration" section is defined in the "Coveo.SearchProvider.Rest.config" file. Did you rename the file to remove the ".example" extension at the end?

Gravatar for diego.moretto@xcentium.com

Comment by Diego, Dec 9, 2014 2:54 PM

yes. I renamed both the rest and the searchprovider.config from examples…

I edited the post to add the rest.config file to show how it looks like

Gravatar for lbergeron@coveo.com

Comment by Luc Bergeron, Dec 9, 2014 3:15 PM

Thanks for copying the REST.config file. I notice that all the XML elements are written using lowercase. Might just be a copy-paste issue though. Those element names are case-sensitive. So "restendpointconfiguration" is not the same thing as "restEndpointConfiguration". Can you confirm that the casing is correct on your end?

Also, did you try to rebuild the indexes from Sitecore?

Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Dec 9, 2014 3:08 PM

Your Coveo.SearchProvider.Rest.config specifies this application secret: <applicationsecret>replace this by your own application secret</applicationsecret>.

Do the application secret in your Coveo Search API config.yml file is "replace this by your own application secret"?

I think you have a secret mismatch.

Gravatar for diego.moretto@xcentium.com

Comment by Diego, Dec 9, 2014 3:16 PM

Yes the file looks like:

server: uri: https://localhost:52810 serverCertificatePath: C:\CES7\Config\Certificates\cert-ca.pem clientCertificatePath: C:\CES7\Config\Certificates\cert-iis.p12

basicAuthentication: enabled: false provider: Active Directory

windowsAuthentication: enabled: true provider: Active Directory

guest: enabled: false name: DOMAIN\user provider: Active Directory

tokens: sharedKey: replace this by your own secret shared key

applications:

  • name: Sample Application secret: replace this by your own application secret allowImpersonate: true
Gravatar for taebkhan.ali@gmail.com

Answer by taebalikhan, Dec 26, 2014 11:20 AM

I am using Coveo for Sitecore 70 3.0 (863) for Sitecore 7 yet I am getting an error as: Method not found: 'System.Collections.Generic.List`1 Sitecore.ContentSearch.AbstractSearchIndex.get_Crawlers()'

Gravatar for dlanglois@absolunet.com

Answer by dlanglois, Mar 25, 2015 12:24 PM

Have you resolve the problem? I have the same error! Thanks for your help!!

Ask a question