* on ubuntu 12.04 using couchdb 1.0.1
Doing this fails – Pulling replication from the slave server:
$ curl -X POST http://localhost:5984/_replicate -H "Content-Type: application/json" -d '{"source":"http://192.168.1.100:5984/chef","target":"chef","continuous":false}' {"error":"http_request_failed","reason":"failed to replicate http://192.168.1.100:5984/chef/"}
Relevant Logs:
From the slave couchdb logs trying to pull replication:
https://gist.github.com/3019911
Example of the couchdb table from the master running: curl http://192.168.1.100:5984/chef/
https://gist.github.com/3020474
From the master couchdb logs:
https://gist.github.com/3020547
Doing this works – Pushing Replication from the master to the slave:
$ curl -X POST http://localhost:5984/_replicate -H "Content-Type: application/json" -d '{"target":"http://192.168.1.11:5984/chef","source":"chef","continuous":false}' {"ok":true,"session_id":"7a0c0632a92e68983b3d0a2d07c47dd8","source_last_seq":23,"history":[{"session_id":"7a0c0632a92e68983b3d0a2d07c47dd8","start_time":"Fri, 29 Jun 2012 21:21:22 GMT","end_time":"Fri, 29 Jun 2012 21:21:22 GMT","start_last_seq":0,"end_last_seq":23,"recorded_seq":23,"missing_checked":0,"missing_found":3,"docs_read":3,"docs_written":3,"doc_write_failures":0}]}