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(python): Regression in grpcio>=1.59.0 related to grpc thread pool hanging in grpc_google_default_credentials_create #36265

Closed
parthea opened this issue Apr 7, 2024 · 0 comments

Comments

@parthea
Copy link
Contributor

parthea commented Apr 7, 2024

What version of gRPC and what language are you using?

Latest gRPC at HEAD
python

What operating system (Linux, Windows,...) and version?

Linux (ubuntu, rodete)

What runtime / compiler are you using (e.g. python version or version of gcc)

Python 3.9.16
gcc version 13.2.0 (Debian 13.2.0-10)

What did you do?

Please provide either 1) A unit test for reproducing the bug or 2) Specific steps for us to follow to reproduce the bug. If there’s not enough information to debug the problem, gRPC team may close the issue at their discretion. You’re welcome to re-open the issue once you have a reproduction.

See unit test in da7349b where the issue from #34672 was created using grpc.compute_engine_channel_credentials

What did you expect to see?

I expected the code to run successfully (not hang)

What did you see instead?

Code hangs similar to #34672

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).

See TROUBLESHOOTING.md for how to diagnose problems better.

Anything else we should know about your project / environment?

See related issue #34672 where a problem was fixed for grpc_ssl_credentials_create. There is a similar issue here where the call to grpc_google_default_credentials_create also hangs.

See googleapis/python-bigtable#949 where this issue originally was reported.

@parthea parthea changed the title bug(python): Regression in grpcio==1.59.0 related to grpc thread pool hanging in grpc_channel_credentials bug(python): Regression in grpcio==1.59.0 related to grpc thread pool hanging in grpc_google_default_credentials_create Apr 7, 2024
@parthea parthea changed the title bug(python): Regression in grpcio==1.59.0 related to grpc thread pool hanging in grpc_google_default_credentials_create bug(python): Regression in grpcio>=1.59.0 related to grpc thread pool hanging in grpc_google_default_credentials_create Apr 8, 2024
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this issue Apr 16, 2024
…th nogil (grpc#36266)

This fix is similar to grpc#34712 but for `grpc_google_default_credentials_create` rather than `grpc_ssl_credentials_create`

Fixes grpc#36265
Fixes googleapis/python-bigtable#949

Closes grpc#36266

COPYBARA_INTEGRATE_REVIEW=grpc#36266 from parthea:repro-issue-34672 d736f6f
PiperOrigin-RevId: 623291826
XuanWang-Amos added a commit that referenced this issue Apr 16, 2024
…th nogil (v1.62.x backport) (#36376)

Backport of #36266 to v1.62.x.
---
This fix is similar to #34712 but for
`grpc_google_default_credentials_create` rather than
`grpc_ssl_credentials_create`

Fixes #36265
Fixes googleapis/python-bigtable#949

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants