Advertisement:

Author Topic: Re: Session verification failed.  (Read 741 times)

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Session verification failed.
« on: May 18, 2020, 11:55:29 AM »
I have the same issue.
"Session verification failed. Please try logging out and back in again, and then try again."

It's a clean, fresh install of SMF 2.0.17.

Tried to clean smf_sessions table - didn't helped.

More interesting that other installation of SMF on this hosting is working fine, and the settings of web server and PHP exactly the same.

Offline m4z

  • Just a monkey with a typewriter
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,026
  • /mɛs/
Re: Session verification failed.
« Reply #1 on: May 18, 2020, 12:38:29 PM »
I have the same issue.
"Session verification failed. Please try logging out and back in again, and then try again."

It's a clean, fresh install of SMF 2.0.17.

Then it's not the same problem, only the same error message; the other thread was about 2.0.15.
"Faith is what you have in things that don't exist."
--Homer Simpson

Online doug_ips

  • Full Member
  • ***
  • Posts: 453
Re: Re: Session verification failed.
« Reply #2 on: May 18, 2020, 12:50:17 PM »
Can you empty the session table, clear your cookies and give it another go?

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Re: Session verification failed.
« Reply #3 on: May 18, 2020, 01:21:10 PM »
Can you empty the session table, clear your cookies and give it another go?
Just tried. Same thing.
Even tried change databaseSession_enable to 0 and files is creating properly in session directory.

Offline m4z

  • Just a monkey with a typewriter
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,026
  • /mɛs/
Re: Session verification failed.
« Reply #4 on: May 18, 2020, 02:06:04 PM »
Does the top left login area (instead of the "main" one in the center) work?
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Re: Session verification failed.
« Reply #5 on: May 18, 2020, 02:29:23 PM »
Does the top left login area (instead of the "main" one in the center) work?
Yeah, if i clear browser cookies i can login with top left area.
But then, i can't logout, can't access admin panel with password check enabled, can't change a lot of settings, it's showing "Session verification failed" error.

Offline m4z

  • Just a monkey with a typewriter
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,026
  • /mɛs/
Re: Session verification failed.
« Reply #6 on: May 18, 2020, 05:38:18 PM »
Hmm. Can you try running repair_settings and see if it suggests any changes?
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Re: Session verification failed.
« Reply #7 on: May 18, 2020, 07:31:32 PM »
Hmm. Can you try running repair_settings and see if it suggests any changes?
Done. Everything is fine.

Offline m4z

  • Just a monkey with a typewriter
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,026
  • /mɛs/
Re: Session verification failed.
« Reply #8 on: May 19, 2020, 02:58:24 AM »
So did it (help to) identify a problem? What was it?
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Re: Session verification failed.
« Reply #9 on: May 20, 2020, 05:23:40 AM »
So did it (help to) identify a problem? What was it?
Nope. "Everything is fine" - was for "repair_settings" script. It did not find any critical errors.
The problem is persist.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,192
  • Gender: Male
    • Kindred-999 on GitHub
Re: Session verification failed.
« Reply #10 on: May 20, 2020, 10:33:30 AM »
URL of your forum?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Re: Session verification failed.
« Reply #11 on: May 20, 2020, 11:31:51 AM »

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,192
  • Gender: Male
    • Kindred-999 on GitHub
Re: Session verification failed.
« Reply #12 on: May 20, 2020, 12:01:43 PM »
you have got something VERY VERY wrong with your session generation.

confirm the following:
 (what is your setting?)

Use database driven sessions
Enable local storage of cookies
Use subdomain independent cookies
Use basic cookie authentication
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Session verification failed.
« Reply #13 on: May 20, 2020, 12:18:04 PM »
Where i can check this in database?
I can't check cookie setting in Admin Panel.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,192
  • Gender: Male
    • Kindred-999 on GitHub
Re: Session verification failed.
« Reply #14 on: May 20, 2020, 02:23:44 PM »
databaseSession_enable
databaseSession_loose
databaseSession_lifetime

globalCookies
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline m4z

  • Just a monkey with a typewriter
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,026
  • /mɛs/
Re: Session verification failed.
« Reply #15 on: May 20, 2020, 04:06:08 PM »
Are you using the default theme?
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Re: Session verification failed.
« Reply #16 on: May 21, 2020, 11:52:33 AM »
databaseSession_enable
databaseSession_loose
databaseSession_lifetime

globalCookies

databaseSession_enable - 1
databaseSession_loose - 1
databaseSession_lifetime - 2880
globalCookies - Not found

Are you using the default theme?
Yes. No changes were made. it's clean just installed forum.

Offline m4z

  • Just a monkey with a typewriter
  • Localizer
  • Sophist Member
  • *
  • Posts: 1,026
  • /mɛs/
Re: Session verification failed.
« Reply #17 on: May 21, 2020, 12:26:11 PM »
The URL you shared above uses HTTP. Do you use HTTP or HTTPS when trying to login? (And what did you use when running repair_settings?)
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,192
  • Gender: Male
    • Kindred-999 on GitHub
Re: Session verification failed.
« Reply #18 on: May 21, 2020, 12:36:09 PM »
honeslty, I think the issue might be at the server level.

The way that sessions are added to the URL indicates a problem, I think -- because the session ID changes with every page load
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Planet_Dust

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • All About Unix/Linux OS
Re: Re: Session verification failed.
« Reply #19 on: May 21, 2020, 03:17:41 PM »
The URL you shared above uses HTTP. Do you use HTTP or HTTPS when trying to login? (And what did you use when running repair_settings?)
This vhost is using only HTTP. I've installed this instance of forum for testing purposes (to make a clean install and rework theme template of a production forum, some kind of reference to a fresh install to clean production DB, to resolve and clean some trash code and DB tables of production, etc).

Production forum is - https://forum.thechembase.com [nofollow]

First install was 2.0.10 in 2015, and then time to time it was updated to version 2.0.17 for now.
Server software was also updated time to time. PHP 5.6 to 7.0, 7.0 to 7.1, 7.1 to 7.2.
Now it's Apache 2.4.43 (event MPM), PHP 7.2.31 (fpm proxied to apache), MySQL 5.7.30.

honeslty, I think the issue might be at the server level.
But production forum using absolutely same software and absolutely same settings of Apache, PHP and MySQL. Except for HTTPS.