catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
70 stars 132 forks source link

Error 503 not available #705

Open miguellopezluque opened 2 years ago

miguellopezluque commented 2 years ago

Hi, the plugin was working correctly for more than a month but today it returns a 503 error

83.43.199.32 192.168.2.149 - - [22/Jun/2022:11:50:56 +0200] "GET /auth/saml2/login.php?wants=https%3A%2F%2Fecampus.esade.edu%2F&idp=ef7425e2e066f5dc7bfc3c011baf6a36&passive=off HTTP/1.1" 503 299 "https://ldapsso.esade.edu/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" 0/28067

miguellopezluque commented 2 years ago

Hi, this is the debug output:

un 23 02:07:21 192.168.1.232 SimpleSAMLphp DEBUG [ec60a123d3] auth_saml2: pre_loginpage_hook exit Jun 23 02:07:21 192.168.1.232 SimpleSAMLphp DEBUG [TRdb9024c4] auth_saml2: loginpage_hook enter Jun 23 02:07:21 192.168.1.232 SimpleSAMLphp DEBUG [TRdb9024c4] auth_saml2: should_login_redirect enter Jun 23 02:07:21 192.168.1.232 SimpleSAMLphp DEBUG [TRdb9024c4] auth_saml2: should_login_redirect skipping due to dual auth Jun 23 02:07:21 192.168.1.232 SimpleSAMLphp DEBUG [TRdb9024c4] auth_saml2: loginpage_hook exit Jun 23 02:07:21 192.168.1.232 SimpleSAMLphp ERROR [TRdb9024c4] Error creating session: Headers already sent. Jun 23 02:08:07 192.168.1.232 SimpleSAMLphp DEBUG [TRc5b4d883] auth_saml2: loginpage_hook enter Jun 23 02:08:07 192.168.1.232 SimpleSAMLphp DEBUG [TRc5b4d883] auth_saml2: should_login_redirect enter Jun 23 02:08:07 192.168.1.232 SimpleSAMLphp DEBUG [TRc5b4d883] auth_saml2: should_login_redirect skipping due to dual auth Jun 23 02:08:07 192.168.1.232 SimpleSAMLphp DEBUG [TRc5b4d883] auth_saml2: loginpage_hook exit Jun 23 02:08:07 192.168.1.232 SimpleSAMLphp ERROR [TRc5b4d883] Error creating session: Headers already sent.