Hi David,
Thank you for the answer, unfortunately the project that I was using GRPC
for is currently on hold so upgrading will have to wait :)
On Thursday, February 16, 2017 at 9:24:22 PM UTC+1, David Garcia Quintas
wrote:
>
> 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 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/bc5e27a1-d83f-43fe-b5f2-0cca87e303c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.