<div dir="ltr"><div>Hello<br><br></div>We are running Shibboleth SP 2.4.3 in SLES 11 . Shibboleth was working fine until we had a hardware fault. This was fixed and the server was restarted, but now when trying to authenticate the following error occurs:<br>
<br>shibsp::ConfigurationException<br><p class="">shibsp::ConfigurationException at (https:// ... )</p>
<p>No MetadataProvider available.</p><p><br></p><p>I had a look in the log file and it revealed the following when Shibboleth was restarted:</p><p><br></p><p>2013-05-10 07:56:32 ERROR XMLTooling.ParserPool : fatal error on line 0, column 0, message: An exception occurred! Type:NetAccessorException, Message:Could not connect to the socket for URL '<a href="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml">http://metadata.ukfederation.org.uk/ukfederation-metadata.xml</a>'<br>
2013-05-10 07:56:33 ERROR OpenSAML.MetadataProvider.XML : error while loading resource (<a href="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml">http://metadata.ukfederation.org.uk/ukfederation-metadata.xml</a>): XML error(s) during parsing, check log for specifics<br>
2013-05-10 07:56:33 WARN OpenSAML.MetadataProvider.XML : adjusted reload interval to 600 seconds<br>2013-05-10 07:56:33 INFO OpenSAML.MetadataProvider.XML : using local backup of remote resource<br>2013-05-10 07:56:33 ERROR XMLTooling.ParserPool : fatal error on line 0, column 0, message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/var/run/shibboleth/ukfederation-metadata.xml<br>
2013-05-10 07:56:33 ERROR OpenSAML.MetadataProvider.XML : error while loading resource (/var/run/shibboleth/ukfederation-metadata.xml): XML error(s) during parsing, check log for specifics<br>2013-05-10 07:56:33 CRIT Shibboleth.Application : error initializing MetadataProvider: XML error(s) during parsing, check log for specifics</p>
<p><br></p><p>Taking the first error above and researching on the mailing list leads me to believe the problem is in the MetadataProvider block of the Shibboleth2.xml configuration:</p><p><br></p><p><MetadataProvider type="XML" uri="<a href="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml">http://metadata.ukfederation.org.uk/ukfederation-metadata.xml</a>"<br>
backingFilePath="ukfederation-metadata.xml" reloadInterval="14400"><br> <MetadataFilter type="RequireValidUntil" maxValidityInterval="2592000"/><br>
<MetadataFilter type="Signature" certificate="ukfederation.pem"/><br>
<br> <TransportOption provider="CURL" option="10004"><a href="http://wwwcache.port.ac.uk:81">wwwcache.port.ac.uk:81</a></TransportOption><br> </MetadataProvider></p><p><br>
</p><p>Would I be right in thinking the problem is something to do with TransportOption? I don't know why we are using a HTTP proxy, the address is for accessing the University's Intranet from an external location. Maybe I could try commenting out this line and restarted Shibboleth / Apache?<br>
</p><p>Any help greatly appreciated.<br></p><p>John<br></p></div>