Re: problem with server and unix socket unix@

2016-12-12 Thread Arnall
Hi Lukas, thanks for the advice, the problem was about the chroot option. strace with chroot : - Process 46596 attached epoll_wait(0, {}, 200, 1000)= 0 epoll_wait(0, {}, 200, 1000)= 0 epoll_wait(0, {}, 200, 1000)= 0 epoll_wait(0,

Re: problem with server and unix socket unix@

2016-12-12 Thread Lukas Tribus
Hello Arnall, you said you tried different users, did you remove the "user nobody" configuration completely? Strace output would also help, just make sure you are looking at the correct process or use nbproc 1 to avoid any confusion while troubleshooting. Lukas

Re: problem with server and unix socket unix@

2016-12-12 Thread Arnall
more information , netstat display the haproxy socket : 6417/haproxy /var/run/haproxy/haproxy_plain.sock.6416.tmp and i have answer to HTTP request (after disabling PROXY protocol) : echo -e "GET / HTTP/1.1\r\nHost: domaine.tld\r\n" | socat unix-connect:/var/run/haproxy_plain.sock STDIO

problem with server and unix socket unix@

2016-12-12 Thread Arnall
Hello everyone, i got this configuration to offload TLS on multiple process and handle the plain http on only one process: global nbproc 3 listen web_tls modehttp bind *:443 ssl crt certif.pem process 2 bind *:443 ssl crt certif.pem process 3 maxconn 10