Bad Request Maximum length of 102400 bytes exceeded.

335 views
Skip to first unread message

Stan Schymanski

unread,
Aug 27, 2010, 9:09:13 AM8/27/10
to sage-support
Dear all,

When trying to change the code of a worksheet in a text editor (using
the edit button in the worksheet), I get the following error message
whenever I want to save changes:

Bad Request
Maximum length of 102400 bytes exceeded.

Does anyone have an idea what could cause this and how this can be
circumvented?

Cheers
Stan

didier deshommes

unread,
Aug 27, 2010, 10:54:32 AM8/27/10
to sage-s...@googlegroups.com
My guess is that the web server has a limit on the size of a POST
request and that you have reached it. Typically this is 1024kb. The
solution is to increase this limit. I'm not sure how to do that for a
wsgi application (which I assume sage is).

didier

> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to sage-support...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>

Mitesh Patel

unread,
Aug 27, 2010, 7:19:39 PM8/27/10
to sage-s...@googlegroups.com
On 08/27/2010 09:54 AM, didier deshommes wrote:
> My guess is that the web server has a limit on the size of a POST
> request and that you have reached it. Typically this is 1024kb. The
> solution is to increase this limit. I'm not sure how to do that for a
> wsgi application (which I assume sage is).
>
> On Fri, Aug 27, 2010 at 8:09 AM, Stan Schymanski <schy...@gmail.com> wrote:
>> When trying to change the code of a worksheet in a text editor (using
>> the edit button in the worksheet), I get the following error message
>> whenever I want to save changes:
>>
>> Bad Request
>> Maximum length of 102400 bytes exceeded.
>>
>> Does anyone have an idea what could cause this and how this can be
>> circumvented?

Just to check: How large is the worksheet, in kilobytes?

Mitesh Patel

unread,
Aug 28, 2010, 3:54:41 AM8/28/10
to sage-s...@googlegroups.com

Didier is right. I've opened

http://trac.sagemath.org/sage_trac/ticket/9830

and added a possible workaround/solution in a comment.

Didier, if you have a Sage trac account, could you add yourself to the
account name-real name map:

http://trac.sagemath.org/sage_trac/wiki/WikiStart#AccountNamesmappedtoRealNames

?

Reply all
Reply to author
Forward
0 new messages