Project

General

Profile

Actions

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 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-08-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Screenshot 2018-12-06 09.41.00.png (64.1 KB) Screenshot 2018-12-06 09.41.00.png Christoph Kratz, 2018-12-06 09:41

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #69763: Re-login after expired backend session throws exceptionClosedNicole Cordes2015-09-13

Actions
Actions #1

Updated by Christoph Kratz over 5 years ago

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

Actions #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?

Actions #3

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

Actions #4

Updated by Susanne Moog about 4 years ago

  • Category set to Backend User Interface
  • Status changed from Needs Feedback to New
Actions #5

Updated by Christian Eßl about 4 years ago

  • Related to Bug #69763: Re-login after expired backend session throws exception added
Actions #6

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.

Actions #7

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

Actions #8

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).

Actions

Also available in: Atom PDF