Why does HA propagation fails with error “Failed propagating event propagateTask”?

JFrog Support
2016-10-06 13:38

Artifactory HA may fail to replicate among HA nodes when the context.url in $ARTIFACTORY_HOME/etc/ha-node.properties ends with a ‘/’ (see our documentation for more details). As a result, you may see an error similar to below:

2015-12-02 10:08:01,760 [http-nio-8081-exec-8] [INFO ] (o.a.a.h.HaAddonImpl :259) – Propagating task to master [artifactory.org.artifactory.repo.replication.LocalReplicationJob#fc9da7f7-662e-45f3-be3d-c85bab413228]

2015-12-02 10:08:01,767 [http-nio-8081-exec-8] [ERROR] (o.a.a.h.p.HaPropagationServiceImpl:90) – Failed propagating event propagateTask to arti-emea1a-node-01 (http://111.222.333.444:8081/artifactory//api/ha/propagateTask): 404:Not Found

2015-12-02 10:08:01,767 [http-nio-8081-exec-8] [ERROR] (o.a.a.h.p.HaPropagationServiceImpl:114) – Error Propagate /api/ha/propagateTask to [arti-emea1a-node-01]

2015-12-02 10:08:01,768 [http-nio-8081-exec-8] [INFO ] (o.a.a.r.c.ReplicationDescriptorHandler:189) – Replication activated manually for repository 'demo.generic.local' #http://my-ha-node:8081/artifactory/repo-emea

Please remove the extra slash in the configuration to resolve the issue.