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

bug: Real error from session pool is hidden by DeadlineExceeded from retrier. #1367

Open
neyguvj opened this issue Jul 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@neyguvj
Copy link
Collaborator

neyguvj commented Jul 29, 2024

Bug Report

YDB GO SDK version:

3.75.2

Environment

linux amd64

Current behavior:

An error occurred (DeadlineExceeded) when calling the PutItem operation (reached max retries: 2): non-retryable error occurred on attempt No.1 (idempotent=true): failed to get session from pool (attempts: 6, latency: 29.993258611s, pool has 0 sessions (0 busy, 0 idle, 0 create_in_progress): context deadline exceeded at `github.com/ydb-platform/ydb-go-sdk/v3/internal/table.(*Client).internalPoolWaitFromCh(client.go:548)` at `github.com/ydb-platform/ydb-go-sdk/v3/internal/table.(*Client).internalPoolGet(client.go:413)` at `github.com/ydb-platform/ydb-go-sdk/v3/internal/table.handleNoProgress(client.go:466)` at `github.com/ydb-platform/ydb-go-sdk/v3/internal/table.do.retryBackoff.func2(retry.go:75)` at `github.com/ydb-platform/ydb-go-sdk/v3/retry.Retry.func1(retry.go:264)` at `github.com/ydb-platform/ydb-go-sdk/v3/retry.opWithRecover(retry.go:411)` at `github.com/ydb-platform/ydb-go-sdk/v3/retry.RetryWithResult(retry.go:356)` at `github.com/ydb-platform/ydb-go-sdk/v3/retry.Retry(retry.go:270)` at `github.com/ydb-platform/ydb-go-sdk/v3/internal/table.(*Client).Do(client.go:677)

Expected behavior:

Real error from session pool returned

rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate is valid for ... not ..."

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

@neyguvj neyguvj added the bug Something isn't working label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant