Page 1 of 1

Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 10:12 am
by Aldarone
Hello !

I just activated my ipv6 address this week-end and I could not connect to my usenet provider.

I'm using ssl.astraweb.com:563, it's ipv4 only.

For a reason, when I disable ipv6 on my PC everything works fine. But when it's activated sabnzb says:
Failed to connect: (110, '[Errno 111] Connection refused') 10@ssl.astraweb.com:563
If I use one of their ip adress instead of the hostname it works.

Version: 0.5.6
OS: Ubuntu 9.10 -server
Install-type:  jfcp/ppa
Firewall Software: iptables/ip6tables
Are you using IPV6? yes
Is the issue reproducible? yes

Re: Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 10:59 am
by shypike
What do you get when you use ping and ping6 on ssl.astraweb.com ?

Re: Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 1:01 pm
by Aldarone

Code: Select all

ping ssl.astraweb.com
PING ssl.astraweb.com (207.246.207.14) 56(84) bytes of data.
64 bytes from 14.sjc.astraweb.com (207.246.207.14): icmp_seq=1 ttl=46 time=181 ms
64 bytes from 14.sjc.astraweb.com (207.246.207.14): icmp_seq=2 ttl=46 time=181 ms
64 bytes from 14.sjc.astraweb.com (207.246.207.14): icmp_seq=3 ttl=46 time=182 ms
64 bytes from 14.sjc.astraweb.com (207.246.207.14): icmp_seq=4 ttl=46 time=182 ms
64 bytes from 14.sjc.astraweb.com (207.246.207.14): icmp_seq=5 ttl=46 time=182 ms
64 bytes from 14.sjc.astraweb.com (207.246.207.14): icmp_seq=6 ttl=46 time=182 ms

Code: Select all

ping6 ssl.astraweb.com
PING ssl.astraweb.com(2001:41d0:1:43bf::1) 56 data bytes
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=1 ttl=58 time=38.2 ms
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=2 ttl=58 time=34.0 ms
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=3 ttl=58 time=35.7 ms
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=4 ttl=58 time=33.1 ms
Hum... it seems something is answering. But I don't know what it is. Let's find out.

Sorry for the too early bug report :)

Re: Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 1:59 pm
by shypike
The strange thing is that it's answering on both IPV4 and IPV6.
That probably means that SABnzbd will try IPV6
while astraweb might not actually support it.

Re: Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 2:35 pm
by sander
FWIW:

Remark 1: I can not resolve ssl.astraweb.com to an IPv6 address. I wonder how the OP can find the IPv6 address, and whether he can still resolve now ...
Remark 2: I can ping6 the litteral IPv6 addres, but there is no connection on the NNTPS port (the IPv4 connection works OK)




Code: Select all

sander@lifebook:~$ host -t aaaa ssl.astraweb.com
ssl.astraweb.com has no AAAA record

sander@lifebook:~$ ping6 ssl.astraweb.com
unknown host
sander@lifebook:~$ 



sander@lifebook:~$ ping6 -c4 2001:41d0:1:43bf::1
PING 2001:41d0:1:43bf::1(2001:41d0:1:43bf::1) 56 data bytes
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=1 ttl=52 time=366 ms
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=2 ttl=52 time=287 ms
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=3 ttl=52 time=240 ms
64 bytes from 2001:41d0:1:43bf::1: icmp_seq=4 ttl=52 time=168 ms

--- 2001:41d0:1:43bf::1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 168.983/265.942/366.650/71.812 ms
sander@lifebook:~$ 
sander@lifebook:~$ telnet 2001:41d0:1:43bf::1 nntps
Trying 2001:41d0:1:43bf::1...
telnet: Unable to connect to remote host: Connection refused
sander@lifebook:~$


ander@lifebook:~$ telnet ssl.astraweb.com nntps
Trying 216.151.153.124...
Connected to ssl.astraweb.com.
Escape character is '^]'.
quit
quit
Connection closed by foreign host.
sander@lifebook:~$


Re: Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 4:49 pm
by Aldarone
I can't resolve ssl.astraweb.com in ipv6 from another computer either.
But I guess sabnzbd is trying to connect to 2001:41d0:1:43bf::1 first, and can't connect because it's not a NNTP server.

After verification 2001:41d0:1:43bf::1 is a dedicated server I own. But I can't figure out why my PC thinks it's related to astraweb.

Anyway, it's not sabnzbd related. Thanks for helping :)

Re: Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 5:06 pm
by sander
Aldarone wrote: I can't resolve ssl.astraweb.com in ipv6 from another computer either.
But I guess sabnzbd is trying to connect to 2001:41d0:1:43bf::1 first, and can't connect because it's not a NNTP server.

After verification 2001:41d0:1:43bf::1 is a dedicated server I own. But I can't figure out why my PC thinks it's related to astraweb.

Anyway, it's not sabnzbd related. Thanks for helping :)
Could be a nasty problem. Or: a problem with nasty results. Can you reach IPv6-only sites like http://ipv6.google.com/ and http://www6.appelboor.com/ ?

Re: Errno 110 Connection refused with ipv6

Posted: February 6th, 2011, 5:15 pm
by Aldarone
I can reach ivp6.google.com and I can ping6 www6.appelboor.com
www.kame.net is ok too.

And if i try to ping6 www.google.com (which is ipv4 only) I get "unknown host"

There is a mess with astraweb's domain and my PC ^_^