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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×