I am attempting to set up an Edge managed node on a server at home to connect to Cribl Cloud using a Free license. I have Stream working using Syslog, but now am trying to run cribl in managed edge mode.
I used the set up script copied from the Edge “Add/Update Edge Node” > “Update existing” > CLI. That worked like a charm.
After starting cribl (./cribl start), I see the following
From cribl.log:
{"time":"2022-05-31T00:21:27.102Z","cid":"api","channel":"output:DistWorker","level":"info","message":"attempting to connect","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:27.102Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"will retry to connect","nextConnectTime":1653956491408}
{"time":"2022-05-31T00:21:27.102Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"connecting","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:27.171Z","cid":"api","channel":"input:DistMaster","level":"debug","message":"opened connection","src":"44.236.94.xxx:4200"}
{"time":"2022-05-31T00:21:27.171Z","cid":"api","channel":"output:DistWorker","level":"info","message":"connected","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:27.171Z","cid":"api","channel":"output:DistWorker","level":"info","message":"flushing buffer backlog","count":1,"totalSize":304}
{"time":"2022-05-31T00:21:37.174Z","cid":"api","channel":"output:DistWorker","level":"error","message":"connection error","error":"This socket has been ended by the other party"}
{"time":"2022-05-31T00:21:37.185Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"will retry to connect","nextConnectTime":1653956499338}
{"time":"2022-05-31T00:21:39.255Z","cid":"api","channel":"output:DistWorker","level":"warn","message":"sending is blocked","since":1653956498,"elapsed":1,"endpoint": {"host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}}
{"time":"2022-05-31T00:21:39.346Z","cid":"api","channel":"output:DistWorker","level":"info","message":"attempting to connect","host":"logstream.xxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:39.346Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"will retry to connect","nextConnectTime":1653956503652}
{"time":"2022-05-31T00:21:39.346Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"connecting","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:39.414Z","cid":"api","channel":"input:DistMaster","level":"debug","message":"opened connection","src":"44.236.94.xxx:4200"}
{"time":"2022-05-31T00:21:39.414Z","cid":"api","channel":"output:DistWorker","level":"info","message":"connected","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:39.415Z","cid":"api","channel":"output:DistWorker","level":"info","message":"flushing buffer backlog","count":1,"totalSize":4088}
{"time":"2022-05-31T00:21:39.416Z","cid":"api","channel":"output:DistWorker","level":"info","message":"sending unblocked","since":1653956499,"endpoint":{"host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}}
{"time":"2022-05-31T00:21:42.084Z","cid":"api","channel":"output:DistWorker","level":"error","message":"connection error","error":"This socket has been ended by the other party"}
{"time":"2022-05-31T00:21:42.093Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"will retry to connect","nextConnectTime":1653956504246}
{"time":"2022-05-31T00:21:43.150Z","cid":"api","channel":"output:DistWorker","level":"warn","message":"sending is blocked","since":1653956502,"elapsed":1,"endpoint":{"host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}}
{"time":"2022-05-31T00:21:44.158Z","cid":"api","channel":"output:DistWorker","level":"warn","message":"sending is blocked","since":1653956502,"elapsed":2,"endpoint":{"host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}}
{"time":"2022-05-31T00:21:44.249Z","cid":"api","channel":"output:DistWorker","level":"info","message":"attempting to connect","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:44.250Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"will retry to connect","nextConnectTime":1653956508556}
{"time":"2022-05-31T00:21:44.250Z","cid":"api","channel":"output:DistWorker","level":"debug","message":"connecting","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:44.319Z","cid":"api","channel":"input:DistMaster","level":"debug","message":"opened connection","src":"44.236.94.xxx:4200"}
{"time":"2022-05-31T00:21:44.320Z","cid":"api","channel":"output:DistWorker","level":"info","message":"connected","host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}
{"time":"2022-05-31T00:21:44.320Z","cid":"api","channel":"output:DistWorker","level":"info","message":"flushing buffer backlog","count":1,"totalSize":304}
{"time":"2022-05-31T00:21:44.320Z","cid":"api","channel":"output:DistWorker","level":"info","message":"sending unblocked","since":1653956504,"endpoint":{"host":"logstream.xxxxxxxxxx.cribl.cloud","port":4200,"tls":false}}
What I notice is that the connection appears to be reported as blocked and unblocked ever few milliseconds.
I checked that I can curl https://cdn.cribl.io/telemetry/ and receive cribl /// living the stream!, so the required anonymous telemetry should be getting through, but I cannot tell. In the Cribl Edge cloud console, I do not see any indications that the Cribl Edge Managed Node is able to communicate with the leader node for the fleet in Cribl Cloud.
Am I missing something simple, like managed nodes are not supported under Free license?