haproxy-consul-connect icon indicating copy to clipboard operation
haproxy-consul-connect copied to clipboard

Intentions SPOA gives expected capabilities error

Open NickMRamirez opened this issue 6 years ago • 3 comments

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]"

NickMRamirez avatar Sep 18 '19 20:09 NickMRamirez

Hi Nick,

This looks like related to this: https://github.com/criteo/haproxy-spoe-go/issues/3 Please enforce nbthread to 1 for now

bedis avatar Sep 18 '19 20:09 bedis

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.

NickMRamirez avatar Sep 18 '19 21:09 NickMRamirez

Ok cool. I know @Aestek is aware of the problem and will fix it ;)

bedis avatar Sep 18 '19 21:09 bedis