I’ve been using Elm on DigitalOcean for 4 years and suddenly I get erros while downloading some packages.
I’ve talked with DigitalOcean support but they are telling me to stop trying downloading json and that I should download packages directly instead - like I had any control over how Elm downloads packages =D
Exapmles of two errors:
Dec 11 05:36:17 e[34m│e[0m -- PROBLEM LOADING PACKAGE LIST ------------------------------------------------
Dec 11 05:36:17 e[34m│e[0m
Dec 11 05:36:17 e[34m│e[0m I need the list of published packages to verify your dependencies, so I tried to
Dec 11 05:36:17 e[34m│e[0m fetch:
Dec 11 05:36:17 e[34m│e[0m
Dec 11 05:36:17 e[34m│e[0m https://package.elm-lang.org/all-packages
Dec 11 05:36:17 e[34m│e[0m
Dec 11 05:36:17 e[34m│e[0m But my HTTP library is giving me the following error message:
Dec 11 05:36:17 e[34m│e[0m
Dec 11 05:36:17 e[34m│e[0m ConnectionTimeout
Dec 11 05:36:17 e[34m│e[0m
Dec 11 05:36:17 e[34m│e[0m Are you somewhere with a slow internet connection? Or no internet? Does the link
Dec 11 05:36:17 e[34m│e[0m I am trying to fetch work in your browser? Maybe the site is down? Does your
Dec 11 05:36:17 e[34m│e[0m internet connection have a firewall that blocks certain domains? It is usually
Dec 11 05:36:17 e[34m│e[0m something like that!
Dec 11 05:36:17 e[34m│e[0m
Dec 11 05:36:17 e[34m│e[0m
or
Dec 11 04:21:28 e[34m│e[0m Verifying dependencies (19/19)-- PROBLEM DOWNLOADING PACKAGE -------------------------------------------------
Dec 11 04:21:28 e[34m│e[0m
Dec 11 04:21:28 e[34m│e[0m I need to find the latest download link for NoRedInk/elm-json-decode-pipeline
Dec 11 04:21:28 e[34m│e[0m 1.0.0, so I tried to fetch:
Dec 11 04:21:28 e[34m│e[0m
Dec 11 04:21:28 e[34m│e[0m https://package.elm-lang.org/packages/NoRedInk/elm-json-decode-pipeline/1.0.0/endpoint.json
Dec 11 04:21:28 e[34m│e[0m
Dec 11 04:21:28 e[34m│e[0m But my HTTP library is giving me the following error message:
Dec 11 04:21:28 e[34m│e[0m
Dec 11 04:21:28 e[34m│e[0m ConnectionTimeout