riju icon indicating copy to clipboard operation
riju copied to clipboard

Cannot run Elm

Open thdoan opened this issue 1 year ago • 1 comments

Steps to reproduce:

  1. Go to https://riju.codes/elm
  2. Click on Run

Error:

Compilation failed -- PROBLEM LOADING PACKAGE LIST ------------------------------------------------

I need the list of published packages to verify your dependencies, so I tried to fetch:

https://package.elm-lang.org/all-packages

But my HTTP library is giving me the following error message:

ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = , addrCanonName = }, host name: Just 'package.elm-lang.org', service name: Just '443'): does not exist (Try again)

thdoan avatar Oct 03 '22 22:10 thdoan

To fix this, we either need to adjust Elm so that it does not need network connectivity to run 'hello, world', or we need to find a way to allow outbound network connections without enabling abuse that violates AWS terms of service.

raxod502 avatar Oct 05 '22 23:10 raxod502