<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<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="ms-outlook-mobile-signature" dir="auto"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> midPoint <midpoint-bounces@lists.evolveum.com> on behalf of Nadim El-Khoury via midPoint <midpoint@lists.evolveum.com><br>
<b>Sent:</b> Sunday, January 7, 2024 9:38:42 AM<br>
<b>To:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Cc:</b> Nadim El-Khoury <nel-khoury@springfield.edu><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 class="x_gmail-p1" 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 class="x_gmail-p1" 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 class="x_gmail-s1" 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 class="x_gmail-p1" 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 class="x_gmail-s1" 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 class="x_gmail-p1" 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 class="x_gmail-s1" 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">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 class="x_gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="x_gmail_signature" data-smartmail="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>
</div>
</div>
</body>
</html>