[agent] Communication failed: [Errno 104] Connection reset by peer

Hi!

Well, this is a bug for sure, thanks for the ping @gstolz

It’s not only about accidentally hitting this 5 minute restart by chance.
Everytime a connection is being accepted, the agent controller will start to listen for exactly 5 minutes, so, given a 5 minute check interval, there’s a significant chance to hit the restart instant on the next request after every successful one.
The connection is handled asynchronously, so even the time to execute the agent (and its plugins) won’t add to the 5 minute timeout.

… We’ll fix that and let you know :slight_smile:

Cheers
Andi

2 Likes