Skip to Content
0

.NET connector: RfcCommunicationException broken

Dec 27, 2016 at 09:21 AM

79

avatar image

Hi, I have been running into the following exception after running the service for X number of hours (sometimes it runs for 8 hours, sometimes 20, sometime 3, it's not deterministic):

2016-12-26 08:43:29.4078 ERROR RfcServerError occurred in SAP RFC server SAP_SERVER_CONFIGURATION:: 2016-12-26 08:43:29.4078 DEBUG Error type: RfcCommunicationException: 2016-12-26 08:43:29.4078 DEBUG Error message: ERROR connection to partner '10.0.3.167:3321' broken TIME Mon Dec 26 08:43:29 2016 RELEASE 721 COMPONENT NI (network interface) VERSION 40 RC -6 MODULE nixxi.cpp LINE 5082 DETAIL NiIRead: P=10.0.3.167:3321; L=172.20.11.155:65344 SYSTEM CALL recv ERRNO 10054 ERRNO TEXT WSAECONNRESET: Connection reset by peer COUNTER 3 : 2016-12-26 08:43:53.4861 ERROR RfcServerError occurred in SAP RFC server SAP_SERVER_CONFIGURATION:: 2016-12-26 08:43:53.4861 DEBUG Error type: RfcCommunicationException: 2016-12-26 08:43:53.4861 DEBUG Error message: ERROR connection to partner '10.0.3.167:3321' broken TIME Mon Dec 26 08:43:53 2016 RELEASE 721 COMPONENT NI (network interface) VERSION 40 RC -6 MODULE nixxi.cpp LINE 5082 DETAIL NiIRead: P=10.0.3.167:3321; L=172.20.11.155:65340 SYSTEM CALL recv ERRNO 10054 ERRNO TEXT WSAECONNRESET: Connection reset by peer COUNTER 5 : 2016-12-26 08:43:53.4861 ERROR RfcServerError occurred in SAP RFC server SAP_SERVER_CONFIGURATION:: 2016-12-26 08:43:53.4861 DEBUG Error type: RfcCommunicationException: 2016-12-26 08:43:53.4861 DEBUG Error message: ERROR connection to partner '10.0.3.167:3321' broken TIME Mon Dec 26 08:43:53 2016 RELEASE 721 COMPONENT NI (network interface) VERSION 40 RC -6 MODULE nixxi.cpp LINE 5082 DETAIL NiIRead: P=10.0.3.167:3321; L=172.20.11.155:65341 SYSTEM CALL recv ERRNO 10054 ERRNO TEXT WSAECONNRESET: Connection reset by peer COUNTER 7 : 2016-12-26 08:43:53.4861 ERROR RfcServerError occurred in SAP RFC server SAP_SERVER_CONFIGURATION:: 2016-12-26 08:43:53.4861 DEBUG Error type: RfcCommunicationException: 2016-12-26 08:43:53.4861 DEBUG Error message: ERROR connection to partner '10.0.3.167:3321' broken TIME Mon Dec 26 08:43:53 2016 RELEASE 721 COMPONENT NI (network interface) VERSION 40 RC -6 MODULE nixxi.cpp LINE 5082 DETAIL NiIRead: P=10.0.3.167:3321; L=172.20.11.155:52389 SYSTEM CALL recv ERRNO 10054 ERRNO TEXT WSAECONNRESET: Connection reset by peer COUNTER 9 :

Not sure why the above error is manifested 4 times within the log but the code being used is the one copied from the StepByStepServer.cs example.

Having been reading the forums and the tutorial NCo_30_ProgrammingGuide.pdf, it seems the RfcServer should automatically try to reconnect indefinitely. Unfortunately in my case the service stops working completely, the above is the last log before I restart the service manually. It does not receive any calls from SAP anymore until it's restarted.

For reference, I am using .NET connector version 3.0.18 as some people say the 3.0.3 had this bug which was resolved in later versions. Is there a newer version than 3.0.18?

How should the above be tackled?

Thank you.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers