Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1DB4D189DC for ; Sun, 7 Feb 2016 00:22:10 +0000 (UTC) Received: (qmail 85474 invoked by uid 500); 7 Feb 2016 00:22:09 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 85442 invoked by uid 500); 7 Feb 2016 00:22:09 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 85426 invoked by uid 99); 7 Feb 2016 00:22:09 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2016 00:22:09 +0000 Received: by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org, from userid 3316) id 5A0651A0019; Sun, 7 Feb 2016 00:22:09 +0000 (UTC) Date: Sun, 07 Feb 2016 00:22:08 +0000 From: Daniel Shahaf To: Rick Varney Cc: users@subversion.apache.org Subject: Re: Problem setting up authz on svnserve Message-ID: <20160207002208.GB25226@tarsus.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Rick Varney wrote on Fri, Feb 05, 2016 at 09:31:40 -0800: > Errors I see in my svnserve.log that *may* be related are: > > 28207 2016-02-03T18:31:50.113582Z xxx.xx.xx.xxx - - ERR - 0 210002 Network > connection closed unexpectedly > > 28540 2016-02-03T18:50:55.871361Z xxx.xx.xx.xxx - - ERR - 0 104 Can't read > from connection: Connection reset by peer > > But these only occurred rarely, and not each time I tried to access the > repo and got the above client error. > You can do 'svnserve --foreground -d --root=/path/to/repos --listen-port=3691 --log-file=/dev/stdout' and test against that svnserve instance to ensure the log messages are related to a particular client action. (You can run multiple instances in parallel.) > At this point I'm stuck. Am I doing anything obviously wrong? > > Any suggestions on how I can debug this? If *both* sides see a "Network connection closed unexpectedly" error at the same time, I would suspect a firewall or proxy or a network misconfiguration. (That said, I don't see how enabling path-based authz would affect the on-the-wire traffic, given that anon-access=none is set.) Try 'svnauthz accessof' and check that your user is reported as "r" or "rw". Try 'svn info svn://localhost' locally on the server: does it fail in the same way as on the client? Cheers, Daniel P.S. If you don't have /dev/stdout you can use --log-file=/dev/fd/1 or --log-file=$(tty).