Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4714

HAProxy with TCP mode and multiple subdomains

$
0
0

Hi Team, I have the below configuration and getting SSL error in my python code.

frontend http-in
bind *:443
mode tcp
option tcplog
timeout connect 10s
timeout client 20m
timeout server 20m
maxconn 10000
acl sub_qaws hdr(host) -i qaws.domain.com
acl sub_pdws hdr(host) -i pdws.domain.com
use_backend be_d1 if sub_qaws
use_backend be_d2 if sub_pdws
backend be_d1
server D1M1 qaws.domain.com:443
backend be_d2
server D2M1 pdws.domain.com:443

Error Message:
Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1131)’))

But if I removed ACL entry and just keep a single backend server then it worked perfectly fine.

Can someone please help here and let me know the exact root cause of this issue.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>