views:

55

answers:

2

My TeamCity agent is contniually trying to download upgrades from the TeamCity server. It always downloads the files, then fails to start the installation, with the error:

WARN - jetbrains.buildServer.AGENT - Unable to start upgrade: Connection reset

My server is running at http://localhost:9912

How do I stop this endless cycle?

Latest version of TeamCity downloaded from JetBrains

A: 

I'm guessing you're running the agent as an AD account rather than under the machine account.

Run the agent service under an account with administrative permissions for the upgrade. I don't remember the specifics of what it's trying to write but it won't if it's a standard user.

mattk
A: 

Had the same problem, mattk's answer seems to have resolved it.

My second agent PC was not part of a domain. During installation I selected account for the service and it went into the upgrade loop.

Stopped it and changed the service's log on account to point to local administrator and now it seems is connected and stable.

Sumod