What can be the reason replication is not visible for Artifactory in Mission Control?

Yonatan Brand
2019-07-22 08:53

If you are unable to see Artifactory replications in Mission-Control (see below screenshot), this can due to a misconfiguration on the Artifactory side, and not necessarily in Mission-Control.
In most cases when we experience this behaviour we can see in Mission-Control logs the following error: 
 
2019-06-26 00:20:05.183 [pool-3-thread-1] [ERROR] (o.j.m.s.c.p.ConnectionProviderService:37) – Connection provider org.jfrog.mc.service.connection.provider.ReplicationConnectionProvider@66bacdbc could not get connections.
java.lang.IllegalArgumentException: Package type 'vagrant' is not supported in virtual repositories
        at org.jfrog.artifactory.client.model.impl.RepositoryBuilderBase.validate(RepositoryBuilderBase.java:115)
        at org.jfrog.artifactory.client.model.impl.VirtualRepositoryBuilderImpl.build(VirtualRepositoryBuilderImpl.java:57)
        at org.jfrog.artifactory.client.model.impl.VirtualRepositoryBuilderImpl.build(VirtualRepositoryBuilderImpl.java:16)
        at org.jfrog.artifactory.client.model.builder.RepositoryBuilder$build$1.call(Unknown Source)
        at org.jfrog.artifactory.client.parser.ConfigDescriptorParser.buildVirtualRepo(ConfigDescriptorParser.groovy:117)
        at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)

The above error shows that we have configured a virtual repository for a package type that does not support virtual repositories
This scenario can happen when we create a repository using the REST API. This issue is documented in our public JIRA here

To resolve the issue, update the repository from virtual to either local or remote.