Bug #85844
closedInvalid request for route "/ajax/system-information/render" after session timed out
0%
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
Updated by Christoph Kratz over 5 years ago
- File Screenshot 2018-12-06 09.41.00.png Screenshot 2018-12-06 09.41.00.png added
- TYPO3 Version changed from 8 to 9
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
Updated by Susanne Moog about 4 years ago
- 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?
Updated by Stephan Großberndt about 4 years ago
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
Updated by Susanne Moog about 4 years ago
- Category set to Backend User Interface
- Status changed from Needs Feedback to New
Updated by Christian Eßl about 4 years ago
- Related to Bug #69763: Re-login after expired backend session throws exception added
Updated by Christian Eßl about 4 years ago
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.
Updated by Gerrit Code Review about 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63967
Updated by Riccardo De Contardi 10 months ago
- 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).