+Lidi Zheng <li...@google.com>, who will be available for any follow-up questions (it will be easier for him to notice your questions if you include his email address on the "to:" line)
Hi Alex, Sorry for the delay. I was not able to reproduce the problem; it looks like you are running on Windows, in which case gRPC's fork handlers are not registered/run, so those shouldn't be the cause here . Since the reproduction example also uses CherryPy websockets, it's quite possible the issue stems from that software rather than the gRPC stack - we'd likely need a reproduction case that only uses gRPC, without the websockets, to be able to help debug this further. Thanks, Eric On Mon, Mar 4, 2019 at 2:36 AM Alex <negral...@gmail.com> wrote: > Hi Eric, > > Just wondering if you had time to run my attached example and managed to > reproduce the problem? > > Thanks, > Alex. > > On Wednesday, February 20, 2019 at 7:04:51 PM UTC, Eric Gribkoff wrote: >> >> Can you post the code you're using to reproduce this error? If you're >> using subprocess.Popen (or otherwise using fork+exec) to start the C++ grpc >> client process, the C++ client itself cannot be interfering with the Python >> process. Something could be going wrong in the gRPC core fork handlers, >> however - you can try running with the environment variable >> `GRPC_ENABLE_FORK_SUPPORT=0` to disable this feature and see if it fixes >> the issue. >> >> Also, in your step 5 you note that the C++ client isn't communicating >> with the server. If you remove the fork+exec of a C++ subprocess >> altogether, do you still see this intermittent exception in the Python >> client? >> >> Eric >> >> On Wed, Feb 20, 2019 at 6:57 AM Alex <negr...@gmail.com> wrote: >> >>> I should add that the Python client application which owns the Python >>> grpc client is the one that runs the C++ grpc client as a subprocess in >>> case that makes a difference. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "grpc.io" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to grpc-io+u...@googlegroups.com. >>> To post to this group, send email to grp...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/grpc-io. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/grpc-io/b323fac3-978b-47c1-b1fa-555c2f62b544%40googlegroups.com >>> <https://groups.google.com/d/msgid/grpc-io/b323fac3-978b-47c1-b1fa-555c2f62b544%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to grpc-io+unsubscr...@googlegroups.com. > To post to this group, send email to grpc-io@googlegroups.com. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/af4d55fa-a5e0-4e3f-a5ad-9cb62378703d%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/af4d55fa-a5e0-4e3f-a5ad-9cb62378703d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CALUXJ7ji8OA1MwzZ5DHPjN0vy%3DvP1sc2gE6TCvT%2BAzHOXgCkLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.