-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
type: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
Spring Boot Version: 2.0.0.M7
The new support for Duration objects in configuration classes broke the session timeout setting when using Undertow.
This change sets the timeout as minutes but Undertow interprets the number as seconds.
So setting
server:
session:
timeout: 120
will actually result in a 2 second timeout for session.
Workaround: Specify the wanted seconds as minutes:
server:
session:
timeout: 120m
Edit:
To observe this you can set
logging:
level:
io.undertow.session: TRACE
and watch the logs for session invalidation.
alexgutjahr
Metadata
Metadata
Assignees
Labels
type: regressionA regression from a previous releaseA regression from a previous release