Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Anti-CSRF validation failed during token decryption during package unlist or delete.
-
We have proget enterprise and have setup load balancing using nginx. We setup machine keys on the IIS level. We are able to login correctly into the dashboard, but unable to unlist or delete packages through the UI.
URL: http://proget/packages/set-listed-status?feedId=1&packageId=Desktop.Analyzers&packageVersion=1.0.0&listed=False
Referrer: http://srv-progetlb01/packages/set-listed-status?feedId=1&packageId=Desktop.Analyzers&packageVersion=1.0.0&listed=False
User: Admin
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Stack trace: at Inedo.Web.Security.AntiCsrfContext.Validate(HttpContext context)
at Inedo.Web.PageFree.SimplePageBase.ProcessPostBackAsync()
at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
at Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Product: ProGet
Version: 5.0.13
-
Basically you need to make sure all three servers have the same machineKey in the machine.config section.
OrchardCMS has a nice docs page on it:
http://docs.orchardproject.net/en/latest/Documentation/Setting-up-a-machine-key/