[Pkg-haskell-maintainers] Bug#728584: Bug#728584: cabal-install hangs
zengbo.zhang at gmail.com
Mon Nov 4 07:05:05 UTC 2013
HI Joachim and all,
I guess two situations may help to reproduce it:
1. I am behind two NATs, one is a home router, one is the connection point
from ISP to Internet (maybe more, depends on ISP).
2. The network speed is slow from my pc to hackage server (about 10KB/s)
And there is another phenomenon after I reported the bug: I tried again (3
times) to do cabal update, with two times get partial content (almost full,
let me say, only ~200k lost compared to a wget-ed and verified version but
I didn't record the number ) after about 10 minutes then it reported the
tarball is broken; and the last time it hangs with 3 hours so I did Ctrl-C
to exit (same as the bug report itself). If you need I can do more times
and give some accurate data (time/size).
>From the new phenomenon, I guess again it is about a weak design of tcp
itself: when there is only one direction of data flow, the sender may close
the tcp link more quickly than the receiver at certain condition: for some
point the sender lose all data packages (and re-transmissions) to the
receiver, and the receiver don't know it at all. Although it is a tcp
weakness, AFAIK, this should be overcome by some upper layer protocol
And another thing I am surprised is about proxychains, it is 100%
segmentation fault on my side. I just use a ssh dynamic port forwarding and
in wget case it can speed up the download to hackage server. It should be
easy to reproduce in my opinion.
2013/11/4 Joachim Breitner <nomeata at debian.org>
> Am Sonntag, den 03.11.2013, 19:41 +0800 schrieb Zhang Zengbo:
> > I am a new user of haskell-platform. After I installed it, I simply run:
> > cabal update, it hangs, then I try to use --verbose=3 to see what
> unfortuately, I cannot reproduce it here. Is there anything special
> about your network setup? E.g. forced proxies or something of the kind?
> Joachim "nomeata" Breitner
> Debian Developer
> nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
> JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-haskell-maintainers