Skip to content

[v17] fixed db session page refresh and dev server terminal issues (#63644)#63988

Open
nibrasohin wants to merge 1 commit intobranch/v17from
ohin/backport-63644-branch/v17
Open

[v17] fixed db session page refresh and dev server terminal issues (#63644)#63988
nibrasohin wants to merge 1 commit intobranch/v17from
ohin/backport-63644-branch/v17

Conversation

@nibrasohin
Copy link
Contributor

@nibrasohin nibrasohin commented Feb 19, 2026

backport #63644

What Changed

Fixed Two related issues with database sessions in the Web UI:

  1. Page refresh shows empty page: After connecting to a database, the URL changed to /web/cluster/<cluster>/console/db/session/new, which lost the database name. Refreshing the page resulted in an empty screen because:

    • The URL no longer contained the database service name
    • Fix: The URL change to a session route was unnecessary and caused the page refresh bug so removed it
  2. Dev server terminal broken: Database connections on the Vite dev server (port 3000) showed a blank terminal with no PostgreSQL prompt, while connections through the Teleport proxy (port 3080) worked correctly. This was due to a missing WebSocket proxy configuration.

    • Fix: The Vite dev server proxy configuration had rules for SSH (/connect) and Kubernetes (/kube/exec) WebSocket connections, but was missing the database exec endpoint (/db/exec) so added that.

Manual Testing

  • Validated in branch/v18 that after connecting to a db from the web-ui and refreshing page lands them back on the connect dialog box.
image

Issue

#63014

Changelog

changelog: Fixed db session page refresh redirecting to empty page

…3644) (#63938)

* fix: fixed db session page refresh

* chore: updated test to test out integration layer

* chore: updated tests to use the real useDocumentDb logic

* chore: updating tests reflecting on pr feedback
@nibrasohin nibrasohin force-pushed the ohin/backport-63644-branch/v17 branch from f3d2ef8 to bb41e87 Compare February 19, 2026 20:12
@nibrasohin nibrasohin marked this pull request as ready for review February 19, 2026 20:12
@github-actions github-actions bot requested a review from avatus February 19, 2026 20:12
@nibrasohin nibrasohin changed the title fix: fixed db session page refresh and dev server terminal issues (#63644) [v17] fixed db session page refresh and dev server terminal issues (#63644) Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments