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
Please sign in to leave a comment.
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?
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.
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
Could you please attach here all agent logs or send them to teamcity-feedback [at] jetbrains.com.
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.
I have attached both the server and builldAgent logs
Attachment(s):
tc_10307_logs.zip
agent_logs.zip
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.
great news - thank you!