Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCA9C7BFC for ; Tue, 1 Nov 2011 11:28:54 +0000 (UTC) Received: (qmail 58205 invoked by uid 500); 1 Nov 2011 11:28:54 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 58170 invoked by uid 500); 1 Nov 2011 11:28:54 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 58161 invoked by uid 99); 1 Nov 2011 11:28:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 11:28:54 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 11:28:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4B6D832C90D for ; Tue, 1 Nov 2011 11:28:32 +0000 (UTC) Date: Tue, 1 Nov 2011 11:28:32 +0000 (UTC) From: "Filipe Manana (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <1019615883.45283.1320146912310.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <862341370.43271.1320104012800.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1327) CLONE - remote to local replication fails when using a proxy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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