Agents not working/can't register them

Same issue we’ve seen a lot before where jobs won’t run on Agents and we can’t register agents.

@eldar please help