Software caused connection abort: recv failed

Answered

I have an error when running IE driver for my test.

This is full of my error : org.apache.http.impl.client.DefaultHttpClient tryExecute

INFO: I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: recv failed

AUG 19, 2014 3:45:04 PM org.apache.http.impl.client.DefaultHttpClient tryExecute

INFO: Retrying request

Could you please help me to resolve this?

Train Asked on August 19, 2014 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)
    Best answer

    This is a warning message. The native code (C++) component of the IE driver includes an HTTP server, since the driver uses the JSON Wire Protocol for its communications. That HTTP server takes a small amount of time to start and be ready to receive HTTP requests. However, the RemoteWebDriver’s HTTP client (remember that InternetExplorerDriver is a subclass of RemoteWebDriver) cannot know exactly when that server is available, so this causes a race condition. The HTTP client must poll the server until it receives a valid response. When you’re seeing this warning, it’s only telling you that the internal HTTP server hasn’t completed its initialization, and the HTTP client has lost the race. It should be harmless, and you should be able to safely ignore it.

    Regards,
    Lakshay Sharma

    Professor Answered on August 19, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.