I stumbled across a few "SC" results in my logs, which the docs say is:
"
SC   The server or an equipement between it and haproxy explicitly refused
          the TCP connection (the proxy received a TCP RST or an ICMP message
          in return). Under some circumstances, it can also be the network
          stack telling the proxy that the server is unreachable (eg: no route,
          or no ARP response on local network). When this happens in HTTP mode,
          the status code is likely a 502 or 503 here.
"

Is there a way to tell which backend server haproxy was trying to
connect to?  The log just says "...<NOSRV> -1/-1/0 0 SC 0/0/0/0/0
0/0"?  I'm strictly mode tcp and option tcplog.  I do mostly LDAP/S
connections.

I have "retries 3" and "option redispatch".  So does the above log
entry imply one of by backends refused a connection, and haproxy thus
sent it to another backend server instead?  And just for clarity, does
haproxy try twice to the bad backend, and then the final third try is
to another backend?

Thank you,
PH

Reply via email to