This Question is Assumed Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
9 Replies Last post: Jan 6, 2010 2:07 PM by Pavel Sher  
Michael DELVA Newbie 7 posts since
Jan 5, 2010
Currently Being Moderated

Jan 5, 2010 6:05 PM

Windows 7 / The build agent is always unregistered

Hello all,

 

I've just installed the latest release of TeamCity, and I have a problem with the build agent.

 

It is always in the Disconnected Agents section, with Agent has unregistered (will upgrade) as Inactivity Reason.

 

I've followed the various posts here and uncommented the debug comments in the config file, I've set the ownAddress field in the properties file. I've tried to run it with the script file instead as a service, but I can't make it work.

 

I've noticed in the log a strange thing: it downloads some plugins, but it seems it doesn't succeed in copying them in the plugins directory, and then starts to stop and start continuously.

 

The log file is in attachment, I hope this will help you to find what's wrong

 

Thanks in advance

 

Mike

Attachments:
Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Jan 5, 2010 8:35 PM in response to: Michael DELVA
Re: Windows 7 / The build agent is always unregistered

Could you please attach all logs?

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Jan 6, 2010 1:18 PM in response to: Michael DELVA
Re: Windows 7 / The build agent is always unregistered

It seems that server drops connection when agent tries to download updates. How is the server configured? Do you have some proxy between agent and server? Do you use Apache in front of TeamCity Tomcat servlet container?

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Jan 6, 2010 1:36 PM in response to: Michael DELVA
Re: Windows 7 / The build agent is always unregistered

Could you please check that all *.zip and *.jar files in the update/plugins on the agent are the same as on the server: webapps/ROOT/update/plugins ?

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Jan 6, 2010 1:52 PM in response to: Michael DELVA
Re: Windows 7 / The build agent is always unregistered

According to logs "connection reset" error occurs during idea_dist.jar downloading. And in fact the size of this jar is smaller on the agent. Do you have some antivirus software installed?

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Jan 6, 2010 2:07 PM in response to: Michael DELVA
Re: Windows 7 / The build agent is always unregistered

The update occurs only once on each server upgrade. As for antivirus - the java process needs to be allowed. But I would completely disable antivirus software on the agent, otherwise you may face  various random failures in your builds.

More Like This

  • Retrieving data ...