I had exactly the same problem as you, and fixed it by completely ignoring that error message and saving the repository. To reiterate:
- Ensure you have the correct path to the remote repository, eg:
http://host:8080/artifactory/libs-release-local/
- Click Test, and you'll get the
Connection failed with exception: Circular redirect to
- Ignore this! - Click Save
Note: different versions of Artifactory have slightly different paths/URLs. This caused me a little grief.
Remote Repository Settings
I guess it's worth mentioning that I needed to specify the local proxy server (TdmsProxy).
Also, to confirm that you've got the correct path to the remote instance, check that you can receive a POM via the browser (or wget
) from it, eg:
http://your-remote-repo:8080/artifactory/libs-releases-local/com/company/area/project/version/project-version.pom
Once, you've received the POM, just use the first part of the URL, eg:
http://your-remote-repo:8080/artifactory/libs-releases-local/
(I realise you've probably checked your path at least 10 times, but this bit me!)