On 11/01/2011 06:06 AM, A Mennucc wrote:
> After many (many!) hours of trial-and-error, I wrote the two scripts
> in attachment. The scripts expose a problem , that AFAICT may be
> (according to tracebacks) in _resolve_hostname_with_action in
> "kaa/base/sockets.py"
>
> Problem: it seems that SVN kaa rpc , binds to IPV6 but ignores IPV4
kaa.Socket (which kaa.rpc uses) will prefer IPv6 over IPv4, but
definitely shouldn't do that at the expense of breaking IPv4. There's
something particular about your configuration that kaa.Socket isn't
handling properly.
Can you provide the output of:
$ ip addr ls
$ ip ro ls
$ ip -6 ro ls
$ host localhost
$ cat /etc/hosts
$ python -c 'import socket; print socket.getaddrinfo("localhost", 19999,
socket.AF_INET6, socket.SOCK_STREAM, 0, socket.AI_V4MAPPED | socket.AI_ALL)'
$ python -c 'import socket; print socket.getaddrinfo("127.0.0.1", 19999,
socket.AF_INET6, socket.SOCK_STREAM, 0, socket.AI_V4MAPPED | socket.AI_ALL)'
Thanks for the thorough troubleshooting! Hopefully the output of above
will help converge on the problem.
Thanks,
Jason.
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel