1

I am using TeamCity 9.0.1. The TC server was just migrated from another machine, and now none of my build agents can publish artifacts. They show the following error in the build log:

[11:40:20][Publishing artifacts] Publishing using [WebPublisher]
[11:40:20][Publishing artifacts] Publishing using [ArtifactsCachePublisher]
[11:40:22][Publishing artifacts] Failed to publish artifacts: Authentication required
To login manually go to "/login.html" page

The server is behind an nginx reverse proxy. The server has LDAP, Built-in and Basic HTTP auth modules installed. How do agents authenticate with the server and why would it fail with this message? The builds seem to run just fine, they only can't upload the artifacts.

OfficerJoe
  • 45
  • 1
  • 9

1 Answers1

0

Are your agents running under a specific user account, or are you using System account for agent/server processes ?

If so, you might want to consider using a specific (service) user for the process, that way you can be sure that these are no restrictions from the build agent to the server communication.

Martin Basista
  • 124
  • 1
  • 6