<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>Hi folks,</div>
<div><br>
</div>
<div>We've got a problem in which the Test and Production versions of a particular SP behave differently.</div>
<div><br>
</div>
<div>Background:</div>
<div>SP [ORG]-test.[APP].com.au uses our Test IdP</div>
<div>SP [ORG].[APP].com.au user our Production IdP</div>
<div>(Both IdPs defer to CAS/AD for authentication.)</div>
<div><br>
</div>
<div>Problem:</div>
<div>Production SP works fine.</div>
<div>On first login to the Test SP, it works. On subsequent logins, it gives the error:</div>
<div>"Bad Message 431</div>
<div>reason: Request Header Fields Too Large"</div>
<div>This behaviour is consistent, and applies across browsers and operating systems.</div>
<div><br>
</div>
<div>Investigations so far:</div>
<div>* I'm told the SPs are configured more or less identically.</div>
<div>* requestHeaderSize in jetty.xml is set to 8192 on all of our IdP environments.</div>
<div>* In second-access request headers captured via Dev Tools, the Test headers are usually slightly longer than the Prod ones, but still well below 8192 (eg. Test 7627, Prod 7458).</div>
<div><br>
</div>
<div>Only things I can think of are:</div>
<div>* requestHeaderSize is not the only setting (or is the wrong setting) to be checking?</div>
<div>* There are wrappers that make the thing bigger than it looks (like the way an email in transit is bigger than in the inbox)?</div>
<div>* Bytes != characters (I know some characters use two bytes, dunno if that includes any of these ones) so the Test headers really are over 8192?</div>
<div>(Apologies if stupid questions, am learning on the job with no mentor.)</div>
<div><br>
</div>
<div>I've failed to answer these questions via Googling, so it's time to ask the folks who know a lot more than I do.</div>
<div><br>
</div>
<div>Any ideas on what/where I should be checking?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>K</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p></p>
<div style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">
<div class="m_-2014218279048943552gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span style="font-size:12.8px">--</span></div>
<div style="font-size:12.8px"><span style="font-size:12.8px">Kylie Lunghusen</span><br>
</div>
<div><font size="1" face="arial, helvetica, sans-serif">Technical Tools Administrator, University Operations</font></div>
<div><font size="1" face="arial, helvetica, sans-serif">Information Technology Services, RMIT University</font></div>
<div><font size="1" face="arial, helvetica, sans-serif"><br>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<p></p>
</div>
</div>
</div>
</body>
</html>