/operate/ - Endchan Operations

Let us know what's up

Posting mode: Reply

Check to confirm you're not a robot
Drawing x size canvas

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images

(125.17 KB 950x713 web.jpeg)
connections closed and ranged requests Anonymous 09/01/2018 (Sat) 20:29:24 [Preview] No. 9787
There's an old unresolved problem with the onion frontend (at least): when downloading large files the server closes the connection after 10MB or so have been transferred, leaving the file truncated.

For certain kinds of files it's possible to workaround this bug by resuming the download at the position it was interrupted. The connection will get closed again after another 10MB or so. Repeat until the file is complete.

However, for fuck knows what reason, StephenLynx decided to use a whitelist for mime types allowed to be requested in ranges, so that workaround doesn't always work. He came to his senses at some point and dropped that nonsense, but Endchan still uses the whitelist.

So 2 issues:
1. The server closes connections after a few MB.
2. Remove the whitelist in src/be/engine/gridFsHandler.js.

Anonymous 09/08/2018 (Sat) 22:39:21 [Preview] No.9892 del
overboard bump

Anonymous 09/09/2018 (Sun) 17:44:17 [Preview] No.9894 del
.xyz and .net dont work, I get problem loading page

Anonymous 10/11/2018 (Thu) 02:00:54 [Preview] No.9972 del
(221.25 KB 500x676 waiting.png)
>waiting for endchan admins to notice me senpai

Anonymous 10/11/2018 (Thu) 04:52:36 [Preview] No.9973 del
try IRC?

odilitime#N+dwLl 10/11/2018 (Thu) 12:42:18 [Preview] No.9975 del
seeing it now. must have gotten bumped off the 1st page of operate.

hrm not going to remove the whitelist. But I can look into fixing tor.

odilitime Board volunteer 10/11/2018 (Thu) 12:42:57 [Preview] No.9976 del
it me

Anonymous 10/14/2018 (Sun) 17:52:13 [Preview] No.9992 del
>hrm not going to remove the whitelist
Why the fuck not? Any normal http server would allow ranged requests regardless of mime type because it's completely irrelevant. Do explain because it makes no sense.

Balrog Board owner 10/16/2018 (Tue) 01:25:05 [Preview] No.9997 del
Yes, we're aware of this and trying to find a fix. When I started investigating I found out the hard way that it affects uploads too. The problem is that according to startpage nobody else has ever had this problem with a hidden service ever, and every layer between lynxchan and tor is showing all clear, or rather is configured to treat Tor traffic and non-Tor traffic identically. It's weird.

Anonymous 10/16/2018 (Tue) 06:12:53 [Preview] No.9998 del
huh I also had this problem since forever whenever I used the TOR address but I assumed it was something wrong with the browser
just some minutes ago I did 2 large file download tests (>100 MB) each with different browser and different TOR connection and both completed successfully
did you fix it somehow?

Anonymous 10/18/2018 (Thu) 19:55:28 [Preview] No.10004 del
Op here. Both problems still exist. Tried with the file in >>>/librejp/130523 and the download was interrupted at about 16 MB.

odilitime Board volunteer 10/26/2018 (Fri) 05:24:45 [Preview] No.10041 del
I was confusing the whitelist. I'm clear now, yea that one can specifically go. I don't see a reason for it.

odilitime Board volunteer 10/26/2018 (Fri) 05:44:53 [Preview] No.10042 del

2 is now done.

Anonymous 10/26/2018 (Fri) 23:02:52 [Preview] No.10047 del
Ranges do seem to work now thanks.

Btw, if you were thinking about that whitelist (>>1017) I hope whatever value you see in it is not security-related because otherwise you'll be disappoint, son.

StephenLynx 11/23/2018 (Fri) 16:06:14 [Preview] No.10093 del
In my defense, the reason was dumbassery.

StephenLynx 11/23/2018 (Fri) 16:10:18 [Preview] No.10094 del
Also, you could just UPDATE THE FUCKING ENGINE.
1.7 hit EOL, 1.8 hit EOL, 1.9 hit EOL.

Top | Return | Catalog | Post a reply