Unable to start application on this device." java.net.SocketTimeOutException: Read time out

Katalon Version 5.6.3
Appium version 1.7.2
Android SDK 24.0.0

Also in Progress Information dialog i am getting
C:\Users\deepakv\.katalon\tools\android_sdk do you have the Android SDK installed at this location?


Your Java socket is timing out means that it takes too long to get respond from other device and your request expires before getting response. This exception is occurring on following condition.

  • Server is slow and default timeout is less, so just put timeout value according to you.
  • Server is working fine but timeout value is for less time. so change the timeout value.

Solution: A developer can pre-set the timeout option for both client and server operations.

From Client side:

Socket socket = new Socket();
SocketAddress socketAddress = new InetSocketAddress(host, port);
socket.connect(socketAddress, 12000); //12000 are milli seconds

From Server side:

ServerSocket serverSocket = new new ServerSocket(port);