Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > staging synchronization fail View modes: 
User avatar
Member
Member
kwork - 6/27/2012 3:34:36 PM
   
staging synchronization fail
I am getting random failures when I try to synch my staging environment to a production server that is load balanced. I'm guessing something is wrong with one of the servers. Can someone explain this error and how I might go about fixing it.
Synchronization failed, see synchronization log for details.

Message: Microsoft.Web.Services3.Security.SecurityFault: The security token could not be authenticated or authorized ---> System.InvalidOperationException: WSE563: The computed password digest doesn't match that of the incoming username token.
at Microsoft.Web.Services3.Security.Tokens.UsernameTokenManager.VerifyHashedPassword(UsernameToken token, String authenticatedPassword)
at Microsoft.Web.Services3.Security.Tokens.UsernameTokenManager.VerifyToken(SecurityToken token)
at Microsoft.Web.Services3.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
--- End of inner exception stack trace ---
at Microsoft.Web.Services3.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
at Microsoft.Web.Services3.Security.Tokens.SecurityTokenManager.GetTokenFromXml(XmlElement element)
at Microsoft.Web.Services3.Security.Security.LoadToken(XmlElement element, SecurityConfiguration configuration, Int32& tokenCount)
at Microsoft.Web.Services3.Security.Security.LoadXml(XmlElement element)
at Microsoft.Web.Services3.Security.Security.CreateFrom(SoapEnvelope envelope, String localActor, String serviceActor)
at Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope requestEnvelope)
at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at CMS.Synchronization.CMS.SynchronizationEngine.SyncServerWse.ProcessSynchronizationTask(String taskTitle, String taskType, String taskObjectType, String taskData, String taskBinaryData, String taskServerList, String systemVersion)
at CMS.Synchronization.SyncClient.RunTask(TaskInfo taskObj)

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/27/2012 4:18:23 PM
   
RE:staging synchronization fail
Hi,

Please double check the credentials on both source and target server. Please make sure you are choosing particular site in upper left dropdown list in: Site Manager -> Settings -> Your Site. You probably know it, but just to make sure please see staging instructions

Could you please try to add following key into your web.config file?
<add key="CMSStagingAcceptAllCertificates" value="true"/>

Best regards,
Juraj Ondrus

User avatar
Member
Member
kwork - 6/27/2012 5:00:25 PM
   
RE:staging synchronization fail
Do I add that on just the load balanced production servers?

I have a complete differebt site on different servers, os, and kentico 5.5r2 and no issues with the setup. I'll try the key thing but don't remember having to do this in the past.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/28/2012 4:45:33 PM
   
RE:staging synchronization fail
Hi,

What do you mean by load balanced servers? This thread is about content staging which is something different. Could you please describe your environment setup and architecture? I would put that key on both the source and target CMS instance.

Best regards,
Juraj Ondrus

User avatar
Member
Member
kwork - 6/29/2012 8:10:09 AM
   
RE:staging synchronization fail
I have 1 staging server that publishes to 2 production web farm servers.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/29/2012 11:53:46 AM
   
RE:staging synchronization fail
Hi,

What is the setup? When staging to the web farms, you only need to setup the staging server to be just one of web farm servers. The changes are then synchronized using the web farm synchronization between the farm servers.

Best regards,
Juraj Ondrus

User avatar
Member
Member
charlie.allen-readingroom - 11/7/2013 11:34:57 AM
   
RE:staging synchronization fail
Hi we are getting the same error.

We have two sites setup on a source staging server publishing to target recipient server.

One site works,(stages content as expected) the other site doesnt (fails with error above).
Until today only one site was configured and that was staging fine. We imported second site and that is staging fine, the original now errors.

We have added the key above to the both source and target servers and same problem.

Advice would be appreciated :-)

User avatar
Member
Member
charlie.allen-readingroom - 11/8/2013 6:21:51 AM
   
RE:staging synchronization fail
Resolved this by adding the key above and re setting the entire configuration to be at individual site level for the target user name and password across all sites.