Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GRPC Health Checks #2246
Currently agent connectivity to server can be terminated under certain conditions (e.g. no jobs for a while and/or firewall/LB terminating idle connections). This results in jobs being triggered and sitting in pending until the agent is restarted and "reconnected" to the server.
GRPC health checks could help prevent/correct this issue and make the Drone platform more stable in general.
Discussion regarding this in Discourse: https://discourse.drone.io/t/0-8-1-agent-loses-connection-overnight/864/7
Until we have a patch, it is not recommended to route agent communication through a load balancer or reverse proxy. When I start working on this I will update the issue status, but in the meantime, please feel free to send a patch if you want to expedite a resolution to this issue.