Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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.

    Scheduled Pinned Locked Moved Support
    proget
    2 Posts 1 Posters 41 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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/

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation