Hi Eric, I made an example to replicate the scenario. At the end I've found that the problem in the scalapb implementation of grpc. I'm going to open an issue to them.
thanks, Fabio 2017-07-27 8:47 GMT+01:00 fabio fumarola <[email protected]>: > Will do. > Thank you > > On Thu, 27 Jul 2017 at 04:43, Eric Gribkoff <[email protected]> > wrote: > >> No, the StreamObservers are not shared between separate calls. Could you >> share the client/server logs and/or a minimal reproduction case for the >> issue you're encountering? >> >> Thanks, >> >> Eric >> >> >> >> On Wed, Jul 26, 2017 at 1:18 PM, fabio fumarola <[email protected]> >> wrote: >> >>> Sorry, for server side I means a grpc server running. The 2 clients call >>> both the method 'X'. What I see when I stop one client is a call to the >>> method on error at the server. >>> I found this weird, is the onError on the server shared across different >>> ServerCallStreamObservers? >>> Thanks, >>> Fabio >>> >>> On Wed, 26 Jul 2017 at 18:06, Eric Gribkoff <[email protected]> >>> wrote: >>> >>>> Hi Fabio, >>>> >>>> I'm not sure exactly what you mean by the "server side" part when you >>>> say both clients are doing a "BIDI stream server side". But two separate >>>> clients connected to the same server should work just fine. Do you see >>>> anything in the server logs after the first client disconnects? >>>> >>>> Eric >>>> >>>> On Wed, Jul 26, 2017 at 2:48 AM, <[email protected]> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I have 2 grpc clients written in java running on the same machine but >>>>> in 2 different JVMs. Both the clients doing a BIDI stream server side on >>>>> the same endpoint/method, and I log each time the server sends a message. >>>>> The problem i'm facing is that when I stop one client I don't see log for >>>>> the other client and after a timeout it receive the message onError. Do >>>>> you >>>>> have any insight? is it a bug? >>>>> >>>>> thanks, >>>>> Fabio >>>>> >>>> -- >>>>> 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 [email protected]. >>>> >>>> >>>>> To post to this group, send email to [email protected]. >>>>> 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/597335c4-3a97-4638-93c2-df95c56f50e9%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/grpc-io/597335c4-3a97-4638-93c2-df95c56f50e9%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>> Sent from Gmail Mobile >>> >> >> -- > Sent from Gmail Mobile > -- ______________________________________________________ Fabio Fumarola Ph.D. Math and IT Research @ Unicredit R&D https://www.linkedin.com/pub/fabio-fumarola/7/540/605 mailto:f <[email protected]>[email protected] mailto:[email protected] -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAEpYKZb%2BcTqeFjM%3DKRffOdBNumxb_-XysuStobOqNcntv3tFUA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
