During the Artifactory initialisation, the artifactory-service.log file would return an error message of the following kind. This error indicates a conflicting entry of the Federated Members registered with the Artifactory instance.
Caused by: java.lang.IllegalStateException: Duplicate key https://<ARTIFACTORY_HOSTNAME>:<PORT>/artifactory/<REPOSITORY_NAME> (attempted merging values org.jfrog.storage.binstore.ifc.BinaryStoreFederatedMember@624ddafc
Where the existence of such a configuration conflict can be verified?
I have shared a sample configuration snippet highlighting the duplicate entries.
This configuration would be available in the Artifactory’s Config Descriptor (
- Use the repository reference indicated in the log snippet.
- Search for the conflicting entries from the Config Descriptor.
- Remove the duplicate snippet and for the changes to be deployed, we need to Bootstrap the configuration file using the instructions defined here.
Note: A restart of the Artifactory is required for the configuration update to take effect. This issue arises in rare scenarios where automation is involved for provisioning the Artifactory repositories that attempt to send creation requests on a loop/concurrent basis, at a specific point in time.