couchbaselabs/TouchDB-iOS — Issue #41: Haven't figured out how to replicate into TouchDB
Author: natevw
Created: 2012-02-12 00:36:57+00:00
State: open

Hi Jens!

I'm trying to get a start with TouchDB by replicating some data into it to play with, but so far haven't found success. I'm using the TouchServ thing for easy bootstrapping.

Doing a push replication from CouchDB's Futon interface to http://localhost:59840/loctest fails with a huge bunch of Erlang gobbledegook in the logs: https://gist.github.com/1805312

Doing a pull replication via TouchServ gets off to a promising start:

curl -X POST http://127.0.0.1:59840/_replicate -d '{"source":"http://localhost:5984/loctest", "target":"loctest"}' -H "Content-Type: application/json"
{
"session_id" : "repl001"
}

...but then doesn't seem to actually do anything. I don't see any activity in the source CouchDB log or in TouchServ's Xcode debug window (just "[36m16:24:53.796| [93m[0mTouchServ 0.5 is listening on port 59840 ... relax!").

Any idea what I might be doing wrong here?