November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
There is a "hidden" user interface to see when the site was indexed and with a button that triggers reindexing:
http://yoursite/EPiServer/CMS/Admin/IndexContent.aspx
Go there and reindex the site and it might start to work
Read more here:
http://world.episerver.com/Forum/Developer-forum/EPiServer-7-CMS/Thread-Container/2013/2/EPiServer-Search/
Thanks for your reply.
I had tried this, and while the "Latest complete indexing" updates after running it, the issue still remains. Also the [appDataPath]\Index remain unchanged.
No, the server is not load balanced.
I ended up lodging a support ticket with EPiServer who solved the problem. ( Big thanks to EPiServer supporty who solved this so quickly! )
There was actually another error in the log stating
ERROR [19] EPiServer.Logging.LoggerExtensions.Log - No match for client IP xxx.xxx.xxx.xxx. Access denied for access key local.
We never linked this with the search issue as it does not mention anything about search.
What was happening is the website was trying to access the search service on the servers extenal IP Address. The search service was denying the request as it only accepts requests on local addesses.
The fix was adding the ipAddress attribute to the indexing service clients config and setting it to the servers external address:
<episerver.search.indexingservice> <clients> <add name="local" description="local" ipAddress="xxx.xxx.xxx.xxx" allowLocal="true" readonly="false" /> </clients> <namedIndexes defaultIndex="default"> <indexes> <add name="default" directoryPath="[appDataPath]\Index" readonly="false" /> </indexes> </namedIndexes> </episerver.search.indexingservice>
A cleaner solution which also works is to set the sites domain to the servers local ip address in the servers hosts file.
The documentation (http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/8/Search/Installing-and-deploying-Search-Service/) is a little misleading:
"The default configuration is set to allow local connections, that is, requests originated from the same server are allowed. If the Search service is deployed to another machine than the site then the attributes ipAddress and ip6Address can be used as specified below"
Since our searcg service was not deployed to another machine, we overlooked that setting.
I belive is should be somthing like
"The default configuration is set to allow local connections, that is, requests originated from the same server are allowed. If the Search service is deployed to another machine than the site or the namedIndexingService uri does not resolve to a local address then the attributes ipAddress and ip6Address can be used as specified below"
Also the error
ERROR [19] EPiServer.Logging.LoggerExtensions.Log - No match for client IP xxx.xxx.xxx.xxx. Access denied for access key local.
Should state "Search access denied", or expliciy stating this error is realted to the search indexer.
Hi All,
We are currently experincing an issue with a EpiServer 8.5 site we have pushed to production.
Running a search query returns no results.
Calling /IndexingService/IndexingService.svc/update/?accesskey=local in the browser returns "Method not allowed." as expected.
Calling /IndexingService/IndexingService.svc returns "Endpoint not found." as expected.
In the logfile we get the following errors
Relative parts of the web.config are:
I have deleted the [appDataPath]\Index folder, which does get recreated, however the only files that get regenreated are
While in other Episerver 8 sites there are additional _dir files in Main, they are not recreated in the site we are having issues with.
Any pointers on what to try next?
Thanks!