Hi Okke, Not really answering what the cause of that error was, but, would it be possible for you to upgrade to a more recent version? Lots of bug fixes have happened around that part of the codebase.
On Wednesday, 30 November 2016 00:37:00 UTC-8, Okke Hendriks wrote: > > > Hello, > > I am using gRPC C++ 1.0.0 and running multiple nightly tests. > One of these tests is qualifying if on/multiple client can connect to a > server. > Sporadically i am getting the following error in the output of my tests: > > tcp_server_posix.c:395] Failed accept4: Invalid argument > > When this happens, client are also unable to connect: > > connection.test.h:71: Failure > Value of: mClient->Connected() > Actual: false > Expected: true > connection.test.h:72: Failure > Value of: mClient->WaitForConnected(std::chrono::milliseconds( > TEST_CONNECTION_WAIT)) > Actual: false > Expected: true > > So it seems that the server never starts running or at least does not > accept connections. > > When checking linux manual I am seeing the following: > *EINVAL* (*accept4*()) invalid value in *flags*. > > The server and client(s) are both created in the same gtest process, > running on a port on localhost. > > I am not yet able to reproduce this consistently, but I am asking anyway > in the hope this is known to someone here, or if somebody has an idea to > reproduce this more consistently. > -- 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/e837a751-9eea-474f-9baa-f007666906d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
