Unable to start cross cluster replication

I am getting below error when trying to start replication using the curl command.
I have installed the cross cluster plugin on both the clusters.
I am able to cross cluster connectivity as mentioned in step (cross-cluster-replication/HANDBOOK.md at main · opendistro-for-elasticsearch/cross-cluster-replication · GitHub)

I skipped the security steps after that as I have removed the security plugin.
I added the index and data in the leader cluster.
After that when I try to start the replication at follower I get below error response.
Any help is appreciated.

curl -X PUT
https://${FOLLOWER}/_opendistro/_replication/follower-01/_start?pretty”
-H ‘Content-type: application/json’
-d ‘{“remote_cluster”:“leader-cluster”, “remote_index”: “leader-01”}’

Error:
{
“error”: “no handler found for uri [/_opendistro/_replication/follower-01/_start?pretty] and method [PUT]”
}

1 Like