Unable to HTTPS to svn.freebsd.org

Peter Grant freebsd-questions-2 at voidcaptain.com
Wed Jul 29 20:31:55 UTC 2015


Peter Wemm wrote on 07/22/2015 01:57 PM:

> * https://svn.freebsd.org now has a real certificate and use of https is
> encouraged.

I can't connect to svn.freebsd.org using HTTPS, although SVN works fine. 
I have the seemingly-identical problem on more than one machine, so 
whatever I broke, I did it consistently.

This is the error I get:

# svn relocate svn:// https://
svn: E000043: Unable to connect to a repository at URL 
'https://svn.freebsd.org/base/releng/9.3'
svn: E000043: Error running context: Protocol not supported

I don't think it's a problem with HTTPS on the machine or a firewall 
problem because connecting to https://svn.freebsd.org/base/releng/9.3 
works perfectly well in lynx.

Here's what I did to try to debug/fix it:

# rm -r /root/.subversion
# cd /usr/src
# pkg install -f subversion 
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
         subversion-1.8.13_2

2 MiB to be downloaded.

Proceed with this action? [y/N]: y
Fetching subversion-1.8.13_2.txz: 100%    2 MiB   2.7MB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Reinstalling subversion-1.8.13_2...
[1/1] Extracting subversion-1.8.13_2: 100%
# rehash
# make -C /usr/ports/devel/subversion showconfig | grep SERF
      SERF=on: WebDAV/Delta-V (HTTP/HTTPS) repo access module
# svn --version
svn, version 1.8.13 (r1667537)
    compiled Jul  3 2015, 02:03:01 on i386-portbld-freebsd9.3

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.8
   - handles 'http' scheme
   - handles 'https' scheme

# pkg info | grep -i serf
serf-1.3.8                     Serf HTTP client library
# svn info
Path: .
Working Copy Root Path: /usr/src93/src
URL: svn://svn.freebsd.org/base/releng/9.3
Relative URL: ^/releng/9.3
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 286032
Node Kind: directory
Schedule: normal
Last Changed Author: delphij
Last Changed Rev: 285980
Last Changed Date: 2015-07-28 19:59:22 +0000 (Tue, 28 Jul 2015)

# svn up
Updating '.':
At revision 286035.
# svn relocate svn:// https://
svn: E000043: Unable to connect to a repository at URL 
'https://svn.freebsd.org/base/releng/9.3'
svn: E000043: Error running context: Protocol not supported
# punt
punt: Command not found.


All ideas or suggestions appreciated.



More information about the freebsd-questions mailing list