Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

ERROR while migrating maven repository from Jfrog Artifactory.



  • Hi,

    we are trying to migrate our maven2 repository from Jfrog Artifactory to ProGet. We are using this method https://docs.inedo.com/docs/proget/installation/migrating-to-proget/proget-jfrog-artifactory-feed-migration . After "Begin import" we are getting errors and no artifacts are migrated. It seems, that files are correctly pulled from artifactory, but there is some issue importing those into the ProGet.

    INFO : 2025-08-25 11:01:46Z - Importing Maven2 artifacts from an Artifactory server at https://artifactory.cross-ni.com/
    INFO : 2025-08-25 11:01:46Z - Connecting with an API key
    INFO : 2025-08-25 11:01:49Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.113117-187.jar...
    ERROR: 2025-08-25 11:01:51Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.113117-187.jar: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:51Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.113117-187.pom...
    ERROR: 2025-08-25 11:01:51Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.113117-187.pom: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:51Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.122348-188.jar...
    ERROR: 2025-08-25 11:01:53Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.122348-188.jar: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:53Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.122348-188.pom...
    ERROR: 2025-08-25 11:01:53Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250820.122348-188.pom: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:53Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072146-189.jar...
    ERROR: 2025-08-25 11:01:55Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072146-189.jar: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:55Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072146-189.pom...
    ERROR: 2025-08-25 11:01:55Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072146-189.pom: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:56Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072950-190.jar...
    ERROR: 2025-08-25 11:01:57Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072950-190.jar: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:57Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072950-190.pom...
    ERROR: 2025-08-25 11:01:57Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.072950-190.pom: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:57Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.113254-191.jar...
    ERROR: 2025-08-25 11:01:59Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.113254-191.jar: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:59Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.113254-191.pom...
    ERROR: 2025-08-25 11:01:59Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/bnet_get_gis_address_export_job-4.0-20250821.113254-191.pom: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:59Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/maven-metadata.xml...
    ERROR: 2025-08-25 11:01:59Z - Failed to import /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/4.0-SNAPSHOT/maven-metadata.xml: A valid Purl must be specified.
    INFO : 2025-08-25 11:01:59Z - Importing /bnet_get_gis_address_export_job/bnet_get_gis_address_export_job/maven-metadata.xml...


  • inedo-engineer

    Hi @bohdan-cech_2403,

    I wonder if there's some kind of issues with the artifacts. Can you try uploading some of those using the UI to ProGet?

    You can start with the POM file, then upload the JAR.

    That will hlep us identify what the issue might be.

    Thanks,
    Alana



  • It does not seem there is problem with artifacts itself. I have tried exactly this, insert those packages manualy and this works without any problems. We have like 40000 files in our repository and none is migrated.


  • inedo-engineer

    Hi @bohdan-cech_2403 ,

    In that case, the issue is in the importer -- maybe something with the API, it's really hard to say. This is a relatively new importer tool and we could only do so much testing.

    Can you provide us with credentials to try this and attach a debugger?

    You can share those to the earlier ticket or email to support at inedo dot com -- but we don't monitor the email, so just let us know when you do that.

    Thanks,
    Alana



  • Hi @atripp,

    just to chime in here: I am getting the same issues right now.
    Sadly, this is on an internal Artifactory that is not available to the public.

    I also found a small other issue with the importer (when using User/Password instead of Token). Where should I report that? (I got past that with the token login)


  • inedo-engineer

    Hi @wechselberg-nisboerge_3629 ,

    Sure we can fix the username/password at the same time...

    That said, if we don't hear back from @bohdan-cech_2403 then perhaps you can help by setting up a trial Artifactory cloud instance that ProGet fails to import from?

    We are neither Maven nor Artifactory experts (or users for that matter), so it's very likely we uploaded things "wrong" or are using such "basic" test files.

    Thanks,
    Alana



  • Hi,

    I am not sure, that I could help you with an instance here (sadly).

    Regarding the username/password issue:

    • It works fine up to the point of choosing the repository to mirror from. When I then click Start Import the UI returns a 500 and the following exception in the log
    An error occurred in the web application: Response status code does not indicate success: 403.
    
    URL: http://vl-dev-repo.ki.lan/feed/import/packages/importer?feedId=10&step=ConfirmImport&tempKey=PackageImport_V2_5b4cb993-1550-4ba4-be36-c557d48bb2c8
    Referrer: https://vl-dev-repo.ki.lan/feed/import/packages/importer?feedId=10&step=SelectImportFeedOptions&tempKey=PackageImport_V2_5b4cb993-1550-4ba4-be36-c557d48bb2c8
    User: Admin
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0
    Stack trace:    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
       at Inedo.ProGet.FeedImporters.Artifactory.ArtifactoryImportService.GetFilesAsync(String repositoryName, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E584854\Src\src\ProGet\FeedImporters\Artifactory\ArtifactoryImportService.cs:line 80
       at Inedo.ProGet.FeedImporters.Artifactory.ArtifactoryImportService.GetFilesAsync(String repositoryName, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
       at System.Linq.AsyncEnumerable.<CountAsync>g__Core|71_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Count.cs:line 41
       at System.Linq.AsyncEnumerable.<CountAsync>g__Core|71_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Count.cs:line 41
       at Inedo.ProGet.FeedImporters.FeedImportService.OptionsSummary.CreateInternalAsync(ArtifactoryImportService service, ArtifactoryImportOptions importOptions, FeedType feedType, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E584854\Src\src\ProGet\FeedImporters\FeedImportService.OptionsSummary.cs:line 33
       at Inedo.ProGet.WebApplication.Pages.Feeds.ImportWithImporterPage.<>c__DisplayClass19_0.<<CreateChildControlsAsync>g__confirmImport|5>d.MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E584854\Src\src\ProGet\WebApplication\Pages\Feeds\ImportPackagesOfTheNewPage.cs:line 291
    --- End of stack trace from previous location ---
       at Inedo.ProGet.WebApplication.Pages.Feeds.ImportWithImporterPage.CreateChildControlsAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E584854\Src\src\ProGet\WebApplication\Pages\Feeds\ImportPackagesOfTheNewPage.cs:line 79
       at Inedo.ProGet.WebApplication.Pages.ProGetSimplePage.InitializeAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E584854\Src\src\ProGet\WebApplication\Pages\ProGetSimplePage.cs:line 69
       at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
       at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
       at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
    
    ::Web Error on 08/27/2025 11:31:07::
    

    I am especially confused about the fact that it prints Windows paths, even though it is running as Linux Docker container.



  • @atripp

    Hi, I have sent credentials to our artifactory to the support email just now.

    Thanks,

    Bohdan


  • inedo-engineer

    Hi @bohdan-cech_2403 ,

    Thanks for sharing that; I can confirm receipt, reproduction, and fixing (PG-3105). If you'd like to try it, you can get the fix in 25.0.10-ci.2 - otherwise it'll be in the next maintenance release (next Friday).

    @wechselberg-nisboerge_3629 FYI I entered the url/username/password into ProGet, but I got the message "Failed to find any registries." So, I tried with curl and I got this:

    $> curl "https://artifactory.REDACTED.com/artifactory/api/repositories?type=local" --user support
    Enter host password for user 'support':
    {
      "errors" : [ {
        "status" : 401,
        "message" : "Artifactory configured to accept only encrypted passwords but received a clear text password, getting the encrypted password can be done via the WebUI."
      } ]
    }
    

    I have no idea what explains the different behavior. Anyway, I logged into the portal on that URL and generated some kind of key, and it let me connect.

    Thanks,
    Alana



  • @wechselberg-nisboerge_3629 said in ERROR while migrating maven repository from Jfrog Artifactory.:

    I am especially confused about the fact that it prints Windows paths, even though it is running as Linux Docker container.

    That one fooled me previously as well, but if you look carefully, those are source paths from their build-system
    e.g. C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\...


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation