Unlimited Round-up
Thanks Ant and Neutronbeam.Science
Thanks Max.
- It's Confirmed! Laser Fusion Experiment Hit a Critical Milestone in Power Generation.
- Largest Childhood Trauma Study Reveals Brain Rewiring .
- How Odors Influence Brain's Decision Making Mechanism.
- Scientists Are Now Close to Finding a Mysterious Planet That Explains Strange Cosmic Phenomena. Planet 9 from Outer Space. Thanks A.C.M.
Image
- Wildlife Photographer of the Year People's Choice Award winner. Thanks brother19.
Media
- This Man is a Genius😳❤️. What could go wrong? Thanks VideoSift.
- John Oliver Fears For Humanity While Eating Spicy Wings - Hot Ones.
Follow-ups
Thanks Max.
- Researchers reveal elusive bottleneck holding back global effort to convert carbon dioxide waste into usable products.
- After Toby Keith’s death, doctors warn that stomach cancer signs are easy to miss.
- One in 10 premature births linked to plastic chemicals- Study.
- Curing Pets With Cannabis as Veterinarians Try CBD and THC. Thanks j.c.f.
The Funnies
Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit
" Error. I'll be on the lookout for it.The too long request header in these cases is most likely the Cookie header. Something managed to set too many / too long cookies for your domain, likely amassed over an extended period of time. Your browser simply attempts to send every single non-expired cookie matching the origin and path you are visiting with every request, all concatenated in a single header line.
Tom wrote on Feb 7, 2024, 14:09:We already looked into this, a request header field can be 8KB max by default, cookies can be 4 KB max, and the board code safely truncates the session cookies (per forum) to about 3800 bytes. We use about 20 cookies for all site functionality, and external providers perhaps a dozen, so that shouldn't be too much AFAIK. Unless that all goes in a single header, I guess... Anyway, we need to look further into this.
Check your cookies, Blue. Cookie data is sent in request headers and is almost certainly what's triggering the error. Looking at the request the browser is making to load the comments page for a post, I see two cookies called "chatbear-session-1" and "chatbear-session-2" and the first one has quite a bit of data.
Tom wrote on Feb 7, 2024, 14:09:
Check your cookies, Blue.
fds wrote on Feb 7, 2024, 14:39:Ow, we... uhm... forgot about that. And I almost never read the news forum to begin with. The concatenation may be the cause, then.
It's what I tried to explain last October too, when you first mentioned this issue.
Frans wrote on Feb 7, 2024, 14:40:
Unless that all goes in a single header, I guess...
fds wrote on Feb 7, 2024, 14:39:Dang, my ability to forget things gets sharper all the time! Sorry about the whole pearls before swine nature of this.
100% what Tom said.
It's what I tried to explain last October too, when you first mentioned this issue.
Tom wrote on Feb 7, 2024, 15:02:Aware of that, but given that cookie chatbear-session-1 for a frequent visitor of the news forum is maxed out around 3800 bytes, that leaves less space for all the others combined. I guess I'll lower that limit to 3600 and then we'll have to see how it goes. It just means fewer remembered threads for everyone.
It could totally be some external cookie causing the problem, yeah.
Tom wrote on Feb 7, 2024, 15:02:Blue's requests received HTTP 400 responses (though I'd expect 431) so yeah, it was our server throwing the errors, not an ad provider or somesuch.
Another thing to consider is, you may have your web servers configured with some max (default or otherwise), but are there any other servers in the loop that could have a different max and be returning this error? Intentionally causing the error and looking for logs may shed some light.
fujiJuice wrote on Feb 7, 2024, 14:44:here it isTom wrote on Feb 7, 2024, 14:09:
Check your cookies, Blue.
I think it is the cookie. I did have the same problem several months ago right about the same time as Blue, like a day before he posted about it. Deleting the site cookies had resolved it. I thought the site was down for at least a day until I started to check my end.
I thought I posted about it then but can't seem to find it.
Frans wrote on Feb 7, 2024, 15:16:
Aware of that, but given that cookie chatbear-session-1 for a frequent visitor of the news forum is maxed out around 3800 bytes, that leaves less space for all the others combined. I guess I'll lower that limit to 3600 and then we'll have to see how it goes. It just means fewer remembered threads for everyone.
RedEye9 wrote on Feb 7, 2024, 16:59:Cookies can easily become corrupted. Clearing out the old cookies and getting new ones is often the simplest solution.fujiJuice wrote on Feb 7, 2024, 14:44:Fricken cookies, I guess that's why the first thing anyone says is to delete your cookies if you're having a problem with a site.Tom wrote on Feb 7, 2024, 14:09:
Staunch wrote on Feb 7, 2024, 17:03:They are used, per forum, to keep track of which threads you've visited most recently, so they aren't starred next time unless there is a new post. This was developed by original Chatbear programmer Bagpuss, and every time I look at it, my brain briefly short-circuits before relaxing again.Frans wrote on Feb 7, 2024, 15:16:Is this to mark which messages in the thread are new? If you're okay to rely on JavaScript a little more for this, it could also be put into local storage of the browser which has much larger limits and isn't sent to the server on every request.
Aware of that, but given that cookie chatbear-session-1 for a frequent visitor of the news forum is maxed out around 3800 bytes, that leaves less space for all the others combined. I guess I'll lower that limit to 3600 and then we'll have to see how it goes. It just means fewer remembered threads for everyone.
RedEye9 wrote on Feb 7, 2024, 16:59:fujiJuice wrote on Feb 7, 2024, 14:44:here it is
I thought I posted about it then but can't seem to find it.
Grokk wrote on Feb 8, 2024, 01:21:Yes, I already linked that in my post #5.
On Apache2 there is an option to increase the header size limit.
https://httpd.apache.org/docs/2.4/mod/core.html#limitrequestfieldsize