Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

context canceled spams Proxy log for every database connection #31367

Closed
greedy52 opened this issue Sep 1, 2023 · 0 comments · Fixed by #31441
Closed

context canceled spams Proxy log for every database connection #31367

greedy52 opened this issue Sep 1, 2023 · 0 comments · Fixed by #31441
Assignees
Labels
bug database-access Database access related issues and PRs test-plan-problem Issues which have been surfaced by running the manual release test plan

Comments

@greedy52
Copy link
Contributor

greedy52 commented Sep 1, 2023

Expected behavior:
A "normal" database connection shouldn't spam proxy log

Current behavior:

2023-09-01T17:36:49Z ERRO [DB:PROXY]  Failed to handle database TLS connection. error:[
ERROR REPORT:
Original Error: *errors.errorString context canceled
Stack Trace:
	github.com/gravitational/teleport/lib/srv/db/proxyserver.go:532 github.com/gravitational/teleport/lib/srv/db.(*ProxyServer).Proxy
	github.com/gravitational/teleport/lib/srv/db/proxyserver.go:364 github.com/gravitational/teleport/lib/srv/db.(*ProxyServer).handleConnection
	github.com/gravitational/teleport/lib/srv/db/proxyserver.go:303 github.com/gravitational/teleport/lib/srv/db.(*ProxyServer).ServeTLS.func1
	runtime/asm_amd64.s:1650 runtime.goexit
User Message: context canceled] db/proxyserver.go:305

Bug details:

  • Teleport version: 14.0.0-alpha.2
  • Recreation steps: tsh db connect <redis> and quit

Test Plan: #31122

@greedy52 greedy52 added bug test-plan-problem Issues which have been surfaced by running the manual release test plan labels Sep 1, 2023
@greedy52 greedy52 self-assigned this Sep 1, 2023
@greedy52 greedy52 added the database-access Database access related issues and PRs label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug database-access Database access related issues and PRs test-plan-problem Issues which have been surfaced by running the manual release test plan
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant