Harbor replication to JFrog OCI Artifactory fails with 403 Forbidden
search cancel

Harbor replication to JFrog OCI Artifactory fails with 403 Forbidden

book

Article ID: 405369

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

When trying to replicate Harbor to jFrog OCI type repository, Here is a sample replication rule:

This is unsuccessful. Looking into Harbor core.log you can see error:

Jul 22 11:15:43 PLLOD01-DC-0907-SC01.networks.dell.com core[834393]: 2025-07-22T11:15:43Z [ERROR] [/pkg/reg/adapter/jfrog/adapter.go:144]: Create Namespace <namespace> error: http error: code 403, message {
Jul 22 11:15:43 PLLOD01-DC-0907-SC01.networks.dell.com core[834393]:   "errors" : [ {
Jul 22 11:15:43 PLLOD01-DC-0907-SC01.networks.dell.com core[834393]:     "status" : 403,
Jul 22 11:15:43 PLLOD01-DC-0907-SC01.networks.dell.com core[834393]:     "message" : "Forbidden"
Jul 22 11:15:43 PLLOD01-DC-0907-SC01.networks.dell.com core[834393]:   } ]
Jul 22 11:15:43 PLLOD01-DC-0907-SC01.networks.dell.com core[834393]: }

 

Environment

Harbor version 2.11.0 and earlier

Resolution

As of date of writing of this KB, the latest version of Harbor is version 2.11.0 and earlier version only supports jFrog repository type docker.

Other types such as oci, helm, yum, debian etc is not supported.

Additional Information

There is a plan to support other jFrog repository types and you can check the progress on this github issue.