haxelib icon indicating copy to clipboard operation
haxelib copied to clipboard

Cannot submit to haxelib

Open jgranick opened this issue 8 years ago • 16 comments

I am getting the following error, "Sending data" gets up to 100%, then times out:

$ haxelib -notimeout submit lib.zip
Password :
Sending data....
Http connection timeout. Try running haxelib -notimeout <command> to disable timeout

Thanks :smile:

jgranick avatar Dec 07 '16 04:12 jgranick

ping @andyli

nadako avatar Dec 07 '16 08:12 nadako

I've just restarted the server. @jgranick would you try again?

andyli avatar Dec 07 '16 08:12 andyli

That worked, thanks again. Submitted yesterday :smile:

jgranick avatar Dec 09 '16 00:12 jgranick

@andyli It's not working again 😦

Same problem

jgranick avatar Dec 16 '16 23:12 jgranick

Just got it submitted, did the server restart?

(I tried for hours earlier)

jgranick avatar Dec 17 '16 08:12 jgranick

Same problem ☹️

Thanks again for your help

jgranick avatar Dec 20 '16 05:12 jgranick

Just restarted it again. It is annoying but we have no idea what's wrong. I'm looking into setting up a cron job that restarts the server everyday... It's silly but hopefully it will work until we rewrite haxelib or something.

andyli avatar Dec 20 '16 06:12 andyli

AHH, it happened again, can't release :sob:

jgranick avatar Jan 17 '17 00:01 jgranick

Restarted. Reconfiged to auto-restart every 12 hours instead of 24 hours.

andyli avatar Jan 17 '17 01:01 andyli

Thanks 😄

jgranick avatar Jan 17 '17 03:01 jgranick

It's not allowing another update, I'll try again in a few hours

jgranick avatar Jan 19 '17 00:01 jgranick

Seriously, I don't mean to be rude at all, but I think it's time to actually debug this thing and find out what's wrong, there are no logs that can help debug this issue? Haxelib being down is a really a big deal, specially when important libs such as OpenFL can't be pushed.

On Wed, Jan 18, 2017 at 6:05 PM, Joshua Granick [email protected] wrote:

It's not allowing another update, I'll try again in a few hours

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HaxeFoundation/haxelib/issues/361#issuecomment-273641963, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE9YA67A17NXvy8gV4NLqUuootmW7EAks5rTqjggaJpZM4LGLad .

fullofcaffeine avatar Jan 19 '17 00:01 fullofcaffeine

I just tried again, and it worked, I'm not certain what time the reboot is, but for what it is worth, the "timeout" (I'm not convinced it is a time out?) occurs when "Sending data...." reaches 100%, but the "Processing file...." message has not displayed. It's as if the timing is too tight (or some error occurs) before the file is accepted after the upload

jgranick avatar Jan 19 '17 01:01 jgranick

I did a release of OpenFL earlier today, which worked.

I tried a release of LIme just now, and it failed, but I tried again, and fortunately, it went through!

This was the first time that trying again fixed it. I wonder if the "Blocked" error comes on the client side, or the server side...

Either way, hope this information helps

jgranick avatar Jan 20 '17 23:01 jgranick

I was able to submit OpenFL, which is smaller than Lime. Lime is either hitting the "Blocked" error (and subsequently "timing out") or I'm also getting "Http Error #502" sometimes, which is interesting

jgranick avatar Jan 25 '17 23:01 jgranick

I don't really know for sure, but I wonder if it occurs in the "file storage" step of uploading

https://github.com/HaxeFoundation/haxelib/blob/development/src/website/Server.hx#L81-L83

Timing out internally on a large file

jgranick avatar Jan 25 '17 23:01 jgranick