This error has a number of possible causes, though in most instances it is the result of a failure or limitation in one of the components of the System Under Test (SUT), usually under load conditions. Definition of the error: The "HTTP 1011 - unexpected connection close during read" error occurs when an open connection to the server, on which the SilkPerformer replay engine expects to receive more data, is closed before that data is received and without the normal TCP handshake for closing connections gracefully. This handshake should be as follows: i. Server: FIN ii. Client: ACK iii. Client: FIN iv. Server: ACK Thus, for example, the error will occur if the server under test sends a TCP RESET to close the connection unexpectedly. It may also occur if the connection was broken at any point between the client and the server. Cases logged to Technical Support have been traced to issues with switches, proxy servers, SSL accelerators and loadbalancers. Note that these errors are reported more accurately in SilkPerformer 5.x than 4.x, so it is possible that tests than ran without error in 4.x will begin to report this error in tests using 5.x. Effect on the end-user: The effect on the end user could be anything from almost imperceptible to critical. Consider the difference between closing a connection while downloading spacer.gif versus the site homepage. Without further investigation it is impossible to say and a careful study of the replay log and TrueLog on Error files need to be made. This will show exactly what the users experiencing such errors would see. The HTTP 1011 error often occurs proceeded by a SSL security warning: WebPageUrl(Security: 267 - wrong version number, SSLRecv() failed) WebPageUrl(HTTP: 1011 - unexpected connection close during read., recv()) This is usually the result of a component (e.g loadbalancer) sending an incorrect (corrupted) SSL version number, which leads to the Security: 267 - wrong version number, and subsequent connection close. There are several other possible causes of HTTP 1011 errors which are a result of defects in SilkPerformer. These are detailled below: 1. "WebPageForm(HTTP: 1011 - unexpected connection close during read., unexpected error)" If an error occurs during a post of a HTTP Body larger than 8Kb, an "unexpected error" MAY raised (it is not necessarily so - it will depend on when the error happens). Therefore no request retry is made. In this case "unexpected error" means, that SilkPerformer is not able to recognize the source of the error. In this case SilkPerformer should make one retry (as IE would). This is a known issue and was fixed in SilkPerformer V 5.1 Service Pack 1. 2. "HTTP 1011 - unexpected connection close during read" received when running a test that uploads a large file ( 17kb) to a server via SSL. This was a known issue in SP V Build 1158 and was fixed in SilkPerformer V 5.1. 3. "HTTP: 1011 - unexpected connection close during read, Server Error" This error can be generated if the end of the response header cannot be detected by SilkPerformer. For example if the content-length header is the last header value listed and is only delimited with a \n then SilkPerformer will not correctly detect the end of the response. HTTP/1.0 200 OK \r\n Date : Mon 18 Feb 2002 \r\n Expires : Mon 18 Feb 2002 \r\n Connection : Close \r\n Content-Length : 43 \n This was a known issue in SP V Build 1158 and was fixed in SilkPerformer V 5.1. Old KB# 19244
↧