ElkArte Community

Project Support => Support => Topic started by: Oormi on May 29, 2018, 01:02:12 pm

Title: Token verification failed. Please go back and try again.
Post by: Oormi on May 29, 2018, 01:02:12 pm
I'm getting this error when I try to get into admin area (I am admin). Screenshot attached.
This happened since I wanted to change a typo in a users email, it asked me admin password again but keeps throwing this error.

I tried - incognito mode, clearing cookies, logout - login, browser restart etc.
Version 1.1.1. No upgrades since first install. There are two plugins - tweeter login/registration and social sharing icons.

Please help.
Title: Re: Token verification failed. Please go back and try again.
Post by: emanuele on May 29, 2018, 01:21:25 pm
I feel I have an idea why this is happening, but I'm not sure what could be the cause.
Try to log with javascript disabled.
Title: Re: Token verification failed. Please go back and try again.
Post by: Oormi on May 29, 2018, 01:38:32 pm
Same result.
Tried both in firefox and chrome.
Title: Re: Token verification failed. Please go back and try again.
Post by: emanuele on May 29, 2018, 04:32:57 pm
O_o

Would you mind sending me the link to your forum? (Even by PM if you want.)
Title: Re: Token verification failed. Please go back and try again.
Post by: Oormi on May 29, 2018, 04:44:46 pm
Sure.
http://selftalk.oormi.in
Its public, I even posted in showcase here , a few days ago.
Title: Re: Token verification failed. Please go back and try again.
Post by: emanuele on May 29, 2018, 05:25:54 pm
xD
I'm following mostly features, bugs and support, the rest I enter very seldom. :)

The twitter login is an addon? Is there a download link?
Title: Re: Token verification failed. Please go back and try again.
Post by: Oormi on May 29, 2018, 05:39:49 pm
Link : https://addons.elkarte.net/feature/External-Auth.html
Title: Re: Token verification failed. Please go back and try again.
Post by: Oormi on May 30, 2018, 02:53:44 pm
Good news, the problem was solved by logging in via a 3G network instead of 4G.
This is strange :D
But the reason is that a 4G network keeps changing IPs (I'm not sure how or probably it does something else). Probably the auth tokens depend on IP.
I know this because there are other software that have same problems, like the control panel for web hosting. It does not tolerate 4G. I always use a 3G connection or use a proxy which has a fixed IP.
Title: Re: Token verification failed. Please go back and try again.
Post by: emanuele on May 30, 2018, 05:09:43 pm
That's a weird issue indeed, but if IP changes mid-way, is likely that the that this is the issue indeed.
Glad you solved it!
Title: Re: Token verification failed. Please go back and try again.
Post by: ahrasis on May 30, 2018, 05:52:12 pm
May be it's more to ipv6 problem rather than 4G? I came to this thought as I found not all services readily support ipv6 while I was managing my servers.  (Even my country main ISP. May be because they are still selling fixed ipv4 for MYR500 per month :'( ).
Title: Re: Token verification failed. Please go back and try again.
Post by: Oormi on May 30, 2018, 06:55:07 pm
Can be both IPv6 and 4G issue. Or can be rapidly fluctuating signal at my place, so my 4G router/modem keeps reattaching to the networks. After some searching I found some info like below. But it does not explain the exact cause. But it looks like binding auth with IP is not a good idea.
https://www.ctrl.blog/entry/ip-auth-factor
Title: Re: Token verification failed. Please go back and try again.
Post by: emanuele on May 31, 2018, 06:05:17 am
Unfortunately I'm still on v4 on any connection I have handy, so I cannot do many tests...