Failed to publish artifacts: Authentication required

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:

[Publishing artifacts] Publishing using [WebPublisher]
[11:40:20][Publishing artifacts] Publishing using [ArtifactsCachePublisher]
[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.

Thanks in advance for any suggestions!

1 comment
Comment actions Permalink

From e-mail conversation: issue was resolved after configuring proper proxy settings in TeamCity.


Please sign in to leave a comment.