On Wed, Dec 29, 2021 at 12:29:11PM +0100, Aleksandar Lazic wrote: > > [28/Dec/2021:12:48:34.023] frontend proxy (#2): invalid request > > backend <NONE> (#-1), server <NONE> (#-1), event #166, src > > 192.168.1.90:44350 > > buffer starts at 0 (including 0 out), 16258 free, > > len 126, wraps at 16336, error at position 49 > > H1 connection flags 0x00000000, H1 stream flags 0x00000012 > > H1 msg state MSG_HDR_L2_LWS(24), H1 msg flags 0x00001410 > > H1 chunk len 0 bytes, H1 body len 0 bytes : > > > > 00000 CONNECT download.eclipse.org:443 HTTP/1.1\r\n > > 00043 Host: download.eclipse.org\r\n > > 00071 User-Agent: Apache-HttpClient/4.5.10 (Java/11.0.13)\r\n > > 00124 \r\n
It indeed looks like a recently fixed problem related to the mandatory comparison between the authority part of the request and the Host header field, which do not match above since only one contains a port. More recent versions are applying scheme-based normalization which consists in dropping the port from the comparison when it matches the scheme (which is implicitly https here). Please note that branch 2.1 reached end of life 10 months ago and that you must really not use it anymore as it will not receive any fix anymore. As Alex said you'd rather upgrade to 2.4 which is supported till 2026. If you're afraid of such a "large" jump, try with latest 2.2, which must be trouble-free from 2.1. Regards, Willy

