Introduction Organizations looking to migrate their Nexus repositories to Artifactory are facilitated with the transition using the Nexus Migrator tool by JFrog. Some of the users using the migrator tool might run into the following error while executing the migration process:
[ERROR] :Failed to fetch Nexus version. Provide Nexus URL as http://<private-ip>:<port>/<context>. Ignore context if set to root
The reason for this error message is the parameter ‘Nexus Repository URL’ in the interactive script requires that the URL reaches Nexus directly to resolve the version. The URL should point to the Nexus application port and not the proxy port. If there is a reverse proxy or redirect, it may not work properly as highlighted in the migration tool documentation. Resolution Bypass the reverse proxy or redirect and configure the tool to use ‘Nexus Repository URL’ directly as ‘http://<private-ip>:<port>’. Note: If the port mapping needs to be done for the Nexus installation separately, this will be an additional step required.
This should help execute the migration tool successfully. Example snippet of a successful run:
![]()