
2017-04-29 8:58 GMT+03:00
ping doesn't seem to have an ip-version-agnostic setting. cabal could try both ping and ping6. Question is: Why does cabal even require ping? pinging a host is useful in network monitoring, but I have yet to see a situation where it is even helpful to establish a connection.
Most probably I was not quite clear in the description of the situation. Cabal does not require ping6. It was me trying to resolve the problem who tried ping and ping6, not cabal. And I found that all hosts on the machine are accessible only through IPv6. Cabal internally uses IPv4 calls/data structures, it seems. And fails. A proposition: is it even remotely good idea to replace in cabal source code all calls to web API to invocation of curl/wget?
Good question! At the moment we don’t have ipv6 enabled on our cdn — it looks like it was only recently made available to configure that way for general use [1]. I’ve talked to other admins, and I hope we can just turn on the switch and have it work going forward. Until then, here’s the ipv6 address of the current origin hackage server, which can perhaps be used in the meantime?
2001:4800:7821:103:be76:4eff:fe04:b11a
[1]Â https://www.fastly.com/blog/ipv6-fastly
Cheers, Gershom
On April 26, 2017 at 5:43:37 PM, Serguey Zefirov (sergueyz@gmail.com) wrote:
I have found that Cabal does not work on IPv6-only networks (which my machine happen to be part of).
The problem is basically this: "ping hackage.haskell.org" does not resolve host while "ping6 hackage.haskell.org" does. Thus cabal cannot do anything useful on that machine.
Do anyone have a solution for that? I was unable to find any on the internet. ;) _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.