[dokuwiki] SV: Timeout when editing a page

>We have problems with timeouts, after roughly 30 minutes of editing a
page, a logon popup is displayed.

I've investigated this a bit more and may have found a pattern. This is
logged in Apache access_log when a user has problems (logon popup):

<Client IP address> - - [28/Nov/2008:11:09:40 +0100] "POST
/lib/exe/ajax.php HTTP/1.1" 401 607 "<the page that was being edited>"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322)"
<Client IP address> - - [28/Nov/2008:11:09:47 +0100] "POST /doku.php
HTTP/1.1" 401 607 "<the page that was being edited>" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"

And this in Apaches error_log:

[Fri Nov 28 11:09:40 2008] [error] [client <Client IP address>]
gss_accept_sec_context() failed: A token was invalid (Token header is
malformed or corrupt), referer: <the page that was being edited>
[Fri Nov 28 11:09:47 2008] [error] [client <Client IP address>]
gss_accept_sec_context() failed: A token was invalid (Token header is
malformed or corrupt), referer: <the page that was being edited>

The file "ajax.php" caught my eye, a bit of Googling and I found this:

"Now wait for about half an hour without interacting with the site.
Don't click on any links, don't go to other pages of the site - don't do
anything. After half an hour, make the Ajax request. If the page acts
weirdly(JavaScript Error, invalid return data, etc), your app has the
problem."

http://www.openjs.com/articles/ajax/session_timeout.php

That sound pretty familiar ... I am however pretty much clueless when it
comes to the internals of DokuWiki and know nothing about AJAX. Could
there be a problem with AJAX timeouts in DokuWiki?

BR,
Daniel Lindgren

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: