mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 13:46:02 +03:00
[GH-ISSUE #866] Make session expiration check configurable #214
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JDarDagran on GitHub (May 27, 2022).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/866
Is your feature request related to a problem? Please describe.
I'm keeping CloudBeaver session cookies behind reversed proxy. Therefore browser does not keep cookies. This results in session expired warnings.
Describe the solution you'd like
I'd like to set POLL_INTERVAL to be configurable from config
github.com/dbeaver/cloudbeaver@fac1d3954d/webapp/packages/core-app/src/shared/SessionExpireWarningDialog/SessionExpireWarningDialogService.ts (L19)or to have session expired configurable to be turned off.
@kseniiaguzeeva commented on GitHub (Jun 1, 2022):
Reverse proxy doesn't affect the session expiration time. Could you please try to configure it also in
.cloudbeaver,runtime.conf(expireSessionAfterPeriod)?@JDarDagran commented on GitHub (Jun 1, 2022):
I have this configured to 1800000, still this does not help. The issue is that the browser does not have any CloudBeaver cookie and looking at the code of
SessionExpireWarningDialogServiceif there's no cookiegithub.com/dbeaver/cloudbeaver@fac1d3954d/webapp/packages/core-app/src/shared/SessionExpireWarningDialog/SessionExpireWarningDialogService.ts (L56)it will treat it as session expired.
@JDarDagran commented on GitHub (Jun 6, 2022):
@kseniiaguzeeva do you think it's feasible to add as a feature?
@Wroud commented on GitHub (Jun 6, 2022):
Hi, can you check if you have
cb-session-idcookie please. If you don't have it, it's probably some issue with setting cookies in browser, it can be related to browser / nginx settings.@JDarDagran commented on GitHub (Jun 6, 2022):
I'm probably misunderstood. The browser does not keep cookies, it's forced per design we have as a workaround. Proxy stores cookies and attaches it back to CloudBeaver.
The question is if it would be possible to add what I asked for in the issue.
@Wroud commented on GitHub (Jun 6, 2022):
I see, we can make session expire mechanism configurable
@JDarDagran commented on GitHub (Jun 6, 2022):
That's great, thank you!
@devnaumov commented on GitHub (Jul 7, 2022):
We've added the new parameter "core.cookies.disabled" to the config in the 22.1.1 release. It will allow you to disable polling functionality.
Also, we are planning to rethink the Session Expired behavior in the 22.1.3 release so it doesn't depend on the specific cookies.