Teamcity 5.0 (10307) EAP buildagent registered failed

Hi all,
         I found my local build agent can't register to the local teamcity server . The following is my error log in agent .

call http://localhost:80/RPC2 buildServer.registerAgent3:org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
connect to teamcity is probably lost

Any advice will be appreciated.
mchiu

8 comments
Comment actions Permalink

I'm having the same issues. My local build Agent (on the TC) server can't register.

Some more info:

* updated to 10307
* downloaded buildAgent.zip file and extracted it on the server
* ran (very slow startup because of amazonEC2 plugin) and registered successfully
* fuzzed around with path and re-started buildAgent with new path setting
* agent could not register with server
* deleted buildAgent directory and re-installed
* same behaviour

any ideas?

0
Comment actions Permalink

and here's the error.log:


[2009-09-08 17:44:16,330]   WARN -    jetbrains.buildServer.AGENT - Starting agent Web server on port 9090
Registering on server: [name: AgentZ, ownAddress: 10.xxx.xxx.xxx, ownPort: 9090, buildId: <not running build>, availableRunners: [simpleRunner], availableVcs: []]
Fatal error parsing XML: org.xml.sax.SAXParseException: Premature end of file.
[2009-09-08 17:44:16,845]   WARN - buildServer.AGENT.registration - Call http://localhost:8111/RPC2 buildServer.registerAgent3: org.apache.xmlrpc.XmlRpcClientException: Error decoding XM
L-RPC response
[2009-09-08 17:44:16,845]   WARN - buildServer.AGENT.registration - Connection to TeamCity server is probably lost. Will be trying to restore it. Take a look at logs/teamcity-agent.log f
or details (unless you're using custom logging).
Registering on server: [name: AgentZ, ownAddress: 10.xxx.xxx.xxx, ownPort: 9090, buildId: <not running build>, availableRunners: [simpleRunner], availableVcs: []]
Fatal error parsing XML: org.xml.sax.SAXParseException: Premature end of file.

0
Comment actions Permalink

and here's the log from the TeamCity server:

[2009-09-08 17:47:30,486]   WARN -   jetbrains.buildServer.SERVER - Exception occurred while communicating by XML RPC: org.apache.xmlrpc.ParseFailed: The element type "value" must be ter
minated by the matching end-tag "</value>". /remote: 127.0.0.1:52100

0
Comment actions Permalink

Could you please attach here all agent logs or send them to teamcity-feedback [at] jetbrains.com.

0
Comment actions Permalink

Also please enable debug logging on the server side (see teamcity-server-log4j.xml) and send us teamcity-xmlrpc.log file created on the server.

0
Comment actions Permalink

I have attached both the server and builldAgent logs



Attachment(s):
tc_10307_logs.zip
agent_logs.zip
0
Comment actions Permalink

Thank you, I reproduced this bug, it will be fixed in the next EAP build. We hope to release it by the end of this week or at the beginning of the next one.

0
Comment actions Permalink

great news - thank you!

0

Please sign in to leave a comment.