luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

502 Bad Gateway when downloading https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip #209

Closed ghost closed 7 years ago

ghost commented 7 years ago

get-lit.sh fails with an 502 error when it tries to download https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip. Here is a log of my session:

curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | bash -x
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   127  100   127    0     0    178      0 --:--:-- --:--:-- --:--:--   178
100   567  100   567    0     0    486      0  0:00:01  0:00:01 --:--:--   486
+ set -eu
+ LUVI_VERSION=2.7.6
+ LIT_VERSION=3.5.4
++ uname -s
++ uname -m
+ LUVI_ARCH=Linux_x86_64
+ LUVI_URL=https://github.com/luvit/luvi/releases/download/v2.7.6/luvi-regular-Linux_x86_64
+ LIT_URL=https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip
+ echo 'Downloading https://github.com/luvit/luvi/releases/download/v2.7.6/luvi-regular-Linux_x86_64 to luvi'
Downloading https://github.com/luvit/luvi/releases/download/v2.7.6/luvi-regular-Linux_x86_64 to luvi
+ curl -L https://github.com/luvit/luvi/releases/download/v2.7.6/luvi-regular-Linux_x86_64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   598    0   598    0     0    635      0 --:--:-- --:--:-- --:--:--   634
100 4261k  100 4261k    0     0   928k      0  0:00:04  0:00:04 --:--:-- 1278k
+ chmod +x luvi
+ echo 'Downloading https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip to lit.zip'
Downloading https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip to lit.zip
+ curl -L https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   182  100   182    0     0    169      0  0:00:01  0:00:01 --:--:--   169
+ ./luvi lit.zip -- make lit.zip lit luvi
/home/tim/luvi/src/lua/luvibundle.lua:277: ERROR: /home/phil/lit.zip is not a zip file or a folder

If I download it manually, I get a 502 error:

phil@classen:~$ wget https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip
--2017-05-24 17:05:24--  https://lit.luvit.io/packages/luvit/lit/v3.5.4.zip
Resolving lit.luvit.io (lit.luvit.io)... 138.68.9.91
Connecting to lit.luvit.io (lit.luvit.io)|138.68.9.91|:443... connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2017-05-24 17:05:25 ERROR 502: Bad Gateway.
johnymachine commented 7 years ago

Same in powershell.

creationix commented 7 years ago

Yep, the server was down. It's rebooted for now. Sorry I don't have time to make it more robust.

ghost commented 7 years ago

Thanks, now it works.