Skip to content

bug(python): Regression in grpcio>=1.59.0 related to grpc thread pool hanging in grpc_google_default_credentials_create #36265

@parthea

Description

@parthea

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions