<div dir="ltr">Hi Richard, Everyone,<div><br></div><div>I reconfigured the proxy to use HTTP, and all is good now.</div><div><br></div><div>Thank you.</div><div><br></div><div><div style=""><font color="#000000">Best,</font></div><div style=""><font color="#000000"><br></font></div><div style=""><div style=""><font color="#000000">Nadim El-Khoury</font></div><div style=""><font color="#000000">Director of Networks, Systems, Infrastructure, and CISO</font></div><div style=""><font color="#000000">Springfield College</font></div><div style=""><font color="#000000">263 Alden Street</font></div><div style=""><font color="#000000">Springfield, MA 01109</font></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 7, 2024 at 2:12 PM Nadim El-Khoury <<a href="mailto:nel-khoury@springfield.edu">nel-khoury@springfield.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Richard,<div><br></div><div>Thank you for the information.</div><div>As a quick test, I enabled the AJP protocol on the embedded Tomcat server, and the proxy configuration worked.</div><div>I will reconfigure the proxy to use the HTTP protocol and disable the AJP protocol.</div><div><br></div><div><div>Best,</div><div><br></div><div><div>Nadim El-Khoury</div><div>Director of Networks, Systems, Infrastructure, and CISO</div><div>Springfield College</div><div>263 Alden Street</div><div>Springfield, MA 01109</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 7, 2024 at 10:54 AM Frovarp, Richard <<a href="mailto:richard.frovarp@ndsu.edu" target="_blank">richard.frovarp@ndsu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="auto">You're doing AJP protocol to 8080, which is expecting HTTP protocol. You need to fix your proxy.</div>
<div><br>
</div>
<div id="m_-822975714430455939m_-7105335818457268289ms-outlook-mobile-signature" dir="auto"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-822975714430455939m_-7105335818457268289divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.evolveum.com</a>> on behalf of Nadim El-Khoury via midPoint <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Sent:</b> Sunday, January 7, 2024 9:38:42 AM<br>
<b>To:</b> midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Cc:</b> Nadim El-Khoury <<a href="mailto:nel-khoury@springfield.edu" target="_blank">nel-khoury@springfield.edu</a>><br>
<b>Subject:</b> [midPoint] Service Unavailable after Configuring Apache Reverse Proxy</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Everyone,
<div><br>
</div>
<div>The Midpoint server works fine on port 8080. We get the "Service Unavailable, The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."</div>
<div><br>
</div>
<div>We receive this message after we configure Apache as the reverse proxy.</div>
<div><br>
</div>
<div>We installed Midpoint version 4.8. The Apache version is 2.4.58_1.</div>
<div><br>
</div>
<div>The error message from the midpoint.log file is</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x0270x010x000x0230x030x030xf2fFV^0xee0xd30xc5T0xf00xe10x1csu0xcbE0x060xaf=0x07M:{,0x9a0xb00xd8O0xde'&0xeb
]. HTTP method names must be tokens</span></p>
</div>
<div><br>
</div>
<div>
<div>
<div>The error message from the Apache log file is.</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">[proxy_ajp:error] [pid 67533] [client <IP Removed>:50883] AH00992: ajp_read_header: ajp_ilink_receive failed</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">[Sun Jan 07 10:26:49.621842 2024] [proxy_ajp:error] [pid 67533] (120007)APR does not understand this error code: [client <IP Removed>:50883] AH00878: read response failed from
<a href="http://127.0.0.1:8080" target="_blank">127.0.0.1:8080</a> (localhost:8080)</span></p>
</div>
<div><br>
</div>
<div>I really appreciate your help.</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>
<div>Nadim El-Khoury</div>
<div>Director of Networks, Systems, Infrastructure, and CISO</div>
<div>Springfield College</div>
<div>263 Alden Street</div>
<div>Springfield, MA 01109</div>
</div>
</div>
<div><br>
</div>
<span>-- </span><br>
<div dir="ltr">
<div dir="ltr"><font color="#000000" face="Helvetica Neue, Helvetica, Arial, sans-serif">"</font><span style="color:rgba(0,0,0,0.9);font-family:"Source Serif Pro",serif">I’ve learned that people will forget what you said, people will forget what you did, but
people will never forget how you made them feel." </span><span style="color:rgba(0,0,0,0.9);font-family:"Source Serif Pro",serif">Maya Angelou</span></div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font color="#000000" face="Helvetica Neue, Helvetica, Arial, sans-serif">"</font><span style="color:rgba(0,0,0,0.9);font-family:"Source Serif Pro",serif">I’ve learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel." </span><span style="color:rgba(0,0,0,0.9);font-family:"Source Serif Pro",serif">Maya Angelou</span></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font color="#000000" face="Helvetica Neue, Helvetica, Arial, sans-serif">"</font><span style="color:rgba(0,0,0,0.9);font-family:"Source Serif Pro",serif">I’ve learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel." </span><span style="color:rgba(0,0,0,0.9);font-family:"Source Serif Pro",serif">Maya Angelou</span></div></div>