Shibboleth authenticator crashes

Shibboleth authenticator crashes

by Marcus Möller -
Number of replies: 1

We have noticed that from time to time the Shibboleth auth module crashes for unknown reasons. The following errors are logged in the webserver logs:

[Wed Aug 07 21:31:55.556518 2019] [php7:notice] [pid 8250] [client xxx.xxx.xxx.xxx:23549] Default exception handler: Notwendiger Parameter "username" fehlt Debug: \nError code: missingparam\n* line 494 of /lib/setuplib.php: moodle_exception thrown\n* line 569 of /lib/moodlelib.php: call to print_error()\n* line 34 of /login/token.php: call to required_param()\n
[Wed Aug 07 21:31:55.759351 2019] [php7:notice] [pid 8250] [client xxx.xxx.xxx.xxx:23549] Default exception handler: Notwendiger Parameter "username" fehlt Debug: \nError code: missingparam\n* line 494 of /lib/setuplib.php: moodle_exception thrown\n* line 569 of /lib/moodlelib.php: call to print_error()\n* line 34 of /login/token.php: call to required_param()\n
[Wed Aug 07 21:31:55.947241 2019] [php7:notice] [pid 8069] [client xxx.xxx.xxx.xxx:23552] Default exception handler: Notwendiger Parameter "username" fehlt Debug: \nError code: missingparam\n* line 494 of /lib/setuplib.php: moodle_exception thrown\n* line 569 of /lib/moodlelib.php: call to print_error()\n* line 34 of /login/token.php: call to required_param()\n
[Wed Aug 07 21:31:55.947369 2019] [php7:notice] [pid 8250] [client xxx.xxx.xxx.xxx:23549] Default exception handler: Notwendiger Parameter "username" fehlt Debug: \nError code: missingparam\n* line 494 of /lib/setuplib.php: moodle_exception thrown\n* line 569 of /lib/moodlelib.php: call to print_error()\n* line 34 of /login/token.php: call to required_param()\n
[Wed Aug 07 21:32:38.998556 2019] [php7:notice] [pid 8069] [client xxx.xxx.xxx.xxx:23557] [client xxx.xxx.xxx.xxx]  https://moodle.hsr.ch  Disabled Login:  324811646-433289468-238184688-115011@hsr.ch  Mozilla/5.0 (Linux; Android 8.0.0; SM-G930F Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36MoodleMobile, referer: https://aai-login.hsr.ch/idp/profile/SAML2/Redirect/SSO;jsessionid=BE791757DE518018C6CB60B3D5A52CD7?execution=e1s1
[Wed Aug 07 21:32:38.998939 2019] [php7:notice] [pid 8069] [client xxx.xxx.xxx.xxx:23557] Default exception handler: Sie scheinen \xc3\xbcber Shibboleth authentifiziert zu sein, aber Moodle findet keinen g\xc3\xbcltiges Nutzerkonto zu Ihrem Anmeldenamen. Ihr Nutzerkonto k\xc3\xb6nnte ung\xc3\xbcltig geworden sein oder es existiert gar nicht. Debug: \nError code: shib_invalid_account_error\n* line 494 of /lib/setuplib.php: moodle_exception thrown\n* line 85 of /auth/shibboleth/index.php: call to print_error()\n, referer: https://aai-login.hsr.ch/idp/profile/SAML2/Redirect/SSO;jsessionid=BE791757DE518018C6CB60B3D5A52CD7?execution=e1s1

In the moment we faced the issues the module has been disabled automatically. It can be enabled manually again in Site Administration - Manage Authentication and afterwards it works as expected.

Do you have any idea what could be the root cause of this issue?

Average of ratings: -
In reply to Marcus Möller

Re: Shibboleth authenticator crashes

by Robert Schrenk -
Picture of Core developers Picture of Plugin developers

Hello,

I have the same problem. According to the documentation Moodle should create a new account if that user is not known. But instead of doing so, I receive this error "shib_invalid_account_error".

Have you found a solution to this?

Kind regards