criteo / haproxy-spoe-go

An implementation of the SPOP protocol in Go. https://www.haproxy.org/download/2.0/doc/SPOE.txt
Apache License 2.0
28 stars 14 forks source link

Error handling connection - expected pipelining capability #32

Closed robjkc closed 3 years ago

robjkc commented 3 years ago

I created a simple hello agent which is doing nothing more than printing out the message name. When I start the agent I am getting the following warn message every second or so:

WARN[0057] spoe: error handling connection: hello: expected pipelining capability

I was able to get the warning to go away by commenting out the line "option spop-check" in my agent backend:

backend hello-agents mode tcp balance roundrobin timeout connect 5s # greater than hello timeout timeout server 3m # greater than idle timeout

option spop-check

    server agent1 127.0.0.1:9000 check

I tried finding out what the spop-check is for but haven't found any documentation on it. I was just taking a configuration from the haproxy blog. I am currently using the community edition of HAProxy but will be moving to the enterprise edition. Just wondered if you had any insights to this issue. Thanks for your help!