Bug 200951

Summary: SVN mirrors are unreachable by those who prefer IPv6
Product: Services Reporter: Andrew Berg <berg2839>
Component: Core InfrastructureAssignee: Cluster Admin <clusteradm>
Status: Closed Unable to Reproduce    
Severity: Affects Some People CC: sbruno
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Andrew Berg 2015-06-18 11:41:39 UTC
Due to the SVN mirrors no longer listening on IPv6 and an apparent bug in serf that keeps it from trying IPv4 ( https://code.google.com/p/serf/issues/detail?id=146 ), it is impossible to access the SVN mirrors via svn (or svnlite) by anyone who tries IPv6 first.

# svn switch http://svn0.us-east.freebsd.org/base/stable/10/ /usr/src
svn: E000064: Unable to connect to a repository at URL 'http://svn0.us-east.freebsd.org/base/stable/10'
svn: E000064: Error running context: Host is down

# curl -I -6 http://svn0.us-east.freebsd.org/base/stable/10/
curl: (7) Failed to connect to svn0.us-east.freebsd.org port 80: Host is down

# curl -I -4 http://svn0.us-east.freebsd.org/base/stable/10/
HTTP/1.1 200 OK
...


I have tried for all 4 mirrors, and get the same results for all of them.
Comment 1 Sean Bruno freebsd_committer freebsd_triage 2015-06-20 13:25:37 UTC
I can't seem to make this happen from external hosts.  Maybe we need a traceroute here?

%curl -I -6 http://svn0.us-east.freebsd.org/base/stable/10/
HTTP/1.1 200 OK
Date: Sat, 20 Jun 2015 13:24:45 GMT
Server: Apache
Last-Modified: Sat, 20 Jun 2015 08:28:47 GMT
ETag: W/"284634//stable/10"
Accept-Ranges: bytes
Content-Type: text/html; charset=UTF-8

%curl -I -4 http://svn0.us-east.freebsd.org/base/stable/10/
HTTP/1.1 200 OK
Date: Sat, 20 Jun 2015 13:24:51 GMT
Server: Apache
Last-Modified: Sat, 20 Jun 2015 08:28:47 GMT
ETag: W/"284634//stable/10"
Accept-Ranges: bytes
Content-Type: text/html; charset=UTF-8

%curl -I -6 http://svn.freebsd.org/base/stable/10/
HTTP/1.1 200 OK
Date: Sat, 20 Jun 2015 13:25:04 GMT
Server: Apache
Last-Modified: Sat, 20 Jun 2015 08:28:47 GMT
ETag: W/"284634//stable/10"
Accept-Ranges: bytes
Content-Type: text/html; charset=UTF-8
Comment 2 Sean Bruno freebsd_committer freebsd_triage 2015-06-20 13:27:41 UTC
traceroute6 to svn.freebsd.org (2001:1900:2254:2068::e6a:0) from 2607:f4e8:12:fffc:230:48ff:fe9f:7adc, 64 hops max, 12 byte packets
 1  ve3.fr3.phx3.ipv6.llnw.net  0.196 ms  0.171 ms  0.122 ms
 2  tge13-2.fr4.phx2.ipv6.llnw.net  9.819 ms  0.347 ms  0.297 ms
 3  tge9-3.fr4.lax.ipv6.llnw.net  8.871 ms  8.880 ms  8.872 ms
 4  10gigabitethernet1-3.core1.lax1.he.net  9.394 ms  27.261 ms  58.551 ms
 5  100ge15-1.core1.sjc2.he.net  16.555 ms  24.754 ms  24.916 ms
 6  PAT2.SJC.yahoo.com  36.481 ms  36.378 ms
    eqnx.pat1.sj6.yahoo.com  36.163 ms
 7  bgp0.ysv.freebsd.org  36.330 ms  36.236 ms  36.355 ms
 8  routerer.v104.ysv.freebsd.org  36.585 ms  36.560 ms  36.667 ms
 9  svn.freebsd.org  37.599 ms  37.536 ms  37.442 ms
%traceroute6 svn0.us-east.freebsd.org
traceroute6 to svnmir.nyi.freebsd.org (2610:1c1:1:606c::e6a:0) from 2607:f4e8:12:fffc:230:48ff:fe9f:7adc, 64 hops max, 12 byte packets
 1  ve3.fr3.phx3.ipv6.llnw.net  0.546 ms  9.568 ms  4.333 ms
 2  tge13-2.fr4.phx2.ipv6.llnw.net  14.921 ms  0.362 ms  0.302 ms
 3  tge9-3.fr4.lax.ipv6.llnw.net  8.876 ms  8.883 ms  8.819 ms
 4  10gigabitethernet1-3.core1.lax1.he.net  27.875 ms  59.652 ms  87.862 ms
 5  100ge11-1.core1.lax2.he.net  11.563 ms  9.089 ms  19.108 ms
 6  10ge14-1.core1.den1.he.net  62.666 ms  54.117 ms  53.999 ms
 7  10ge4-3.core1.chi1.he.net  51.986 ms  53.812 ms  62.996 ms
 8  100ge5-2.core1.nyc4.he.net  75.391 ms  77.825 ms  75.633 ms
 9  eqix.newyorkinternet.com  122.454 ms  172.626 ms  213.630 ms
10  2610:1c1::102  81.363 ms  80.066 ms  80.479 ms
11  extsvc.igw0.nyi.freebsd.org  72.765 ms  74.359 ms  73.365 ms
12  svnmir.nyi.freebsd.org  74.206 ms  75.282 ms  73.718 ms
Comment 3 Andrew Berg 2015-06-20 14:25:34 UTC
It appears my IPv6 connection in general is spotty. Sorry for the noise.