couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1327) CLONE - remote to local replication fails when using a proxy
Date Mon, 07 Nov 2011 14:18:51 GMT


Filipe Manana commented on COUCHDB-1327:

Eliseo, I get the same issue as you.

I confirmed that the receiving side no longer receives documents with empty ID (or an ID consisting
of white spaces only). What happens is that the response to some document GETs is empty, which
makes the replicator since it expects a non-empty JSON body.
I think this is an issue either with the http client's pipeline implementation.

Setting "max_http_pipeline_size" to 1 in the .ini config works, but the replication will be
very very slow, since that particular database has many large attachments. The replicator
in the 1.2.x branch (or master) is way faster for this database.

Let me know if it works for you.
> CLONE - remote to local replication fails when using a proxy
> ------------------------------------------------------------
>                 Key: COUCHDB-1327
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 1.1.2
>            Reporter: Eliseo Soto
> The following is failing for me:
> curl -X POST -H "Content-Type:application/json" http://localhost:5984/_replicate -d '{"source":"",
"target":"registry", "proxy": ""}'
> This is the error:
> {"error":"json_encode","reason":"{bad_term,{nocatch,{invalid_json,<<>>}}}"}
> I have no clue about what's wrong, I can curl directly
and it works.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message