Topic on Extension talk:SimpleSAMLphp

State information lost when logging in to our Azure AD

5
Sethu S P (talkcontribs)

I am using the SimpleSAML php extension for authenticating to my azure AD. When am browsing my wiki application, i am getting the below error. But when i try connecting to my application in an incognito or private window it works perfectly fine. I guess the issue is with cache or something which needs to be cleared but cannot ask all the users in our organization to do the same. Am i missing something in configuring the session that would store the session correctly. Please find the installed software and error message below. Thanks in advance.

Product Version
MediaWiki 1.26.4
PHP 5.6.14 (cgi-fcgi)
MySQL 5.6.25-log

State information lost

State information lost

State information lost, and no way to restart the request

Suggestions for resolving this problem:

  • Go back to the previous page and try again.
  • Close the web browser, and try again.

This error may be caused by:

  • Using the back and forward buttons in the web browser.
  • Opened the web browser with tabs saved from the previous session.
  • Cookies may be disabled in the web browser.

If you report this error, please also report this tracking number which makes it possible to locate your session in the logs available to the system administrator: **********

Debug information

The debug information below may be of interest to the administrator / help desk:

SimpleSAML_Error_NoState: NOSTATE

Backtrace:
2 C:\inetpub\wwwroot\MediaWiki\mediawiki-1.23.5\extensions\SimpleSAMLphp\lib\SimpleSAML\Auth\State.php:225 (SimpleSAML_Auth_State::loadState)
1 C:\inetpub\wwwroot\MediaWiki\mediawiki-1.23.5\extensions\SimpleSAMLphp\modules\saml\www\sp\saml2-acs.php:63 (require)
0 C:\inetpub\wwwroot\MediaWiki\mediawiki-1.23.5\extensions\SimpleSAMLphp\www\module.php:134 (N/A)

How to get help

This error probably is due to some unexpected behaviour or to misconfiguration of simpleSAMLphp. Contact the administrator of this login service, and send them the error message above.

Cindy.cicalese (talkcontribs)
Sethu S P (talkcontribs)

Hi @Cindy.cicalese

Thanks a lot for the response. We are using MySql as our application database. Should i do any changes particularly for that or would it work if i just change the session store type to sql. If so i am confused on the below. Please help me on this.


'store.sql.dsn' => 'sqlite:/sum/path/where/the/apache/user/can/write/sqlitedatabase.sq3'


Thanks in Advance.


Cindy.cicalese (talkcontribs)

I added a bit more detail on using MySQL on the extension page, but it was grabbed from the docs. I don't have a site set up to test that right now. Give it a try, and if it is incorrect, let me know. If there are any errors in the configuration that you are able to fix, please edit the extension page to fix it or add more detail.

Sethu S P (talkcontribs)

Hi @Cindy.cicalese

Thanks for the info. I will give it a try and let you know how it turns out.

Reply to "State information lost when logging in to our Azure AD"