incubator-couchdb-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/COUCHDB-1327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145518#comment-13145518
] 

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: https://issues.apache.org/jira/browse/COUCHDB-1327
>             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":"http://isaacs.iriscouch.com/registry/",
"target":"registry", "proxy": "http://wwwgate0.myproxy.com:1080"}'
> This is the error:
> {"error":"json_encode","reason":"{bad_term,{nocatch,{invalid_json,<<>>}}}"}
> I have no clue about what's wrong, I can curl http://isaacs.iriscouch.com/registry/ directly
and it works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message