Haproxy backned server showing NONE
can anyone help me on this . I have backend server pool and but using socket command iam not able to see backned server . It is showing only when i select TCP load balancing method if i select HTTP layer 7 it wont show anything like this be= <none>srv=<none>. Iam using haproxy version 1.5 and pfsense 2.2.x . Any help appreciated
echo 'show sess' | socat stdio /tmp/haproxy.socket
0x80221e400: proto=unix_stream src=unix:1 fe=GLOBAL be= <none>srv= <none>ts=09 age=0s calls=2 rq[f=c08200h,i=0,an=00h,rx=10s,wx=,ax=] rp[f=008000h,i=0,an=00h,rx=,wx=,ax=] s0=[7,8h,fd=1,ex=] s1=[7,0h,fd=-1,ex=] exp=10s</none></none></none></none>
iirc , this is related to that a backend is not 'fixed' to the frontend connection when using http. The server side can be closed and another opened while the client remains connected. If you would choose a different httpclose option mode like 'http-tunnel' you likely would see the server, but beware that tunnelmode doesn't process headers after the first request through a connection..