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 32E699268 for ; Mon, 10 Sep 2012 03:54:45 +0000 (UTC) Received: (qmail 94601 invoked by uid 500); 10 Sep 2012 03:54:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94495 invoked by uid 500); 10 Sep 2012 03:54:39 -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 94484 invoked by uid 99); 10 Sep 2012 03:54:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 03:54:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FSL_RCVD_USER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.97.235.45] (HELO krypton.lunarpages.com) (216.97.235.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 03:54:31 +0000 Received: from localhost ([127.0.0.1]:44259 helo=solarapex.com) by krypton.lunarpages.com with esmtpa (Exim 4.77) (envelope-from ) id 1TAv4c-0000Kq-Ea for user@couchdb.apache.org; Sun, 09 Sep 2012 20:54:10 -0700 Received: from 24.63.141.87 ([24.63.141.87]) (SquirrelMail authenticated user aleoo@solarapex.com) by solarapex.com with HTTP; Sun, 9 Sep 2012 23:54:10 -0400 Message-ID: <3f0dd15fc31c6bd41a427d5ecb8356ec.squirrel@solarapex.com> Date: Sun, 9 Sep 2012 23:54:10 -0400 Subject: Can't kill continuous replication on Windows From: "Alex G" To: user@couchdb.apache.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - krypton.lunarpages.com X-AntiAbuse: Original Domain - couchdb.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - solarapex.com I set up a continuous replication between two databases - 1 on Mac, 1 on Windows. The Windows box runs the process. The source is Mac, the destination is Windows. I try to kill that replication using curl with no luck. Command line: curl -H "Content-Type: application/json" -d @cancel2 -X POST http://localhost:5984/_replicate where cancel2 is a file with the following contents: {"replication_id": "myreplicationidfromactivetasks+continuous", "cancel": "true"} CouchDB spits this into the log: [Mon, 10 Sep 2012 03:26:38 GMT] [info] [<0.22989.0>] Stacktrace: [{couch_replicator_utils,parse_rep_doc,2, [{file, "d:/relax/couchdb/src/couchdb/couch_replicator_utils.erl"}, {line,35}]}, {couch_httpd_replicator,handle_req,1, [{file, "d:/relax/couchdb/src/couchdb/couch_httpd_replicator.erl"}, {line,34}]}, {couch_httpd,handle_request_int,5, [{file, "d:/relax/couchdb/src/couchdb/couch_httpd.erl"}, {line,317}]}, {mochiweb_http,headers,5, [{file, "d:/relax/couchdb/src/mochiweb/mochiweb_http.erl"}, {line,136}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}] [Mon, 10 Sep 2012 03:26:38 GMT] [error] [<0.22989.0>] Uncaught server error: {badarg,<<"true">>} [Mon, 10 Sep 2012 03:26:38 GMT] [info] [<0.22989.0>] 127.0.0.1 - - POST /_replicate 500 curl output is not helpful: {"error":"badarg","reason":"true"} Both databases are secured by an admin account. I tried to provide source/destination/continuous/cancel in different permutations. Still no luck. Any ideas? P.S: Love CouchDB! Thank you your contributions!