Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • marcelh 171 posts 471 karma points
    Nov 17, 2015 @ 15:08
    marcelh
    0

    CryptographicException: Failed to format passed in token value

    Since today (or yesterday) I see the message in the log. Running Umbraco 7.2.8. I figured it must have something to do with a user logged in into the backend, but can't what's causing it. Anyone that clarify the error?

    2

    015-11-17 15:54:06,802 [6] ERROR Umbraco.Web.Mvc.AdminTokenAuthorizeAttribute - [P5020/T1/D2] Failed to format passed in token value
    System.Security.Cryptography.CryptographicException: Error occurred during a cryptographic operation.
       at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.HomogenizeErrors(Func`2 func, Byte[] input)
       at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
       at Umbraco.Core.StringExtensions.DecryptWithMachineKey(String value)
       at Umbraco.Web.Mvc.AdminTokenAuthorizeAttribute.AuthorizeCore(HttpContextBase httpContext)
    
  • teus 42 posts 74 karma points
    Jul 22, 2016 @ 09:04
    teus
    0

    I see this error after submitting a Umbraco.Forms specific form on a different server then where the form was origionally was created. ( see "Customizing for a specific form" on https://our.umbraco.org/projects/umbraco-pro/contour/documentation/developer/Custom-Markup/ )

    It seems that the value of is encrypted differently on the other server.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Jul 29, 2016 @ 16:55
    Jeavon Leopold
    0

    I'm seeing this logged also for every form submission, did you find a solution?

  • Mati 4 posts 74 karma points
    Feb 21, 2018 @ 11:11
    Mati
    1

    I know it's old post but with no answer so maybe will be helpfull for someone

    My situation:

    Problem:

    I saw this error with frequency one per minute on my production serwer.

    What I did:

    1) I've changed web.config

       <authorization>
          <allow users="*" />
        </authorization>
    

    2) In umbracoSettings.config parameter - umbracoApplicationUrl was set to my production url : https://xxxxx/umbraco

    But I also have dev environment (with the same value in umbracoApplicationUrl pointing to production backoffice)

    I've changed umbracoApplicationUrl on my dev env to dev backoffice url.

    Result:

    I'm no more facing this issue

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies