What type of agents are you using (docker images? linux? windows?)? On which GoCD version?
There should be *something* in the agent logs (especially go-agent.log), as the agent continually pings the server and should complain if it can't talk to the server, which would then report some kind of error message which might give you the reason for the connectivity failure. You should be able to see logs on the agent some time before the 'lost contact" which might explain what the reason is. If you have some networking components (e.g a load balancer) or a TLS-terminating reverse proxy/WAF etc in front of your GoCD server you may also want to see what is logged there for a given agent in the 5m - 5m:30s before the server thinks it lost contact with the agent. -Chad On Fri, Feb 17, 2023 at 10:23 PM anil kumar <anil.daim...@gmail.com> wrote: > Hello, > > GoCD server console showing Lost Contact for some of the agents, even > though agents are running without any issue on target nodes. > > I checked GOCD server logs and Go-agent logs and did not find any clue. > If i restart the go-agent again on target server, it is showing status > Idle in GoCD Serve console and after some time (some times after 30min, > some times after 2 hours, no fixed time frames) it showing Last Contact. > > Could you please help me, if there is any known issue or something needs > to be checked ? > > Thanks and regards > Anil > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to go-cd+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/7a04d1ba-9ca1-4427-aa6d-5bebc9aefbe7n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/7a04d1ba-9ca1-4427-aa6d-5bebc9aefbe7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAA1RwH8A%2B4r8gW0opo0udg76ZA78oDejqrVd9Dm%3DjemAGyA0vg%40mail.gmail.com.