2016-07-16 15 views
2

Ich integriere simplesamlphp mit adfs. Alles funktioniert gut, aber nach der Authentifizierung von ADFS, während ich auf meine Website umadressiere, erhalte ich diesen Fehler.Die für diese Anfrage verwendete SAML 2-Bindung konnte nicht gefunden werden.array

Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 4 [c29af14b35] Unable to find the SAML 2 binding used for this request.array (#012) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 4 [c29af14b35] Request method: 'GET'array (#012) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 4 [c29af14b35] Content-Type: ''array (#012) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] SimpleSAML_Error_Error: ACSPARAMS 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] Backtrace: 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] 1 /data/simplesamlphp/simplesamlphp/modules/saml/www/sp/saml2-acs.php:21 (require) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] 0 /data/simplesamlphp/simplesamlphp/www/module.php:150 (N/A) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] Caused by: Exception: Unable to find the current binding. 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] Backtrace: 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] 2 /data/simplesamlphp/simplesamlphp/vendor/simplesamlphp/saml2/src/SAML2/Binding.php:97 (SAML2_Binding::getCurrentBinding) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] 1 /data/simplesamlphp/simplesamlphp/modules/saml/www/sp/saml2-acs.php:16 (require) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] 0 /data/simplesamlphp/simplesamlphp/www/module.php:150 (N/A) 
Jul 15 21:42:04 QA-saml simplesamlphp[18035]: 3 [c29af14b35] Error report with id 952d6328 generated. 
Jul 15 21:42:28 QA-saml simplesamlphp[18036]: 3 [31b86628bc] SimpleSAML_Error_Exception: Error 4096 - Argument 2 passed to sspmod_saml_SP_LogoutStore::addSession() must be of the type array, null given, called in /data/simplesamlphp/simplesamlphp/modules/saml/www/sp/saml2-acs.php on line 190 and defined 
Jul 15 21:42:28 QA-saml simplesamlphp[18036]: 3 [31b86628bc] Backtrace: 
Jul 15 21:42:28 QA-saml simplesamlphp[18036]: 3 [31b86628bc] 3 /data/simplesamlphp/simplesamlphp/www/_include.php:75 (SimpleSAML_error_handler) 
Jul 15 21:42:28 QA-saml simplesamlphp[18036]: 3 [31b86628bc] 2 /data/simplesamlphp/simplesamlphp/modules/saml/lib/SP/LogoutStore.php:159 (sspmod_saml_SP_LogoutStore::addSession) 

Antwort

2

Ich habe gerade den gleichen Fehler erhalten. Es scheint ein Fehler in einer simplesamlphp-Bibliothek zu sein.

Kommentieren der Linie sspmod_saml_SP_LogoutStore::addSession($sourceId, $nameId, $sessionIndex, $logoutExpire); in /data/simplesamlphp/simplesamlphp/modules/saml/www/sp/saml2-acs.php wird das Problem lösen.

Andernfalls ist es besser, die Bibliothek zu aktualisieren. Sie können den Fix hier sehen: https://github.com/simplesamlphp/simplesamlphp/commit/c0721a6230748a54666a97f3b14f98398901a03d