couchdb-replication mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: Error:not found
Date Fri, 03 Oct 2014 16:50:35 GMT

> On Oct 3, 2014, at 9:41 AM, Sundar Sankarnarayanan <Sundar.Sankarnarayanan@aexp.com.INVALID>
wrote:
> 
> curl -X POST http://admin:admin123@127.0.0.1:5984/_replicate -d '{"source":"https://skimdb.npmjs.com/registry",
"target":"http://admin:admin123@127.0.0.1:5984/registry", "continuous":true, "create_target":true,
"cancel":true}' -H "Content-Type: application/json"

Why did you add "cancel":true? That's to cancel an existing replication. If there's no replication
with those parameters already running, the 404 error is expected. Try taking out the cancel
property.

—Jens
Mime
View raw message