I am having some issues with sticky sessions. The sessions are not
sticking.
I am using tcp mode with ssl. I have implemented the example out of the
manual.
The user is getting bounced back and forth between the two servers,
which is causing issues in the application.
Am I missing something?
HA-Proxy version 1.5.2 2014/07/12
frontend pc
bind 192.168.10.72:443
mode tcp
option tcplog
default_backend pc
backend pc
mode tcp
balance roundrobin
stick-table type binary len 32 size 30k expire 30m
acl clienthello req_ssl_hello_type 1
acl serverhello rep_ssl_hello_type 2
tcp-request inspect-delay 5s
tcp-request content accept if clienthello
tcp-response content accept if serverhello
stick on payload_lv(43,1) if clienthello
stick store-response payload_lv(43,1) if serverhello
server r15-21 192.168.10.21:443 check
server r16-22 192.168.10.22:443 check
“CONFIDENTIALITY AND PROPRIETARY INFORMATION NOTICE: This email,
including attachments, is covered by the Electronic Communications
Privacy Act (18 U.S.C. 2510-2521) and contains confidential information
belonging to the sender which may be legally privileged. The
information is intended only for the use of the individual or entity to
which it is addressed. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution or the taking
of any action in reliance of the contents of this information is
strictly prohibited. If you have received this electronic transmission
in error, please immediately notify the sender by return e-mail and
delete this message from your computer or arrange for the return of any
transmitted information.”