<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/native.warn.log<br></div><div>--------------------------------------snip-------------------------------</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>--------------------------------------snip-------------------------------</div><div></div></div><div><br></div><div><br></div><div>and from /var/log/shibboleth-www/</div><div><div>--------------------------------------snip-------------------------------</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/">https://SC-10-0-221-24.acme.net/helloworld/</a> to default</div><div>2016-09-12 09:07:43 DEBUG Shibboleth.SessionInitiator.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">https://SC-10-0-221-53.acme.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>--------------------------------------snip-------------------------------</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><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></div>