Skip to content

[v18] Fix web UI database REPL error message on startup#57568

Merged
GavinFrazar merged 1 commit intobranch/v18from
bot/backport-57402-branch/v18
Aug 6, 2025
Merged

[v18] Fix web UI database REPL error message on startup#57568
GavinFrazar merged 1 commit intobranch/v18from
bot/backport-57402-branch/v18

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

Backport #57402 to branch/v18

changelog: Fixed access denied error messages not being displayed in the Teleport web UI PostgreSQL client.

- The websocket must not be closed before an error is written to it.
- Since the Postgres REPL uses a fake dialer returning a single
  connection, we must disable connection fallbacks to avoid obscuring
  the error message with fallback errors attempted after closing the
  connection. This fixes error propagation for access denied errors
  during connection startup.
@GavinFrazar GavinFrazar marked this pull request as ready for review August 5, 2025 19:55
@GavinFrazar GavinFrazar added this pull request to the merge queue Aug 6, 2025
Merged via the queue into branch/v18 with commit be80364 Aug 6, 2025
45 checks passed
@GavinFrazar GavinFrazar deleted the bot/backport-57402-branch/v18 branch August 6, 2025 18:20
@camscale camscale mentioned this pull request Aug 7, 2025
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