Skip to Content

WSAECONNRESET error in SAP

Hi all,

In a new PC, i installed GUI and started working. But in five minutes time, GUI is logged out and showing the error message "WSAECONNRESET:connection reset by peer".


For this i searched and found that this is a network related error and found one solution that firewall has to be disabled. I checked in services and there i found that windows firewall is already disabled.

I also done the saplogon trace. There also same message is showing. Trace file is attahced.

How i can overcome this problem? Kindly help...

Regards

Praveen

trace.txt.zip (35.5 kB)
1.PNG (10.3 kB)
2.PNG (16.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Mar 30, 2016 at 08:27 AM

    Hi Praveen,

    The "connection reset by peer" (Return code 10054?) is a clear indication for a network problem as this error is thrown by the operating system.

    On Windows this can be caused by

    - a physicaly interupted connection (network cable pulled out or a

    defective NIC/switch/bridge/router) or

    - a network timeout caused by a firewall dropping packets (e.g. after an

    idle timeout).

    - a black hole router

    please also see

    1139596 - SAP GUI: Connection to partner 'sapserver:sapdp00' broken

    Thanks and best regards,

    Shi

    Add comment
    10|10000 characters needed characters exceeded

    • Dear praveen,

      If you are getting this issue on new PC then you need to check its LAN card, network cable. may be issue in new PC. so, put a old PC on place of new and check where is Issue in Network cable or LAn card.

      Regards,

  • Mar 30, 2016 at 10:23 AM

    Hello,

    Your error points toward network issue, do the multiple ping and tracerout from your NEW PC to SAP host and check where packet drops are happening.

    Also we can see below error in trace.txt

    -----------------------------------------------------------------------------------------------

    ReaderThread(StopWatch: 12:15:921): message 160 for mode 0 length 0 bytes read from network

    error in Logging::Write: buffer size too small 'C:\Users\DELL\AppData\Local\SAP\SAP GUI\Traces\sapgui_0002.log'

    ReaderThread: message read returned rc=1

    -----------------------------------------------------------------------------------------------

    Check if any abap dumps are occurring after disconnection. Refer SAP note#167229.

    Regards,

    Ashish

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2016 at 07:29 AM

    hi Praveen,

    Please go through these SAP notes. It might be helpful.

    2151862 - How to analyse connection issues to the message server

    1519484 - How to analyze network disconnections shown in system log (BC transaction SM21)

    155147 - WinNT: Connection reset by peer

    2189918 - SAP gateway communication error (Is SAP gateway closed?)

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2016 at 12:57 PM

    Hi Praveen

    Use SAP tool NIPING to measure throughput that is currently possible & post the results:

    -Start the NIPING server on <target_host> using :

    niping -s

    -Start the NIPING client on <source_host> using:

    niping -c -H <target_host> -B 30000

    For more information about NIPING see SAP Note 500235.

    Also, compare patch level of different GUI in your network, if possible try to update your SAP GUI.

    Add comment
    10|10000 characters needed characters exceeded