cancel
Showing results for 
Search instead for 
Did you mean: 

WSAECONNRESET error in SAP

former_member183044
Active Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

feng_shi
Active Participant

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

former_member183044
Active Participant
0 Kudos

Feng,

Thanks for the reply.

The problem only exists in one new PC. All the other systems not getting any error.

Regards

Praveen

former_member182034
Active Contributor
0 Kudos

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,

Answers (3)

Answers (3)

raviraj_sap
Participant
0 Kudos

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.

Former Member
0 Kudos

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

former_member183044
Active Participant
0 Kudos

Hi Ashish,

Thanks for the reply......

No dumps in ST22.

Also no loss in ping...

Regards

Praveen

Former Member
0 Kudos

Hi Praveen,

Do tracerout for SAP host.

Also do ping test for multiple hops and not 4.

Have you checked the error which I pasted found in trace.txt .

Regards,

Ashish

former_member183044
Active Participant
0 Kudos

Ashish,

where is the trace file u've attached?

Regards

Praveen

former_member182034
Active Contributor
0 Kudos

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?)