Error 500 al iniciar por primera vez

Hola, he terminado de instalar Huarpe, habiendo instalado registry y Arai Usuarios,

Al ingresar via la url de huarpe, me redirecciona correctamente al login del IDP,
Pero al ingresar con el usuario admistrador definido, me redirecciona a
https://huarpe.edu.ar/saml/login
Y error 500

La traza del error es la siguiente, agradezco ayuda con esto, saludos!

[Thu Oct 04 21:54:27.030967 2018] [:error] [pid 11731] [client 190.112.216.84:11581] simplesamlphp NOTICE STAT [6902978be6] User ‘toba’ has been successfully authenticated., referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?AuthState=_036974bdd08c5a10614a1f9f2a3a1bda27959034a0%3Ahttps%3A%2F%2Fusuarios.unir.edu.ar%2Fidp%2Fsaml2%2Fidp%2FSSOService.php%3Fspentityid%3Dhttps%253A%252F%252Funir.edu.ar%252Fsaml%252Fmetadata%26cookieTime%3D1538700844%26RelayState%3Dhttps%253A%252F%252Funir.edu.ar%252Fsaml%252Flogin
[Thu Oct 04 21:54:27.038428 2018] [:error] [pid 11731] [client 190.112.216.84:11581] simplesamlphp NOTICE STAT [6902978be6] saml20-idp-SSO-first https://unir.edu.ar/saml/metadata https://usuarios.unir.edu.ar/idp/saml2/idp/metadata.php NA, referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?AuthState=_036974bdd08c5a10614a1f9f2a3a1bda27959034a0%3Ahttps%3A%2F%2Fusuarios.unir.edu.ar%2Fidp%2Fsaml2%2Fidp%2FSSOService.php%3Fspentityid%3Dhttps%253A%252F%252Funir.edu.ar%252Fsaml%252Fmetadata%26cookieTime%3D1538700844%26RelayState%3Dhttps%253A%252F%252Funir.edu.ar%252Fsaml%252Flogin
[Thu Oct 04 21:54:27.038494 2018] [:error] [pid 11731] [client 190.112.216.84:11581] simplesamlphp NOTICE STAT [6902978be6] saml20-idp-SSO https://unir.edu.ar/saml/metadata https://usuarios.unir.edu.ar/idp/saml2/idp/metadata.php NA, referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?AuthState=_036974bdd08c5a10614a1f9f2a3a1bda27959034a0%3Ahttps%3A%2F%2Fusuarios.unir.edu.ar%2Fidp%2Fsaml2%2Fidp%2FSSOService.php%3Fspentityid%3Dhttps%253A%252F%252Funir.edu.ar%252Fsaml%252Fmetadata%26cookieTime%3D1538700844%26RelayState%3Dhttps%253A%252F%252Funir.edu.ar%252Fsaml%252Flogin

[Thu Oct 04 21:54:27.609543 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] request.INFO: Matched route “saml_acs”. {“route”:“saml_acs”,“route_parameters”:{“_controller”:“Hslavich\\OneloginSamlBundle\\Controller\\SamlController::assertionConsumerServiceAction”,“_route”:“saml_acs”},“request_uri”:“https://unir.edu.ar/saml/acs",“method”:"POST”} , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.616623 2018] [:error] [pid 11732] [client 190.112.216.84:11582] PHP Warning: openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! in /opt/huarpe-core/vendor/onelogin/php-saml/extlib/xmlseclibs/xmlseclibs.php on line 268, referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.616702 2018] [:error] [pid 11732] [client 190.112.216.84:11582] PHP Warning: openssl_x509_export(): cannot get cert from parameter 1 in /opt/huarpe-core/vendor/onelogin/php-saml/extlib/xmlseclibs/xmlseclibs.php on line 269, referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.616934 2018] [:error] [pid 11732] [client 190.112.216.84:11582] PHP Warning: openssl_verify(): supplied key param cannot be coerced into a public key in /opt/huarpe-core/vendor/onelogin/php-saml/extlib/xmlseclibs/xmlseclibs.php on line 379, referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.617419 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] security.ERROR: Signature validation failed. SAML Response rejected , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?

[Thu Oct 04 21:54:27.617785 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] security.INFO: Authentication request failed. {“exception”:“[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationException(code: 0): Signature validation failed. SAML Response rejected at /opt/huarpe-core/vendor/hslavich/oneloginsaml-bundle/Security/Firewall/SamlListener.php:41)”} , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.618143 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] security.DEBUG: Authentication failure, redirect triggered. {“failure_path”:“/saml/login”} , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.703999 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] request.INFO: Matched route “saml_login”. {“route”:“saml_login”,“route_parameters”:{“_controller”:“Hslavich\\OneloginSamlBundle\\Controller\\SamlController::loginAction”,“_route”:“saml_login”},“request_uri”:“https://unir.edu.ar/saml/login",“method”:"GET”} , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.706820 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] security.INFO: Populated the TokenStorage with an anonymous Token. , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.724819 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] app.ERROR: Signature validation failed. SAML Response rejected , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?
[Thu Oct 04 21:54:27.730092 2018] [:error] [pid 11732] [client 190.112.216.84:11582] [2018-10-04 21:54:27] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Call to a member function getAplicacionesAccesibles() on string” at /opt/huarpe-core/src/CoreBundle/Menu/MenuProvider.php line 56 {“exception”:“[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function getAplicacionesAccesibles() on string at /opt/huarpe-core/src/CoreBundle/Menu/MenuProvider.php:56)”} , referer: https://usuarios.unir.edu.ar/idp/module.php/arai/loginuserpass.php?

Hola,

Estan teniendo errores con la verificación del token SAML. Hay errores con OpenSSL y luego:

app.ERROR: Signature validation failed. SAML Response rejected

Pregunta. Pudieron validar todos los requerimientos de Huarpe? Al realizar un sync no les presentó algún error?

buenas que tal? estoy exacamente con el mismo error, aun no puedo entender cual es el problema. He vuelto a la version anterior de huarpe y esta todo ok, al cambiar de version aparece este error.
Javier pudiste resolverlo?

Saludos y gracias

Buenas, finalmente encontre el problema.
A pesar de hacer la verificacion/comparacion de los archivos entre las diferentes versiones con una aplicacion (Kompare) cada vez que hago una actualizaciòn de versiòn, se me pasò un pequeño detalle: al path, (en huarpe.yml) ya que en esta nueva versión se agrega la palabra CONFIG en /usr/local/app/config/idp.crt que antes era /usr/local/app/idp.crt

    target: /usr/local/app/idp.crt
    target: /usr/local/app/config/idp.crt

Así que ahora ya no tengo problemas de certificado y puedo ver el home de huarpe!!! Evidentemente el error era porque al estar mal el path no encontraba el certificado.
Saludos!