RabbitMQ Not Deliverying all messages
I have CES setup remotely and was finally able to get the indexing working from Sitecore. When I rebuild the indexes I see the messages being processed in CES, but after a while, CES stops receiving any messages, behaving as if it's done. If I log into RabbitMQ I see there are thousands of messages in queue but aren't being delivered.
I checked the logs and no errors or warns are reported. Now, if I head to the Source in the admin tool and disable Live Monitoring and after a few secs enable it back, the CES console logs the error below for just about every item in the queue.
212313373714372067|WARNING|2015-11-04|09:49:04|0|Exception while processing an item: -> The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. -> The remote certificate is invalid according to the validation procedure.|||||Sitecore Search Provider||||Sitecore - Master|SUCCESS|||21424|17699||
Sitecore 8.0 (rev. 150621) Coveo for Sitecore 80 3.0 (1123) Coveo Enterprise Search 7.0 x64 (7914)
To improve performance in the latest builds, we are not passing the messages in RabbitMQ as references. It seems like there could be a problem with the link of the messages that are passed.
Is your Sitecore instance secured in HTTPS?
What I would do is add the URL of your Sitecore in the
<serverurl> node of your CoveoSearchProvider.config file. This would explicitly declare the address of your server.