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 381A5980A for ; Mon, 2 Apr 2012 12:52:21 +0000 (UTC) Received: (qmail 95035 invoked by uid 500); 2 Apr 2012 12:52:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94987 invoked by uid 500); 2 Apr 2012 12:52:19 -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 94979 invoked by uid 99); 2 Apr 2012 12:52:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 12:52:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_BELOW2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dave@muse.net.nz designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vb0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 12:52:12 +0000 Received: by vbzb23 with SMTP id b23so2296717vbz.11 for ; Mon, 02 Apr 2012 05:51:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding :x-gm-message-state; bh=1/EZsaTqHLStYbeXylBBqcc/j4RTMl6e6hS0ospt2SA=; b=W1r9FOx/AWR97Wd/zphTj8Weivrnq15rFcouC4DPdeQiQRLwv0pZncxGdQTH+fe7oR HJof0VQNarYyi4o3+/QS3a6DTolK5VDgsINVDmnC/Eje/Se0Ymnu4g9Y9GXZYzHxHAEZ FRnPuM+JO+FtAP9gwPL4zPNq6MRoWXX+2dCVTMc11IkVoWefeekhJdvLRjcKHajZTLtr eM2Yyb945FIaMKszvwpHTMxj7dbceWSK1DWU2xMYbZnXOEa0WRbBw2fWeXWJvwcP0QO8 ILiI7ec4LA2Eq0rAnvOcviWgLNARdImVvp7rr/57EYnPOPLfoWzTtiBk3F127eFfQqE5 ZroQ== MIME-Version: 1.0 Received: by 10.52.21.51 with SMTP id s19mr3212645vde.35.1333371109162; Mon, 02 Apr 2012 05:51:49 -0700 (PDT) Received: by 10.52.107.233 with HTTP; Mon, 2 Apr 2012 05:51:49 -0700 (PDT) X-Originating-IP: [84.112.19.176] In-Reply-To: <4F799659.2030301@ericsson.com> References: <4F799659.2030301@ericsson.com> Date: Mon, 2 Apr 2012 14:51:49 +0200 Message-ID: Subject: Re: "proxy" parameter in Replicate request is not working From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlOmw8PmvWETpgIKC8pAd9/16ZSlbJwnWU4X0c4ADw9frh1b4wZ5KFT8dcaQd2Rm97NXjRL On 2 April 2012 14:06, esasisa wrote: > Hi, > > I am using couchdb 1.0.2 on CentOS Server, > > Trying to replicate with tow =A0couchdb instance using pull mechanism, on > instance is running on Internet and another is running on intra net behin= d a > proxy (firewall). > I am using bellow command for Replication - > > sudo curl -i -H "Content-Type: application/json" -X POST > http:///_replicate -d > '{"source":"","target":"", > "proxy":""}' That looks ok to me. Can you re-run with curl -v and provide the redacted output? BTW you don't need sudo for curl. > httpd 500 error response: > =A0{"error":"case_clause","reason":"{error,\n =A0 =A0{{{badmatch,\n.... Can you post the full erlang backtrace in couch.log to friendpaste.com or similar, after re-running the curl? > Please help me and reply back ASAP Generally we do this without asking ;-). Also your 1.0.2 couch version is quite old, replication is further improved in 1.1.1 and again in the almost-released 1.2.0. Consider upgrading soon! A+ Dave