Hi
My environment looks like this:
Haproxy 1.5 (Also tried 1.4 with stunnel) ===>> Apache1 & Apache2
Each apache server uses ajp to forward traffic to tomcat servers in a 1
to 1 relationship from port 443 on the apache to 7000 on the tomcat server.
If i setup haproxy in tcpmode then it load balances correctly. If I
directly connect to the individual apache servers, then it works.
If I however changes the haproxy to httpmode, then I get the following
in the logs:
==> ssl_request_log <==
[13/Jan/2014:10:19:16 +0000] 10.11.115.114 - - "GET /" 562
==> ssl_access_log <==
10.11.115.114 - - [13/Jan/2014:10:19:16 +0000] "GET /" 400 562
On the browser I get:
502 Bad Gateway
The server returned an invalid or incomplete response.
I have tried to set the following haproxy global parameters with no affect:
tune.bufsize
tune.http.maxhdr
All my servers are Centos6 64bit.
Further searching on the internet does not really give any solutions.
Please can you help?
Thanks
Kobus
--
Trustpay Global Limited is an authorised Electronic Money Institution
regulated by the Financial Conduct Authority registration number 900043.
Company No 07427913 Registered in England and Wales with registered address
130 Wood Street, London, EC2V 6DL, United Kingdom.
For further details please visit our website at www.trustpayglobal.com.
The information in this email and any attachments are confidential and
remain the property of Trustpay Global Ltd unless agreed by contract. It is
intended solely for the person to whom or the entity to which it is
addressed. If you are not the intended recipient you may not use, disclose,
copy, distribute, print or rely on the content of this email or its
attachments. If this email has been received by you in error please advise
the sender and delete the email from your system. Trustpay Global Ltd does
not accept any liability for any personal view expressed in this message.