[midPoint] Service Unavailable after Configuring Apache Reverse Proxy

Nadim El-Khoury nel-khoury at springfield.edu
Sun Jan 7 20:12:46 CET 2024


Hi Richard,

Thank you for the information.
As a quick test, I enabled the AJP protocol on the embedded Tomcat server,
and the proxy configuration worked.
I will reconfigure the proxy to use the HTTP protocol and disable the AJP
protocol.

Best,

Nadim El-Khoury
Director of Networks, Systems, Infrastructure, and CISO
Springfield College
263 Alden Street
Springfield, MA 01109

On Sun, Jan 7, 2024 at 10:54 AM Frovarp, Richard <richard.frovarp at ndsu.edu>
wrote:

> You're doing AJP protocol to 8080, which is expecting HTTP protocol. You
> need to fix your proxy.
>
> ------------------------------
> *From:* midPoint <midpoint-bounces at lists.evolveum.com> on behalf of Nadim
> El-Khoury via midPoint <midpoint at lists.evolveum.com>
> *Sent:* Sunday, January 7, 2024 9:38:42 AM
> *To:* midPoint General Discussion <midpoint at lists.evolveum.com>
> *Cc:* Nadim El-Khoury <nel-khoury at springfield.edu>
> *Subject:* [midPoint] Service Unavailable after Configuring Apache
> Reverse Proxy
>
> Hi Everyone,
>
> 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."
>
> We receive this message after we configure Apache as the reverse proxy.
>
> We installed Midpoint version 4.8. The Apache version is 2.4.58_1.
>
> The error message from the midpoint.log file is
>
> java.lang.IllegalArgumentException: Invalid character found in method name
> [0x160x030x010x0270x010x000x0230x030x030xf2fFV^0xee0xd30xc5T0xf00xe10x1csu0xcbE0x060xaf=0x07M:{,0x9a0xb00xd8O0xde'&0xeb
> ]. HTTP method names must be tokens
>
> The error message from the Apache log file is.
>
> [proxy_ajp:error] [pid 67533] [client <IP Removed>:50883] AH00992:
> ajp_read_header: ajp_ilink_receive failed
>
> [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 127.0.0.1:8080
> (localhost:8080)
>
> I really appreciate your help.
>
> Best,
>
> Nadim El-Khoury
> Director of Networks, Systems, Infrastructure, and CISO
> Springfield College
> 263 Alden Street
> Springfield, MA 01109
>
> --
> "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." Maya
> Angelou
>


-- 
"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." Maya
Angelou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240107/98492fa2/attachment-0001.htm>


More information about the midPoint mailing list