Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D866810511 for ; Sat, 7 Sep 2013 16:26:05 +0000 (UTC) Received: (qmail 80273 invoked by uid 500); 7 Sep 2013 16:26:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 80231 invoked by uid 500); 7 Sep 2013 16:25:57 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 80223 invoked by uid 99); 7 Sep 2013 16:25:55 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Sep 2013 16:25:55 +0000 Received: from localhost (HELO mail-lb0-f171.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Sep 2013 16:25:54 +0000 Received: by mail-lb0-f171.google.com with SMTP id u14so3856353lbd.30 for ; Sat, 07 Sep 2013 09:25:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=YeJUNoK6FgKbLgiQw8+rjrTOU11b2MaAiEb3TXYe5Fk=; b=Zo40nXvr162x2U/JWzN4GiPWN3k58M8xp/PX6RNhHkgyhcwH4VRTwh5oSE/co4IQiT mU/8A4kh/TDrQknULW2GeVvPZRa4BeEkwy/GON/Zxlnnnz0i5tQpkocQ5dDlWUFFHcpP 0sT/ijnt8dmDF6NdpTRD5kESf/6SVgOUegYefafvPqslYizJCUXxfGfDE7/67yM75h8l 8Z2GZ8gI5KWgdw/elS3qO7I70B6GSpfwQum2Z84/ew3j/buIEN25752oHuZwi35hjmOC FCssnATLVnXygmTv5JqhWXMrykwPRYnSYzpveZMAx2DF73+3RjlOOt2nk/MYHIY2fuPA cBRw== MIME-Version: 1.0 X-Received: by 10.112.168.170 with SMTP id zx10mr7973827lbb.0.1378571152270; Sat, 07 Sep 2013 09:25:52 -0700 (PDT) Received: by 10.112.211.228 with HTTP; Sat, 7 Sep 2013 09:25:52 -0700 (PDT) In-Reply-To: References: Date: Sat, 7 Sep 2013 17:25:52 +0100 Message-ID: Subject: Re: Replication through proxy does not work? From: Robert Newson To: "user@couchdb.apache.org" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, Replicating through a proxy should be working just fine, more likely it's a problem with the proxy itself. What are you using? B. On 7 September 2013 02:18, Chung, Yang wrote: > Hey guys, > > I've been trying to replicate certain database from external source to lo= cal destination using proxy, and it keeps failing with the following error = message. > > {"error":"db_not_found","reason":"could not open [EXTERNAL SOURCE COUCHDB= ]"} > > It works fine, though, if I remove "proxy" key. > > {"ok":true,"no_chagne":=85..} > > I am making a POST request to 'http://localhost:5984/_replicate' with the= following JSON data. > > { > "source":[EXTERNAL SOURCE], > "target":"http://admin_user:admin_password@127.0.0.1:5984/my_test", > "create_target":false, > "continuous":false, > "doc_ids":["id1", "id2"], > "proxy":[PROXY ADDRESS:PORT] > } > > Is there known bug for replicating via proxy? Or can it be a configuratio= n issue on my proxy server? > > Any help would be much appreciated. > > Thank you! > E-mail confidentiality. > -------------------------------- > This e-mail contains confidential and / or privileged information belongi= ng to Spirent Communications plc, its affiliates and / or subsidiaries. If = you are not the intended recipient, you are hereby notified that any disclo= sure, copying, distribution and / or the taking of any action based upon re= liance on the contents of this transmission is strictly forbidden. If you h= ave received this message in error please notify the sender by return e-mai= l and delete it from your system. > > Spirent Communications plc > Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United King= dom. > Tel No. +44 (0) 1293 767676 > Fax No. +44 (0) 1293 767677 > > Registered in England Number 470893 > Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9X= N, United Kingdom. > > Or if within the US, > > Spirent Communications, > 26750 Agoura Road, Calabasas, CA, 91302, USA. > Tel No. 1-818-676- 2300