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 Tue, 01 Nov 2011 11:28:32 GMT

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

Filipe Manana commented on COUCHDB-1327:
----------------------------------------

Eliseo, the replication proxy feature had bugs in the Apache CouchDB 1.0.1 release. They were
corrected in 1.0.2.

Also, as Jason said, you're also hitting a bug where the source database has a document with
an empty ID which makes it crash the replicator. The only Apache release with a fix for this
is 1.1.1 (you should use it, as it fixes many other issues).

Try 1.1.1 and reopen this ticket if the proxy feature is still not working fine.
                
> 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