MsxHub first beta release. Call for help

Page 5/5
1 | 2 | 3 | 4 |

By ducasp

Champion (455)

ducasp's picture

23-08-2020, 04:56

bsittler wrote:

I use this with GR8NET and it works great to the point of downloading the first file in the package, but when it is about to download the second it says there is a timeout very quickly. When I try with /d it again works for the first file, but for the second exits after printing "invalid connection state". When I fetch the second file using HGET and the MSXHUB API URL printed by /d it works fine and I get the file

Hi bsittler,

KDL recently helped me understand that some providers do not work well with keep alive connections, so there should be a retry for some errors. I'm working on a fix for it, meanwhile, you can use the previous version of HUB that do not have keep alive support, to downgrade it:

HUB UPGRADE HUB:1.0.3-1

If you haven't installed/updated it using hub itself you will get an error message telling hub is not installed, you can try:try

HUB INSTALL HUB:1.0.3-1

And don't update hub until 1.0.5 is released Wink

By bsittler

Master (243)

bsittler's picture

23-08-2020, 05:49

Thank you! Indeed, the older version works fine

By fr3nd

Expert (112)

fr3nd's picture

23-08-2020, 17:49

@ducasp, so it seems that keepalive is giving issues with some providers? I guess you're already working on a fix, right? if not I guess we can just revert the last changes. What do you think?

By ducasp

Champion (455)

ducasp's picture

23-08-2020, 21:47

It should be available in about a week or so, if you think that rolling back to 1.0.3 is better, I see no issue with that ???? I think most people have no issues with that, what I saw with KdL is that some internet providers close the connection after transfer is done and nothing is commanded on the http channel for a very short period, and MSX takes a little bit to write to disk and that time, before closing the file and starting the next one is enough that the internet provider itself kills the connection (crazy right? This should be between client and server). The fix is an easy one, addba retry in case get fails while keeping alive, and in that case the retry will be without keep alive for the remaining session, need to test it Smile

By fr3nd

Expert (112)

fr3nd's picture

24-08-2020, 09:55

Ok, cool, don't worry. No need to rush... This bug it's been here for months already so few extra days won't hurt Smile

Just wanted to see what would be the best way to fix it. Thank you!

Page 5/5
1 | 2 | 3 | 4 |