Problem: In a load balanced environment the client systems occasionally have an issue with session loss. When the user attempts to establish a new connection without closing the browser the below Server Error in '/WFx' application error is displayed. If the Syncade Administrator reviews the Windows Applicaiton event logs on the application servers there is an Event ID: 1309 displayed. If that error contains a CryptographicException error there is a fix for this issue. The Syncade WFx module out of the box ships with a 60 minute session timeout. If the load balancer is not setup with a 60 minute persistence then the session can prematurely timeout and cause the below error.
Resolution: For Microsoft NLB's set the affinity to single and for folks that have load balancers such as a F5, ensure that the load balancer is setup with a 60 minute session persistence for the port that WFx is running on.
Note: There may be a few errors that occur from residual sessions that have been left open by clients with pre-existing sessions.
Windows Event Log - Application
Event ID : 1309
Exception information:
Exception type: CryptographicException
Exception message: Key not valid for use in specified state.
at System.Security.Cryptography.ProtectedData.Unprote ct(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)
at System.IdentityModel.ProtectedDataCookieTransform. Decode(Byte[] encoded)
Resolution: For Microsoft NLB's set the affinity to single and for folks that have load balancers such as a F5, ensure that the load balancer is setup with a 60 minute session persistence for the port that WFx is running on.
Note: There may be a few errors that occur from residual sessions that have been left open by clients with pre-existing sessions.
Windows Event Log - Application
Event ID : 1309
Exception information:
Exception type: CryptographicException
Exception message: Key not valid for use in specified state.
at System.Security.Cryptography.ProtectedData.Unprote ct(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)
at System.IdentityModel.ProtectedDataCookieTransform. Decode(Byte[] encoded)
Comment