Closed johnfelipe closed 11 years ago
This is log:
Jun 13 01:02:16 felipeurrego simplesamlphp[10101]: 3 [020df91069] SimpleSAML_Error_MetadataNotFound: METADATANOTFOUND('%ENTITYID%' => '\'http://moocng.felipeurrego.com/saml2/metadata/\'')
Jun 13 01:02:16 felipeurrego simplesamlphp[10101]: 3 [020df91069] Backtrace:
Jun 13 01:02:16 felipeurrego simplesamlphp[10101]: 3 [020df91069] 3 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:293 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaData)
Jun 13 01:02:16 felipeurrego simplesamlphp[10101]: 3 [020df91069] 2 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:310 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaDataConfig)
Jun 13 01:02:16 felipeurrego simplesamlphp[10101]: 3 [020df91069] 1 /var/www/idp/simplesamlphp/modules/saml/lib/IdP/SAML2.php:296 (sspmod_saml_IdP_SAML2::receiveAuthnRequest)
Jun 13 01:02:16 felipeurrego simplesamlphp[10101]: 3 [020df91069] 0 /var/www/idp/simplesamlphp/www/saml2/idp/SSOService.php:19 (N/A)
Jun 13 01:02:16 felipeurrego simplesamlphp[10101]: 3 [020df91069] Error report with id 83524364 generated.
Jun 13 01:03:10 felipeurrego simplesamlphp[10099]: 3 [020df91069] SimpleSAML_Error_MetadataNotFound: METADATANOTFOUND('%ENTITYID%' => '\'http://moocng.felipeurrego.com/saml2/metadata/\'')
Jun 13 01:03:10 felipeurrego simplesamlphp[10099]: 3 [020df91069] Backtrace:
Jun 13 01:03:10 felipeurrego simplesamlphp[10099]: 3 [020df91069] 3 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:293 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaData)
Jun 13 01:03:10 felipeurrego simplesamlphp[10099]: 3 [020df91069] 2 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:310 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaDataConfig)
Jun 13 01:03:10 felipeurrego simplesamlphp[10099]: 3 [020df91069] 1 /var/www/idp/simplesamlphp/modules/saml/lib/IdP/SAML2.php:296 (sspmod_saml_IdP_SAML2::receiveAuthnRequest)
Jun 13 01:03:10 felipeurrego simplesamlphp[10099]: 3 [020df91069] 0 /var/www/idp/simplesamlphp/www/saml2/idp/SSOService.php:19 (N/A)
Jun 13 01:03:10 felipeurrego simplesamlphp[10099]: 3 [020df91069] Error report with id ccd52054 generated.
First of all review if there is any problem in the moocng.
Also check the metarefresh module documentation: https://github.com/OpenMOOC/documentation/blob/master/source/IdP_guide.rst#configure-the-cron-and-metarefresh-module
I check everything but still problem:
service httpd restart
cd /var/www/moocng/saml2
wget --no-check-certificate https://idp.felipeurrego.com/simplesaml/saml2/idp/metadata.php
mv metadata.php remote_metadata.xml
service httpd restart
/etc/init.d/slapd restart
before update it work any change
Help please
tnks
Jun 24 19:04:13 felipeurrego simplesamlphp[1965]: 3 [130b322754] SimpleSAML_Error_MetadataNotFound: METADATANOTFOUND('%ENTITYID%' => '\'http://moocng.felipeurrego.com/saml2/metadata/\'')
Jun 24 19:04:13 felipeurrego simplesamlphp[1965]: 3 [130b322754] Backtrace:
Jun 24 19:04:13 felipeurrego simplesamlphp[1965]: 3 [130b322754] 3 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:293 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaData)
Jun 24 19:04:13 felipeurrego simplesamlphp[1965]: 3 [130b322754] 2 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:310 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaDataConfig)
Jun 24 19:04:13 felipeurrego simplesamlphp[1965]: 3 [130b322754] 1 /var/www/idp/simplesamlphp/modules/saml/lib/IdP/SAML2.php:296 (sspmod_saml_IdP_SAML2::receiveAuthnRequest)
Jun 24 19:04:13 felipeurrego simplesamlphp[1965]: 3 [130b322754] 0 /var/www/idp/simplesamlphp/www/saml2/idp/SSOService.php:19 (N/A)
Jun 24 19:04:13 felipeurrego simplesamlphp[1965]: 3 [130b322754] Error report with id 2ab38a4d generated.
how fix it, or file to review settings
I review and /var/www/idp/simplesamlphp/metadata/moocng is empty how create saml20-sp-remote.php
Tnks
Hi again, please tell me how create saml20-sp-remote.php, fetch delete this file, tnks
Hi @johnfelipe,
The /var/www/idp/simplesamlphp/metadata/moocng/saml20-sp-remote.php is a file that is autogenerated by the metarefresh module.
The metarefresh module failed (check the output of the metarefresh execution): get_contents(http://moocng.felipeurrego.com/saml2/metadata/) 404 Not found.
I already said you to check that. The IdP cann't access to http://moocng.felipeurrego.com/saml2/metadata and that is the problem. Try to access in a browser to http://moocng.felipeurrego.com/saml2/metadata and see what is happening.
Metadata not found Unable to locate metadata for 'http://moocng.felipeurrego.com/auth/saml2/metadata/'
in browser:
but
http://moocng.felipeurrego.com/auth/login/
still:
and log:
Jun 14 01:24:56 felipeurrego simplesamlphp[11176]: 3 [879d1c0fa8] SimpleSAML_Error_MetadataNotFound: METADATANOTFOUND('%ENTITYID%' => '\'http://moocng.felipeurrego.com/auth/saml2/metadata/\'')
Jun 14 01:24:56 felipeurrego simplesamlphp[11176]: 3 [879d1c0fa8] Backtrace:
Jun 14 01:24:56 felipeurrego simplesamlphp[11176]: 3 [879d1c0fa8] 3 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:293 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaData)
Jun 14 01:24:56 felipeurrego simplesamlphp[11176]: 3 [879d1c0fa8] 2 /var/www/idp/simplesamlphp/lib/SimpleSAML/Metadata/MetaDataStorageHandler.php:310 (SimpleSAML_Metadata_MetaDataStorageHandler::getMetaDataConfig)
Jun 14 01:24:56 felipeurrego simplesamlphp[11176]: 3 [879d1c0fa8] 1 /var/www/idp/simplesamlphp/modules/saml/lib/IdP/SAML2.php:296 (sspmod_saml_IdP_SAML2::receiveAuthnRequest)
Jun 14 01:24:56 felipeurrego simplesamlphp[11176]: 3 [879d1c0fa8] 0 /var/www/idp/simplesamlphp/www/saml2/idp/SSOService.php:19 (N/A)
Jun 14 01:24:56 felipeurrego simplesamlphp[11176]: 3 [879d1c0fa8] Error report with id fa3cf15c generated.
I update again all with other appliance and register fine, but http://moocng.felipeurrego.com/auth/login/
Help please
So as I said to you the problem is in the mooncg element, not in the IdP.
Your moocng is not working, check the logs and take care about the settings replacement that I already explained to you (local_settings.py >> settings/local.py and change the header of the local.py then to import the commons.py)
i fetch, download wget --no-check-certificate https://idp.domain.com/simplesaml/saml2/idp/metadata.php and do all process
Help please