This came up on an internal mailing list and I wanted to make sure it got disseminated to a wider audience.
Using the built-in replicator in Sync Gateway to sync with CouchDB doesn't currently work because it expects the
bulk_get endpoint which has not been historically supported on CouchDB. (later CouchDB versions may have added support for bulk_get, but I don't know the status and it's definitely never been tested).
It would be possible to enhance the Sync Gateway replicator to support sync'ing with CouchDB, by falling back to individual GET requests when the bulk_endpoint returns a 404 error.
In the meantime though, you'll need to use the built-in CouchDB replicator to push the data to Sync Gateway. That should work, but even that might run into issues because it's not currently in our functional test matrix.