NetBSD Problem Report #49306

From www@NetBSD.org  Wed Oct 22 19:37:04 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E5850A66A6
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 22 Oct 2014 19:37:04 +0000 (UTC)
Message-Id: <20141022193703.99343A66A9@mollari.NetBSD.org>
Date: Wed, 22 Oct 2014 19:37:03 +0000 (UTC)
From: uwe@NetBSD.org
Reply-To: uwe@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: svn fails to connect to dual stack server
X-Send-Pr-Version: www-1.0

>Number:         49306
>Category:       pkg
>Synopsis:       svn fails to connect to dual stack server
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 22 19:40:00 +0000 2014
>Last-Modified:  Sat Oct 25 05:25:02 +0000 2014
>Originator:     Valery Ushakov
>Release:        pkgsrc-2014Q3
>Organization:
>Environment:
NetBSD pony 6.1.5 NetBSD 6.1.5 (GENERIC) macppc

>Description:
Summary is a bit misleading, but I can't quite cram the description of
the problem into one sentence.

What you need is

1) an svn client machine that only has IPv4 connectivity
2) an svn server with certificate that cannot be validated by default
3) an svn server that has both IPv4 and IPv6 addresses

>How-To-Repeat:
On a machine without IPv6 connectivity try:

  $ svn info https://svn0.ru.FreeBSD.org/base/head
  svn: E000065: Unable to connect to a repository at URL 'https://svn0.ru.freebsd.org/base/head'
  svn: E000065: Error running context: No route to host

I do see IPv4 connection attempt.  It's successful as a TCP
connection, but fails as HTTPS because server certificate cannot be validated (Issuer: clusteradm, FreeBSD.org, CA, US)

E.g. trying that svn info with explicit IPv4 address
of svn0.ru.freebsd.org:

  $ svn info https://77.88.40.110/base/head
  Error validating server certificate for 'https://77.88.40.110:443':
  ...

The svn version is:

  $ svn --version
  svn, version 1.8.10 (r1615264)
     compiled Oct 21 2014, 01:45:37 on powerpc--netbsd

  Copyright (C) 2014 The Apache Software Foundation.
  This software consists of contributions made by many people;
  see the NOTICE file for more information.
  Subversion is open source software, see http://subversion.apache.org/

  The following repository access (RA) modules are available:

  * ra_svn : Module for accessing a repository using the svn network protocol.
    - handles 'svn' scheme
  * ra_local : Module for accessing a repository on local disk.
    - handles 'file' scheme
  * ra_serf : Module for accessing a repository via WebDAV protocol using serf.
    - using serf 1.3.7
    - handles 'http' scheme
    - handles 'https' scheme

>Fix:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/49306: svn fails to connect
Date: Sat, 25 Oct 2014 05:23:51 +0000

 For the record, this might be the same as 30521.

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.