ARTIFACTORY: How to resolve the error "Failed to fetch Nexus version. Provide Nexus URL as http://<private-ip>:<port>/<context>", while using JFrog Migrator Tool

ARTIFACTORY: How to resolve the error "Failed to fetch Nexus version. Provide Nexus URL as http://<private-ip>:<port>/<context>", while using JFrog Migrator Tool

Products
Frog_Artifactory
Content Type
User_Guide
AuthorFullName__c
Reddappa G
articleNumber
000006450
FirstPublishedDate
2025-05-22T06:37:11Z
lastModifiedDate
2025-05-21
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
User-added image 
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. 
User-added image 

This should help execute the migration tool successfully. 
Example snippet of a successful run: 
User-added image