Skip to content

[v17] Fix web UI database REPL error message on startup#57569

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

[v17] Fix web UI database REPL error message on startup#57569
GavinFrazar merged 1 commit intobranch/v17from
bot/backport-57402-branch/v17

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

Backport #57402 to branch/v17

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/v17 with commit 2dd1aff Aug 6, 2025
43 checks passed
@GavinFrazar GavinFrazar deleted the bot/backport-57402-branch/v17 branch August 6, 2025 18:19
@doggydogworld doggydogworld mentioned this pull request Aug 18, 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