End point security fails for Elastic Agent with error "Missed two check-ins"

It's hard to say what's happening, need more information. If you are comfortable, please PM the entire log file:

/opt/Elastic/Endpoint/state/log/endpoint-000000.log

EDIT: I can provide an upload link