haproxy-consul-connect
haproxy-consul-connect copied to clipboard
Intentions SPOA gives expected capabilities error
Currently, the SPOA that checks Intentions is giving me an error when a request is received:
echo_1 | time="2019-09-18T20:02:40Z" level=info msg="spoe: hello from @: map[capabilities:pipelining engine-id:54DB81E3-F4EA-4899-BE8D-5F6F1EC62A1A max-frame-size:16380 supported-versions:2.0]"
echo_1 | time="2019-09-18T20:02:40Z" level=error msg="spoe: error handling connection: hello: expected capabilities [async pipelining]"
echo_1 | 127.0.0.1:52874 | GET /
echo_1 | time="2019-09-18T20:02:40Z" level=info msg="spoe: hello from @: map[capabilities:pipelining engine-id:54DB81E3-F4EA-4899-BE8D-5F6F1EC62A1A max-frame-size:16380 supported-versions:2.0]"
Hi Nick,
This looks like related to this: https://github.com/criteo/haproxy-spoe-go/issues/3 Please enforce nbthread to 1 for now
Yes, setting nbthread to 1 fixes the error. To do that, I can set the environment variable GOMAXPROCS = 1 and it sets nbthread to 1.
Ok cool. I know @Aestek is aware of the problem and will fix it ;)