question

Upvotes
Accepted
129 6 14 23

RFA C++: Cannot create the communication socket pair

The RFA C++ Windows application crashed with the following error when starting.

File: ..\..\..\Common\Support\Util\Impl\Pipe.cpp 
Line: 69

Problem:
Cannot create the communication socket pair
RFA_VERIFY(retVal == true) failed

What is the cause of this error?

treprfarfa-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 69 35 53

Internally, RFA creates TCP pipe (socket pair) on the loopback address for inter-process communication among RFA threads. If it is unable to create this TCP pipe, it will throw this exception.

I suggest running a test program which creates a socket pair on the same machine. The test program is socketpair.zip. This program requires ws2_32.lib. If this program is also unable to create a socket pair, the problem could be from a security application running on the machine.

Please verify if there is any security application running on the machine which can block the creation of loopback connection on TCP port 9001. This TCP port is used by RFA C++ for the socket pair connection.


socketpair.zip (760 B)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

I have tried the test program. It failed with 10013 (permission denied). After investigating, the issue was caused by McAfee settings. After rolling back the settings, the RFA application can create a socket pair and run properly.

Click below to post an Idea Post Idea