You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by William A Rowe Jr <wr...@rowe-clan.net> on 2019/10/17 14:52:08 UTC

Re: [users@httpd] AWS Network Loadbalancer’s ProxyProtocol V2 and HTTPD mod_remoteip

On Thu, Oct 17, 2019 at 9:04 AM David Tkacik <
dtkacik@healthcoachinstitute.com> wrote:

>
> But when I try to connect I’m getting 400 Bad Request
>

Change your Apache LogLevel to 'debug' and repeat the attempt, examine the
error log and feel free to quote it here for further guidance.

Re: [users@httpd] AWS Network Loadbalancer’s ProxyProtocol V2 and HTTPD mod_remoteip

Posted by William A Rowe Jr <wr...@rowe-clan.net>.
Looks like it's not enabled on your listener. The global setting is not
correctly
inherited (and can lead to crashes because the merging is not handled
correctly
either.) I'd explicitly enable it in the first instance of each
<VirtualHost > you
are configuring.

The fix is non-trivial, feel free to file a bug that "Globally set
RemoteIPProxyProtocol
is not inherited by virtual hosts".


On Thu, Oct 17, 2019 at 10:50 AM David Tkacik
<dt...@empowerededu.org.invalid> wrote:

> This is the only thing relevant to this:
>
> [Thu Oct 17 15:49:26.886038 2019] [core:debug] [pid 30279]
> protocol.c(1335): [client 172.31.38.27:59548] AH00566: request failed:
> malformed request line
>
> Thanks !
>
> On 17 Oct 2019, at 15:52, William A Rowe Jr <wr...@rowe-clan.net> wrote:
>
> On Thu, Oct 17, 2019 at 9:04 AM David Tkacik <
> dtkacik@healthcoachinstitute.com> wrote:
>
>>
>> But when I try to connect I’m getting 400 Bad Request
>>
>
> Change your Apache LogLevel to 'debug' and repeat the attempt, examine the
> error log and feel free to quote it here for further guidance.
>
>
>

Re: [users@httpd] AWS Network Loadbalancer’s ProxyProtocol V2 and HTTPD mod_remoteip

Posted by David Tkacik <dt...@empowerededu.org.INVALID>.
This is the only thing relevant to this:

[Thu Oct 17 15:49:26.886038 2019] [core:debug] [pid 30279] protocol.c(1335): [client 172.31.38.27:59548] AH00566: request failed: malformed request line

Thanks !

> On 17 Oct 2019, at 15:52, William A Rowe Jr <wr...@rowe-clan.net> wrote:
> 
> On Thu, Oct 17, 2019 at 9:04 AM David Tkacik <dtkacik@healthcoachinstitute.com <ma...@healthcoachinstitute.com>> wrote:
> 
> But when I try to connect I’m getting 400 Bad Request
> 
> Change your Apache LogLevel to 'debug' and repeat the attempt, examine the error log and feel free to quote it here for further guidance.