ydb-go-sdk icon indicating copy to clipboard operation
ydb-go-sdk copied to clipboard

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

Open neyguvj opened this issue 7 months ago • 0 comments

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 avatar Jul 29 '24 16:07 neyguvj