arion icon indicating copy to clipboard operation
arion copied to clipboard

base image should include /etc/protocols

Open domenkozar opened this issue 6 years ago • 1 comments



Here is the error message I was able to extract:

    HttpExceptionRequest Request { host = "package.elm-lang.org" port = 443
    secure = True requestHeaders =
    [("User-Agent","elm/0.19.0"),("Accept-Encoding","gzip")] path =
    "/all-packages" queryString = "" method = "GET" proxy = Nothing rawBody =
    False redirectCount = 10 responseTimeout = ResponseTimeoutDefault
    requestVersion = HTTP/1.1 } (ConnectionFailure
    Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp))

Currently work-arounding this with "${pkgs.iana-etc}/etc/protocols:/etc/protocols:ro"

domenkozar avatar Jul 22 '19 13:07 domenkozar

This type of solution is an uphill battle without at least #27. Meanwhile these things can be achieved by using NixOS in the image.

roberth avatar Jul 22 '19 13:07 roberth