<div dir="ltr">Forgot to add: <div>shibboleth-2.5.5-3.1.el6.x86_64</div><div>httpd-2.2.15-54.el6_8.x86_64<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 September 2016 at 09:12, Vedran Bartonicek <span dir="ltr"><<a href="mailto:vbartoni@gmail.com" target="_blank">vbartoni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I have setup clustering so that shibd runs on separate machine, and httpd with mod_shib on separate machine, using TCP listener plugin.</div><div>When shibd is restarted, httpd must also be restarted, otherwise error appears - like below from :</div><div><br></div><div><br></div><div>/var/log/shibboleth-www/<wbr>native.warn.log<br></div><div>------------------------------<wbr>--------snip------------------<wbr>-------------</div><div><div>2016-09-12 08:59:20 ERROR Shibboleth.Listener [24758] shib_handler: error reading size of output message</div><div>2016-09-12 08:59:20 ERROR Shibboleth.Apache [24758] shib_handler: Failure receiving response to remoted message (default/SAML2/POST).</div></div><div><div>------------------------------<wbr>--------snip------------------<wbr>-------------</div><div></div></div><div><br></div><div><br></div><div>and from /var/log/shibboleth-www/</div><div><div>------------------------------<wbr>--------snip------------------<wbr>-------------</div><div></div></div><div><div>2016-09-12 09:07:43 DEBUG Shibboleth.Apache [24857] shib_check_user: mapped <a href="https://SC-10-0-221-24.acme.net/helloworld/" target="_blank">https://SC-10-0-221-24.acme.<wbr>net/helloworld/</a> to default</div><div>2016-09-12 09:07:43 DEBUG Shibboleth.SessionInitiator.<wbr>SAML2 [24857] shib_check_user: attempting to initiate session using SAML 2.0 with provider (<a href="https://SC-10-0-221-53.acme.net/idp/shibboleth" target="_blank">https://SC-10-0-221-53.acme.<wbr>net/idp/shibboleth</a>)</div><div>2016-09-12 09:07:43 DEBUG Shibboleth.Listener [24857] shib_check_user: sending message (default/Login::run::SAML2SI)</div><div>2016-09-12 09:07:43 DEBUG Shibboleth.Listener [24857] shib_check_user: send completed, reading response message</div><div>2016-09-12 09:07:43 ERROR Shibboleth.Listener [24857] shib_check_user: error reading size of output message</div><div>2016-09-12 09:07:43 ERROR Shibboleth.Apache [24857] shib_check_user: Failure receiving response to remoted message (default/Login::run::SAML2SI).</div></div><div><div>------------------------------<wbr>--------snip------------------<wbr>-------------</div><div></div></div><div><br></div><div><br></div><div>It looks like httpd tries to reuse dead connections to connect to shibd (guessing here)<br></div><div><br></div><div>I would appreciate if someone would have idea what to look into to try to fix this.<br></div><div>Maybe if there is a way to control connection creation policy, someting like IdP is doing for LDAP connections.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Vedran Bartonicek</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></font></span></div>
</blockquote></div><br></div>