The test cases are hanging for 3 hrs in sauce. I have tried solutions for TCP connection issue in sauce with selenium(using selenium and java) versions 3.11.0 , 3.141.59. But it is not working. I am triggering the test suite from eclipse with sauce labs and Azure Devops with sauce labs. If any one knows the answer Please share the solutions to reduce the socket time.
Please find the socket timeout code I have tried.
ApacheHttpClient.Factory clientFactory = new ApacheHttpClient.Factory(new HttpClientFactory(1000, 3600));
hubURL = new URL("http://" + driverHost + ":" + driverPort + "/wd/hub");
HttpCommandExecutor executor = new HttpCommandExecutor(new HashMap<String, CommandInfo>(), hubURL, clientFactory);
Thanks in advance.