Try adding extra logs
https://github.com/grpc/grpc/blob/master/TROUBLESHOOTING.md

On Tue, Jul 23, 2019 at 3:52 PM <[email protected]> wrote:

> Hello everyone,
>
> I have the C# dotnet core client running on linux:
>
> ...
> public async void TestGetX()
>         {
>             // Create a stub
>             var server = new TestServer();
>
>             // Connect to the stubbed server
>             using (var referance = TestingFactory.Create(Testing.Config))
>             {
>                 // Add two elements
>                 server.Element.AddX("Something");
>                 server.Element.AddX("Something Else");
>
>                 // Retrieve the elements via some api that the referance
> uses
>                 var elements = await
> refferance.GetX().ConfigureAwait(false);
>
>                 // Check that there are two elements
>                 Assert.Equal(2, elements.Count);
>             }
>             await server.StopServerAsync().ConfigureAwait(false);
>         }
> ...
>
>
> Half of the times I run this code it works fine, the other half it fails
> trying to get the elements at "var elements = await
> refferance.GetX().ConfigureAwait(false);" with the following error message:
>
> Status(StatusCode=Unavailable, Detail="Socket closed")
>
> If I retry to do the call it works always on the second try. Do you have
> any idea what would cause this issue?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/6f162e72-251c-4202-a5fe-bf0060b462eb%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/6f162e72-251c-4202-a5fe-bf0060b462eb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

Jan

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CACF4M0QG1wj91yt3BMkpB_9Q%2BqaiwOgyb-cJng%3DUScjn17my%2Bw%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to