In the home page of our site we have the login component developed by WFFM. We have a Custom Save action that will call a web api for fetching the result and login into the site.
if we open the site and wait for 10 min in the home page without doing any action and try to login, we are getting an error as "We experienced a technical difficulty while processing your request."
If we try to login immediately(with in 2 min), we are not getting this error. the user is getting logged-in sucessfully.
While looking at the log we could see the following line
WARN Web Forms for Marketers: an exception 'The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.' has occured while trying to execute an action ''.
Note: We had hosted the site in two server with LB enabled. One of the two server is used as CM
Have anyone faced this problem.