pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49306: svn fails to connect to dual stack server



>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
>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:



Home | Main Index | Thread Index | Old Index