On 4/12/22 16:06, Frederic Lecaille wrote:
so this command:
$ echo "trace quic sink buf0; trace quic level developer; trace quic
verbosity clean; trace quic start now; trace qmux sink buf0; trace qmux
level developer; trace qmux verbosity minimal; trace qmux start now;
trace stream sink buf0; trace stream level developer; trace stream
verbosity clean; trace stream start now" | socat <your-CLI-socket> stdio
should work (tested after haven copied and pasted from this mail).
What I was doing before doing is an interactive session started with
this command that I found somewhere on the Internet:
expect -c 'log_user 0;spawn sudo rlwrap -l haproxy_stats_socket.log -S
"haproxy@bilbo> " -c socat /etc/haproxy/stats.socket stdio; send
"prompt\n"; interact'
The interactive session times out very quickly, so I have to have
everything ready to go. Before I do anything, I restart haproxy so I am
beginning from a clean state.
Piping commands through socat seems like a better option, so I divided
that one echo command up into 12 separate commands, and you can see the
result here:
https://paste.elyograg.org/view/bd5df44d
It looks to me like there are still no stream traces, and as you can see
from the commands I did, I did enable it. I wonder if that's the whole
problem ... it isn't sending anything to stream? I have very little
knowledge about haproxy internals, so I am just guessing.
So you don't have to go looking for it, this is what I am doing to
reproduce the problem. This should work from anywhere on the Internet,
you can do the exact same command... you just need docker and an
Internet connnection:
sudo docker run -it --rm ymuski/curl-http3 curl -v
https://http3test.elyograg.org -X POST -d " " --http3
Change "--http3" to "--http2" and the request will succeed.
Thanks,
Shawn