codeship/scripts

[Elixir] Broken build because of IP out of range fetching Elixir.

Closed this issue · 2 comments

Running this command:

source /dev/stdin <<< "$(curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/languages/elixir.sh)"

I get this in the Codeship console:

--2017-06-26 19:55:45--  https://s3.amazonaws.com/s3.hex.pm/builds/elixir/v1.4.2.zip
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.65.99
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.216.65.99|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

error [/home/rof/cache/elixir-v1.4.2.zip]:  start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
bash: elixir: command not found

Try clearing out the project cache on Codeship. This will allow the script to download a fresh copy of the file. Sounds like the cached one may have gotten corrupt. Click the FAILED dropdown on Codeship and then Reset Cache.