From dev-return-19132-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Mon Nov 7 14:19:20 2011 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 49C3E7F6B for ; Mon, 7 Nov 2011 14:19:20 +0000 (UTC) Received: (qmail 18996 invoked by uid 500); 7 Nov 2011 14:19:19 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 18969 invoked by uid 500); 7 Nov 2011 14:19:19 -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 18961 invoked by uid 99); 7 Nov 2011 14:19:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 14:19:19 +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; Mon, 07 Nov 2011 14:19:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9EA8638E3A for ; Mon, 7 Nov 2011 14:18:51 +0000 (UTC) Date: Mon, 7 Nov 2011 14:18:51 +0000 (UTC) From: "Filipe Manana (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <226316892.6667.1320675531651.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 X-Virus-Checked: Checked by ClamAV on apache.org [ 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