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
Python insecure channel doesn't close properly when Exception is raised #6666
Comments
In my testing this error occurred any time an error was returned from a grpc method. Eg if you modified this line in the hello world example: to: a request from a python client should hang. I'm happy to provide more specifics or contribute a complete example to help debug. I haven't attempted to use |
Here's an example stack trace:
^^^ note that there are two tracebacks in this snip, the second after I |
I think this issue is related with #4969 , if channel and stub not closed (not called exit), everything get stuck. CTRL+C will not work. |
Verified that the issue is fixed after the GA changes, the program properly exists on raising an exception both before and after the connection is established. |
@kpayson64 by GA presumably you mean the 0.15 release? Now that this issue is closed I'm hoping to track the fix to a release point so I can incorporate it once it's available (either via pypi or a source build). Looks like pypi is updated promptly after the release tag comes down, so I'll watch the github release page https://github.com/grpc/grpc/releases (unless you recommend I watch somewhere else) |
@kasey Yes, this fix will be incorporated into the 0.15 release. |
A user writes:
The text was updated successfully, but these errors were encountered: