Umbraco (v6.2.1)- Content Sync Issue - Error Refreshing Distributed List
I am facing issues with changes posted on server to reflect in second server in Load balanced environment. The two servers are always in sync. Any file delete , change and addition is automatically reflected in the second server. But when the changes are published, one server always show old page. I have already gone through different questions on the forum and have listed below my observations\ configuration settings.
I have set up the distributedCall element in config/umbracoSettings.config file as shown below
But whenever I publish content, its available only on one server and does not gets replicated on another server. I see following entries in the logs
2016-10-28 09:20:14,220 [7] ERROR Umbraco.Web.BatchedServerMessenger - [Thread 175] Error refreshing a node in the distributed list, URI attempted: http://ourserver-node1/umbraco/webservices/cacheRefresher.asmx
System.Net.WebException: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/login.aspx?ReturnUrl=%2fumbraco%2fwebservices%2fcacheRefresher.asmx">here</a>.</h2>
</body></html>
--.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
at Umbraco.Core.Sync.ServerSyncWebServiceClient.EndBulkRefresh(IAsyncResult asyncResult)
at Umbraco.Web.BatchedServerMessenger.SendMessages(IEnumerable`1 messages)
This makes me think that when system is trying to invoke cacheRefresher webservice at umbraco/webservices/cacheRefresher.asmx, the system tries to redirect it to login page or asks for authentication.
I tried opening both links in incognito window. I got redirected (302) to login.aspx page then to homepage of the site.
Umbraco (v6.2.1)- Content Sync Issue - Error Refreshing Distributed List
I am facing issues with changes posted on server to reflect in second server in Load balanced environment. The two servers are always in sync. Any file delete , change and addition is automatically reflected in the second server. But when the changes are published, one server always show old page. I have already gone through different questions on the forum and have listed below my observations\ configuration settings.
I have set up the
distributedCall
element inconfig/umbracoSettings.config
file as shown belowBut whenever I publish content, its available only on one server and does not gets replicated on another server. I see following entries in the logs
This makes me think that when system is trying to invoke
cacheRefresher
webservice atumbraco/webservices/cacheRefresher.asmx
, the system tries to redirect it to login page or asks for authentication.I tried opening both links in incognito window. I got redirected (
302
) tologin.aspx
page then to homepage of the site.I also checked authentication configuration in
web.config
file.I also see observed that
write.lock
file is present in index locations on one serverHi Vikas,
Can you check if you have a admin user with id 0 ?
Because that is configured in the distributed calls :
Make sure the user node contains a valid user id.
Dave
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.