Recurring error on Umbraco (Failed to format passed in token value)
Hi,
I've been getting this error every minute on my Umbraco site, It's hosted on an azure web app. I've tried adding a machine key (http://issues.umbraco.org/issue/CON-1138) but that didn't stop it.
Any ideas how I can fix this?
Here's the full stack trace:
2017-07-28 13:08:02,318 [P8548/D2/T43] ERROR Umbraco.Web.Mvc.AdminTokenAuthorizeAttribute - 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)
Sadly not, I had tried custom errors but this didn't change the error. In the end we had to many issues with the Azure web app so we moved to a VM and this resolved our issues.
Recurring error on Umbraco (Failed to format passed in token value)
Hi,
I've been getting this error every minute on my Umbraco site, It's hosted on an azure web app. I've tried adding a machine key (http://issues.umbraco.org/issue/CON-1138) but that didn't stop it.
Any ideas how I can fix this?
Here's the full stack trace:
2017-07-28 13:08:02,318 [P8548/D2/T43] ERROR Umbraco.Web.Mvc.AdminTokenAuthorizeAttribute - 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)
Thanks
Hi Scott,
Did you resolve this? I'm getting the same :(
--Craig
Hi Scott,
I have seen it before:
In the web.config do it:
Hi Leonardo,
You need to run with that set to "RemoteOnly" surely or you'll expose any errors to the public in the YSOD?
Dear Craig,
I am using same themes with
<customErrors mode="Off" />
don't useRemoteOnly
.If will there any error in your application Umbraco will show YSOD.
So, in this way, we need to make sure our solution does not contain errors before uploading.
Hi,
Sadly not, I had tried custom errors but this didn't change the error. In the end we had to many issues with the Azure web app so we moved to a VM and this resolved our issues.
Let me know if you find something that works.
Thanks
is working on a reply...