The request body was too large to be cached during the authentication process

Message Bookmarked
Bookmark Removed

Access to the specified resource (The request body was too large to be cached during the authentication process) has been forbidden.

happens on long text posts like copy/pasting of articles and such

am0n, Friday, 8 August 2008 19:24 (seventeen years ago)

also how do you get around

There was an error parsing the BBcode in your post:
Unknown BBcode tag:

when using brackets that aren't bbcode. that "ignore BBcode errors" checkbox doesn't do shit

am0n, Friday, 8 August 2008 19:16 (seventeen years ago)

^^yeah ive been wondering about that too

J0rdan S., Friday, 8 August 2008 19:21 (seventeen years ago)

i think the ignore BBcode errors thing not working is fixed in ILX 2.2 or whatever. no clue on the first question

John Justen, Friday, 8 August 2008 19:23 (seventeen years ago)

wha? is this mod req 2?

am0n, Friday, 8 August 2008 19:55 (seventeen years ago)

I fixed the BBcode issue long, long ago, but there hasn't been a code update since even longer.

libcrypt, Friday, 8 August 2008 21:28 (seventeen years ago)

It's a strange one that, Amon, as I did fix (the first question) years ago... Here's the answer:

The solution is to add maxSavePostSize parameter to the Tomcat connector. By default the maximum post size to be cached when redirecting to the login page is 4kb, which in the case of JSF is a little low. By setting maxSavePostSize to -1 the post size is unrestricted.


<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8081" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" maxSavePostSize="-1" />

As libcrypt says, he fixed it ages ago and I haven't done a deployment since then. However, I will be at some point soon, but since stet and myself have so much to do with this one (as loads of stuff needs to be upgraded), it depends on when we're both available, and we're not at the moment. Some time in the next few months, I expect. But it will involve a lot of downtime (maybe a couple of weeks).

Keith, Sunday, 10 August 2008 09:54 (seventeen years ago)

Oops - meant to say that what is odd about the first request, is that I have actually set that parameter, so it should work.

Keith, Sunday, 10 August 2008 09:55 (seventeen years ago)

re: first question - i was able to get it to work (large posts) on my home computer so it was probably just my work browser acting buggy

good to hear there's a fix for the bbcode bracket thing. no hurry

thanks

am0n, Sunday, 10 August 2008 20:05 (seventeen years ago)


You must be logged in to post. Please either login here, or if you are not registered, you may register here.