[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Svn 1.2.x can't resolve local hosts on Mac OS X

From: Stuart A. Malone <samalone_at_llamagraphics.com>
Date: 2005-08-09 13:23:00 CEST

Well, I solved my own problem. It looks like it was mostly my own
fault, although svn could probably be a little cleverer about this
situation.

It turns out that windhorse.local maps to both IPv4 and IPv6
addresses. I was running my svnserve using xinetd, but had not used
the IPv6 flag to identify the service as IPv6-aware. So xinetd would
only launch svnserve in response to IPv4 requests, not IPv6. When I
added the IPv6 flag to my xinetd configuration file, the problem went
away.

For some reason, the subversion 1.1.x client was always using the
IPv4 address, but subversion 1.2.x is using the IPv6 address. I
don't know why the behavior changed.

I guess my one suggestion is that the subversion client code should
be enhanced so that if it gets multiple addresses for the same host,
it should try them all before giving up with a "Connection refused"
error.

Best wishes,

--Stuart A. Malone
   Llamagraphics, Inc.
   Makers of Life Balance personal coaching software
   http://www.llamagraphics.com/

On Aug 9, 2005, at 6:20 AM, Stuart A. Malone wrote:

>
> I've been using subversion 1.1.x on a Mac OS X server with Mac OS X
> clients successfully for some time now. However, I've run into a
> problem each time I try to upgrade my clients to 1.2.x. After
> upgrading, the svn client no longer seems able to resolve local
> ZeroConf addresses. For instance:
>
> # ping windhorse.local
> PING windhorse.local (192.168.142.10): 56 data bytes
>
> # svn list svn://windhorse.local/
> svn: Can't connect to host 'windhorse.local': Connection refused
>
> # svn list svn://192.168.142.10/
> andes/
> branches/
> tags/
> trunk/
> vendor/
>
> Local addresses work fine under subversion 1.1.x. Any ideas on how
> to debug or fix this problem?
>
> Thanks,
>
> --Stuart A. Malone
> Llamagraphics, Inc.
> Makers of Life Balance personal coaching software
> http://www.llamagraphics.com/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 9 13:25:22 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.