ARTIFACTORY: How to configure a remote PyPi repository to proxy a local Nexus PyPi repository

ARTIFACTORY: How to configure a remote PyPi repository to proxy a local Nexus PyPi repository

AuthorFullName__c
Hanan Kemelman
articleNumber
000005426
ft:sourceType
Salesforce
FirstPublishedDate
2022-10-12T15:55:45Z
lastModifiedDate
2022-10-12
VersionNumber
3

To configure an Artfactory PyPi remote repository to proxy a local Nexus PyPi Repository please follow these steps:

  1. Create a new remote PyPi repository
  2. Configure the URL as follows: “https://$<NEXUS_URL>/repository/$<NEXUS_REPOSITORY_NAME>
  3. Configure the “Registry URL” with the same URL
  4. If credentials are required to resolve from the remote repository, configure them as well. If anonymous access is enabled, the credentials can be left blank.
User-added image
If the repository was previously configured differently, delete the remote cache as some of the metadata files might be corrupted.

To troubleshoot and inspect the outgoing requests, you may search the “artifactory-request-out.log” for the remote repository name.
The log file is located under the Artifactory log directory. The default location is “/var/opt/jfrog/artifactory/log”