Jump to content
WAPT Forum
Sign in to follow this  
Guest Romain

erroneous Socket Error 10054 / TCP issue

Recommended Posts

Guest Romain

Hello,

 

I noticed in the forum multiple topics regarding one of these two issues, and here is my analysis.

 

I could find WAPT 5.0 reporting 10054 when it should not. To reproduce this scenario, just set HTTP keep-alive ON, set a (WAPT timeout + user think time) greater than web server keep-alive timeout. On a standard configuration, that would mean 120 seconds (WAPT default) + user think time, which is greater than the usual 120 second value on server-side, thus explaining why this issue can be avoided by disabling think time. The error then trigger whenever reply delay + next think time is greater than HTTP server keep-alive timeout.

 

As for the cause, it is due to bad TCP management on WAPT side: when the server closes the connection on his side (sending FIN flag and going FIN_WAIT_2), WAPT first sends the next HTTP request before sending the FIN flag and closing the connection from his side. This is perfectly valid at TCP level, but WAPT is still waiting for the HTTP reply on a closed TCP connection, and goes wild when receiving RST packets on this one. Maybe the server should not close the connections at this point, but WAPT should be aware of the underlying transmission protocol state.

 

Hope this issue will be solved in a future version, it is pretty diffucult to perform realistic tests without keep-alive or user think time.

 

Regards,

 

Romain

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...