I'm using LTTng for live debugging. The target machine which I'm debugging has connectivity to only one other machine (say M1), which in turn has connectivity to the external world. I've started lttng-relayd on M1. M1 and my dev host can ping each other. On the target machine, I've created an lttng session as:
lttng create --live 100000 -U net://M1's-ipaddr
I've enabled filters and have started the session.
Now on my dev host (or for that matter any other machine) when I run
babeltrace -i lttng-live net://M1's-ipaddr
I get the below error:
Connect: Connection refused
[error] Connection failed
[warning] [Context] Cannot open_trace of format lttng-live at path net://M1's-ipaddr.
[warning] [Context] cannot open trace "net://M1's-ipaddr" for reading.
[error] opening trace "net://M1's-ipaddr" for reading.
I googled about it, but could not find much help. My babeltrace version is 1.4.0