Re: Haproxy 1. 5.14 + Tomcat 8 giving random 502 errors

2016-03-01 Thread Zoltan Lorincz
Jeff, thanks again for the detailed answer. I've already tested a configuration without various ACL's. When i check the errors logs. I got this: [02/Mar/2016:07:38:34.834] backend servers (#4): invalid response frontend https-in (#3), server www1a (#1), event #9270 src 46.140.96.254:61409, s

Question about build HAProxy for Solaris 11

2016-03-01 Thread Samuel Crowell
I noticed that ya’ll have the binaries for HAProxy 1.4, is there any plan to build the executables for newer versions (1.6, etc.)? It’s hard for me to build from source at work due to missing required libraries. It would be nice if I still had the option to grab a version already compiled for

Re: Haproxy 1. 5.14 + Tomcat 8 giving random 502 errors

2016-03-01 Thread Jeff Palmer
Zoltan, the "HP--" in the log means: P : the session was prematurely aborted by the proxy, because of a connection limit enforcement, because a DENY filter was matched, because of a security check which detected and blocked a dangerous error in server response

Re: Haproxy 1. 5.14 + Tomcat 8 giving random 502 errors

2016-03-01 Thread Zoltan Lorincz
Dear Jeff, thank you very much for your answer! The Tomcat connector doesn't have HTTPS enabled. I forgot to remove the old "redirectPort" from tomcat's connector setting, i did remove it now and restarted servers but the error still persist. Thank you, Zoltan. On Tue, Mar 1, 2016 at 2:19 PM,

Re: Haproxy 1. 5.14 + Tomcat 8 giving random 502 errors

2016-03-01 Thread Jeff Palmer
You have tomcat on 8443 which is usually an SSL enabled port, but none of your backend server definitions enable SSL. In the 3 'server' lines towards the end of your config, add 'ssl' at the end. Let us know! On Mar 1, 2016 5:57 AM, "Zoltan Lorincz" wrote: > Hi all, > > i am very new to haproxy

Haproxy 1. 5.14 + Tomcat 8 giving random 502 errors

2016-03-01 Thread Zoltan Lorincz
Hi all, i am very new to haproxy. Read trough all the docs but i think something is wrong with my configuration, because if we connect directly to tomcat we don't get any 502 errors. The errors from haproxy look like this. Mar 1 11:41:37 www1 haproxy[15362]: xx.xx.xx.xx:56387 [01/Mar/2016:11:41

Re: Proliferation of processes under systemd wrapper

2016-03-01 Thread BR Kumar
Hi Conrad, I agree that under normal circumstances, the intermediate process shouldn't be abnormally terminated. However, I was interested in understanding the behaviour in case of such an occurrence (though unlikely). The only "fix" I can imagine is reaping of such orphan processes. Thanks for t