[racket] Package server connection flaky?

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Tue Jan 13 14:20:06 EST 2015

Hi all,

I've been trying to update my Racket checkout and it's getting stuck on
the `raco pkg update -a` phase of the Makefile.

It's failed something like 9 times in a row for me with errors of the
following form:

  tcp-connect: connection failed
    detail: host not found
    address: pkgs.racket-lang.org
    port number: 80
    step: 1
    system error: Name or service not known; errno=-2
    context...:

I've had errors like this before when trying to build Docker images for
Racket. I would start out with a minimal Racket and then try to install
all of the main distribution packages via the network. It would usually
fail with a tcp-connect error like this.

In the Docker case, I gave up and used a git checkout of all the
packages and installed them locally.

Can we improve reliability of the package server for this use case or
alternatively set up a meta-repo of all the main distribution packages
(that can be checked out at once) to avoid this kind of thing?

Cheers,
Asumu

Posted on the users mailing list.