Bug #85844
closed
Invalid request for route "/ajax/system-information/render" after session timed out
Added by Stephan Großberndt over 5 years ago.
Updated 9 months ago.
Category:
Backend User Interface
Description
When you keep a TYPO3 backend tab open for a long time and e.g. put your computer to standby the regular pings to keep the sesssion alive are no longer executed.
When the computer is resumed from standby an Exception is logged to sys_log:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1425389455: Invalid request for route "/ajax/system-information/render" |
TYPO3\CMS\Backend\Routing\Exception\InvalidRequestTokenException thrown in file /typo3_src-8.7.18/typo3/sysext/backend/Classes/Http/RouteDispatcher.php in line 49.
Requested URL: https://www.example.org/typo3/index.php?ajaxID=%%2Fajax%%2Fsystem-information%%2Frender&ajaxToken=--AnonymizedToken--
Files
Stephan Großberndt wrote:
When you keep a TYPO3 backend tab open for a long time and e.g. put your computer to standby the regular pings to keep the sesssion alive are no longer executed.
When the computer is resumed from standby an Exception is logged to sys_log:
[...]
Same same in TYPO3 v9.5.2
- Status changed from New to Needs Feedback
I'm not quite sure how the solution here should look like. You are reviving the computer from stand-by and are factually logged out - which the system should actually notice once you click anywhere. What would you expect to happen?
In this logged out state apparently ajax requests are sent which cause exceptions which are logged as errors to sys_log. Its okay the ajax calls fail but there should no exceptions be logged to sys_log
- Category set to Backend User Interface
- Status changed from Needs Feedback to New
- Related to Bug #69763: Re-login after expired backend session throws exception added
This occurs in 9.5 only, because the AjaxRequestHandler does not catch the InvalidRequestTokenException (like the normal RequestHandler does).
In 10, AjaxRequestHandler was removed and everything runs through RequestHandler.
- Status changed from New to Under Review
- Status changed from Under Review to Closed
As reported on note 7 here (https://forge.typo3.org/issues/85844#note-7) this issue should affect only version 9.5. Plus there has been no activity for 3 years on this issue ==> I close this issue.
If you think that this is the wrong decision or experience the issue again on recent TYPO3 versions like 11 or 12 please reopen it or open a new issue with a reference to this one.
ìIf you really need support for this in v9, consider opting for Extended Long Term Support, a special service provided by TYPO3 GmbH (https://typo3.com/products/extended-support).
Also available in: Atom
PDF