logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to forums.ablecommerce.com. Please use your AbleCommerce username and password to Login. Forums Registration.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy13846  
#1 Posted : Wednesday, March 13, 2019 11:32:16 AM(UTC)
judy13846

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/7/2018(UTC)
Posts: 33

There was an entry in the updates to RC2 from RC1 that said:
Anti-forgery token error in admin

I just got the error on my new RC2 install. I had been working on it and left it open in my browser and went to lunch and got the error when I tried to log back in after lunch.


The provided anti-forgery token was meant for user "", but the current user is "judy@beentherewebs.com".
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Mvc.HttpAntiForgeryException: The provided anti-forgery token was meant for user "", but the current user is "judy@beentherewebs.com".

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpAntiForgeryException (0x80004005): The provided anti-forgery token was meant for user "", but the current user is "judy@beentherewebs.com".]
System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken) +811

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. Forums Registration.

MikeR  
#2 Posted : Wednesday, March 13, 2019 11:39:33 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System
Joined: 10/18/2018(UTC)
Posts: 64

Was thanked: 1 time(s) in 1 post(s)
Hi Judy,

Thanks for the information. I've never seen that in all my testing??

I'll get it reported.

Kind Regards,
Mike Randolph
Thank you for your support!
Mike Randolph
AbleCommerce.com
judy13846  
#3 Posted : Wednesday, April 17, 2019 9:51:01 AM(UTC)
judy13846

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/7/2018(UTC)
Posts: 33

I think I've figure out what might be happening. I think my password manager is in the process of logging me in and I clicked the login button also. Issue hasn't shown up when I wait for the password manager to finish.
MikeR  
#4 Posted : Wednesday, April 17, 2019 10:07:20 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System
Joined: 10/18/2018(UTC)
Posts: 64

Was thanked: 1 time(s) in 1 post(s)
Hi Judy,

What password manager are you talking about?

Thanks!
Mike
Thank you for your support!
Mike Randolph
AbleCommerce.com
judy13846  
#5 Posted : Wednesday, April 17, 2019 11:49:06 AM(UTC)
judy13846

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/7/2018(UTC)
Posts: 33

I use Roboform.
katie_able_support  
#6 Posted : Thursday, April 18, 2019 7:00:32 AM(UTC)
katie_able_support

Rank: Member

Groups: Developers, Registered, HelpDesk, System
Joined: 10/29/2018(UTC)
Posts: 23

Was thanked: 1 time(s) in 1 post(s)
You can reproduce the issue consistently by opening two tabs of the Login page at the same time, and then logging in using each one. The second login attempt triggers the issue. It is already fixed for the upcoming RC3 release.

Thanks,
Katie
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.