<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">So many good replies!</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">I did very little today apart from look through log and config files - then it was working.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">And yes! &nbsp;My thoughts exactly on the expiration! &nbsp;Why would the metadata file by offline for 2 weeks then suddenly back? Of course I don't know that these things are valid for 2 weeks - I only know the new on is. &nbsp;I don't know that the one I have with today's expiration date wasn't downloaded yesterday.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">So I had the InCommon-metadata.xml file restored from last night's backup and sure enough, yet there it is: &nbsp;</font><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:12pt;color:#000000;">validUntil=&quot;</font><font face="Courier New" size="+0" color="#DD0000" style="font-family:Courier New;font-size:12pt;color:#DD0000;">2015-02-25T10:00:00Z</font><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:12pt;color:#000000;">&quot;</font></div>
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">And right on schedule - at 5:02am (10:02am GMT) - the first &quot;entire metadata document has expired&quot; message appears in the idp-process.log.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">This morning while I was troubleshooting and saw the Windows server having a hard time downloading the InCommon-metadata.xml file, I tried it in curl for more insight into what was happening:</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">#####</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">08:58:12:/home/cburton&gt; curl -v &quot;http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml&quot; | m</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;"> &nbsp;% Total &nbsp;&nbsp;&nbsp;% Received % Xferd &nbsp;Average Speed &nbsp;&nbsp;Time &nbsp;&nbsp;&nbsp;Time &nbsp;&nbsp;&nbsp;&nbsp;Time &nbsp;Current</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dload &nbsp;Upload &nbsp;&nbsp;Total &nbsp;&nbsp;Spent &nbsp;&nbsp;&nbsp;Left &nbsp;Speed</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;"> &nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 --:--:-- &nbsp;0:00:05 --:--:-- &nbsp;&nbsp;&nbsp;&nbsp;0&lt; </font><font face="Courier New" size="+0" color="#DD0000" style="font-family:Courier New;font-size:10pt;color:#DD0000;">HTTP/1.1 301 Moved Permanently</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt; Date: Wed, 25 Feb 2015 13:58:38 GMT</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt; Server: Apache</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt; </font><font face="Courier New" size="+0" color="#DD0000" style="font-family:Courier New;font-size:10pt;color:#DD0000;">Location: <a href="http://md.incommon.org/InCommon/InCommon-metadata-" target="_blank">http://md.incommon.org/InCommon/InCommon-metadata-</a></font><font face="Courier New" size="+0" color="#DD0000" style="font-family:Courier New;font-size:12pt;color:#DD0000;"><u><b>fallback</b></u></font><font face="Courier New" size="+0" color="#DD0000" style="font-family:Courier New;font-size:10pt;color:#DD0000;">.xml</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt; Content-Length: 347</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt; Connection: close</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt; Content-Type: text/html; charset=iso-8859-1</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">{ [data not shown]</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">115 &nbsp;&nbsp;347 &nbsp;115 &nbsp;&nbsp;347 &nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;&nbsp;&nbsp;&nbsp;68 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 &nbsp;0:00:05 &nbsp;0:00:05 --:--:-- &nbsp;7229* Closing connection #0</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;html&gt;&lt;head&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;title&gt;301 Moved Permanently&lt;/title&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;/head&gt;&lt;body&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;h1&gt;Moved Permanently&lt;/h1&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;p&gt;The document has moved &lt;a href=&quot;http://md.incommon.org/InCommon/InCommon-metadata-fallback.xml&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;hr&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;address&gt;Apache Server at wayf.incommonfederation.org Port 80&lt;/address&gt;</font></div>
<div align="left" style="text-align:left;"><font face="Courier New" size="+0" color="#000000" style="font-family:Courier New;font-size:10pt;color:#000000;">&lt;/body&gt;&lt;/html&gt;</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">#####</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">There shouldn't have been any firewall changes; certainly none on the Shib server itself and changes that'd affect this would be extremely rare in the university firewall - and the timing for the process &quot;fixing itself&quot; sure would be improbable.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">I'm not on that Shibboleth Notifications mailing list but hopefully I will be in a few minutes.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">Also, I'll be looking into &quot;logback&quot; (this one, right? &nbsp;<a href="http://logback.qos.ch/" target="_blank">http://logback.qos.ch/</a>&nbsp;). &nbsp;It's trying to be the successor for log4j, which I've seen used before, but I've never really dug into myself.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">Thanks all for the responses,</font></div>
<div align="left" style="text-align:left;"><font face="Calibri" size="+1" color="#000000" style="font-family:Calibri;font-size:14pt;color:#000000;">--Clayton</font></div>
<br />
<br />
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b>&quot;Shib Users users-at-shibboleth.net |Shib|&quot; &lt;<a href="mailto:3unnche4it@sneakemail.com">3unnche4it@sneakemail.com</a>&gt; on Wednesday, February 25, 2015 at 15:34 -0500 wrote:</b></font></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">On Wed, Feb 25, 2015 at 2:22 PM, Clayton &nbsp;wrote:</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt;</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; This morning I got a call from our Help Desk telling me that there were Shib</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; SSO errors. Eventually I figured out that the problem was only with the SPs</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; which are part of the InCommon federation. About the time I was coming to</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; this conclusion and finding that I was having a difficult time downloading</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; the HTTP-file-backed metadata file from InCommon, the problem cleared up. I</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; think they fixed it on their end (by switching to a &quot;fall back&quot; server or</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; file).</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">That's probably the wrong conclusion but let's hold that thought as we</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">try to get to the bottom of this.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">If you manage an IdP in the InCommon Federation but you're NOT a</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Federation Site Administrator, you probably want to subscribe to the</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">inc-ops-notifications mailing list:</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;"><a href="https://lists.incommon.org/sympa/info/inc-ops-notifications" target="_blank">https://lists.incommon.org/sympa/info/inc-ops-notifications</a></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">All Federation Site Administrators are automatically subscribed to</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">this list but it's an open subscription list so....</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; Specifically we started seeing symptoms b/c of this first line in the</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; InCommon metadata file:</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt;</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">That implies your metadata refresh process has been broken for two</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">weeks since the InCommon metadata file has a two-week expiration</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">window.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; The error has been in the log file for a while:</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Two weeks, right?</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; Error</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; [org.Opensaml.Saml2.Metadata.Provider.Httpmetadataprovider:262] - error</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; retrieving metadata from ...</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt;From what location? Exactly what location are you requesting?</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">My guess is that your IdP is requesting metadata at the following location:</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;"><a href="http://md.incommon.org/InCommon/InCommon-metadata.xml" target="_blank">http://md.incommon.org/InCommon/InCommon-metadata.xml</a></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">which is what it should be doing but exactly two weeks ago we</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">introduced the MD-RPI schema into production metadata and I'll bet</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">that broke your metadata refresh process somehow.. Something you did</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">today must have brought it back to life.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; Is there anything I can do to be alerted to this kind of thing?</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; I suppose I could have a script grep through the log file every 5 minutes</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; for new errors and send me an email when they're found.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">&gt; But is there something more elegant?</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">That's a Shibboleth question that I can't answer, maybe someone else</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">has a suggestion?</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Tom</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">-- </font></span></div>
<br />
<br/>
</body>
</html>