FS#27988 - sketchy interaction with ipv6
Attached to Project:
Pacman
Opened by Dave Reisner (falconindy) - Wednesday, 18 January 2012, 22:06 GMT
Last edited by Allan McRae (Allan) - Sunday, 29 June 2014, 07:25 GMT
Opened by Dave Reisner (falconindy) - Wednesday, 18 January 2012, 22:06 GMT
Last edited by Allan McRae (Allan) - Sunday, 29 June 2014, 07:25 GMT
|
Details
As shown in the post below, some users are seeing odd
behavior with curl trying to grab an ipv6 socket when their
network stack isn't ipv6 capable.
https://bbs.archlinux.org/viewtopic.php?id=133774 Q's from Dan: - is there any ipv6 non-link-local address configured? - are there any ipv6 entries in /etc/resolv.conf? We also need a better strace which follows children of curl to see what libresolv on each resolution attempt. Additionally, we should see how the curl binary tool behaves on these machines. This isn't anything new, and we've seen reports of this before in wget. I'd rather the solution not be "disable ipv6". As a corollary, do we want to consider adding some extra knobs to /etc/pacman.conf to tune the downloader? curl has the ability to force ipv4 or ipv6 rather than the default behavior of auto detection. We should also tie in libcurl's CURLOPT_DEBUG{FUNCTION,DATA} to libalpm's debug callback. |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 29 June 2014, 07:25 GMT
Reason for closing: Upstream
Additional comments about closing: Assuming fixed with curl-7.34
Sunday, 29 June 2014, 07:25 GMT
Reason for closing: Upstream
Additional comments about closing: Assuming fixed with curl-7.34
Would love to see routing info (ip -6 r; ip -r) from someone afflicted by this.
If ipv6 is enabled, connection time out happens most of the time with sporadic successful connections.
Works properly if
- ipv6 is disabled OR
- domain names are replaced with ip addresses in the mirror list.
I have attached the trace logs for your reference (trimmed the mirror list to few servers, to reduce time)
http://tools.ietf.org/html/rfc6555
If anyone wants to try building curl from git and verifying this, feel free. I've still not been able to replicate this.