I'm trying to get an artifact dependency working, but the artifact fails to get pushed to the agent (which is on another machine). The server (v8.1.1) is sitting behind an IIS reverse proxy.
[20:00:52]Skip checking for changes - changes are already collected
[20:00:53]Publishing internal artifacts (23s)
[20:00:53][Publishing internal artifacts] Sending using WebPublisher
[20:00:54][Publishing internal artifacts] Sending using ArtifactsCachePublisher
[20:00:53]Clearing temporary directory: Z:\BuildAgent\temp\buildTmp
[20:00:53]Checkout directory: Z:\BuildAgent\work\e4249c2d6a4e9e8d
[20:00:53]Resolving artifact dependencies (45s)
[20:00:53][Resolving artifact dependencies] Destination directory [Z:\BuildAgent\work\e4249c2d6a4e9e8d] cleaned
[20:01:38][Resolving artifact dependencies] Failed to resolve artifact dependency <MyProject :: Release Build, build #1.3.500.644 [id 735]>: Failure while downloading artifact list from server: [java.io.IOException - Failed to download [https://myserver/httpAuth/repository/download/bt3/735.tcbuildid/teamcity-ivy.xml]: Illegal status  while downloading https://myserver/httpAuth/repository/download/bt3/735.tcbuildid/teamcity-ivy.xml: Unauthorized] (jetbrains.buildServer.artifacts.ResolvingFailedException)
[20:01:38]Build failed to start. Artifacts will not be published for this build
The agent log also contains "WARN - jetbrains.buildServer.AGENT - "Authorization" header is not specifiedTo login manually go to "/login.html" page"
If I use the "Check artifact dependencies" button on the Dependencies settings page, everything is OK.
Can somebody tell me what I'm doing wrong here?