Router Startup Error - failed loading sensor configuration

Looking for some help resolving this error at startup (Router)

{"timestamp":"2025-02-26T23:15:53.031795412+00:00","level":"ERROR","target":"sensor_configuration::configuration","filename":"crates/sensor_configuration/src/configuration.rs","line_number":187,"sensor_metadata":{"tenant_id":"526fe8d5-81e1-4573-8a02-ddb20aeca71d","binary_ver":"1.0.5835","defs_ver":"","machine_nodename":"","sensor_type":"ptrace","k8s":null,"vm":null,"ptrace":{"ptrace_variant":"EcsFargate","persistent_id":"","cloud_id":null},"granular_type":"embedded-image","start_time":"2025-02-26T23:15:53Z","oper_mode":"","os":"unix","apisec":null},"fields":{"message":"failed loading sensor configuration","e":"missing sensor content"}}
1 Like

Not sure if this is the specific issue or not, but it seems that health-check was deprecated in 1.x but removed in 2.x in favor of health_check.

I did not see this documented on the upgrade guide from v1.x to v2.x, however, but trying to start router v2 with health-check in the config does fail to start.

try running

./rover config upgrade router.yaml > router.next.yaml
mv router.next.yaml router.yaml

@skarlovic I am not entirely sure this error is from Router or EcsFargate. Can you share the exact router config and schema that fails to start locally?

Or at least can you share a minimal reproduction?