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 8A96684DD for ; Tue, 30 Aug 2011 15:50:38 +0000 (UTC) Received: (qmail 95607 invoked by uid 500); 30 Aug 2011 15:50:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 95507 invoked by uid 500); 30 Aug 2011 15:50:36 -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 95499 invoked by uid 99); 30 Aug 2011 15:50:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 15:50:36 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcu-couchdb-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 15:50:30 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QyQZi-0002ZZ-Ib for user@couchdb.apache.org; Tue, 30 Aug 2011 17:50:07 +0200 Received: from mail.directorym.net ([38.97.124.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Aug 2011 17:50:06 +0200 Received: from feinberg.scott by mail.directorym.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Aug 2011 17:50:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@couchdb.apache.org From: Scott Feinberg Subject: Issues using 1.1's replication Date: Tue, 30 Aug 2011 15:44:01 +0000 (UTC) Lines: 46 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 38.97.124.170 (Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1) "user_ctx": { "name": "adminuser", "role": "[\"_admin\"]" }, "_replication_state": "error", "_replication_state_time": "2011-08-30T15:09:03+00:00", "_replication_id": "08fd9d6dcc5a0882fc9fd0d971b05938" } I've tried with user_ctx formatted the following ways-but haven't found the magic combo. "user_ctx": { "name": "adminuser", "role": "[\"_admin\"]" }, "user_ctx": { "name": "adminuser", "role": "["_admin"]" }, "user_ctx": { "name": "adminuser", "role": ["_admin"] }, "user_ctx": { "role": ["_admin"] }, For some reason, I can't get my replicator to work. The log continues to show "unauthorized to access database", referring to my localhost. I know I need to have user_ctx set, but for some reason it just doesn't like to work. I copied the info out of my source. I even created new admin users to try and fix the problem, none worked. Do I need to specify more roles for the user? The other has a good resource https://gist.github.com/832610, but the user_ctx he set's in the example isn't the admin user, the appear to just be random roles. Anyone have any experience with the CouchDB replicating to the localhost? Thanks, --Scott