org.openqa.selenium.remote.UnreachableBrowserException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • High loading test with Rest Assured
    via by Lobastov Andrey,
  • Periodically, we run into the following message on our Windows Vista (32-bit) slave VM. Note that this happens ONLY on the Windows slave, and that nothing else has changed in our infrastructure or job definitions except the Hudson version. ---- ... Updating http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x ERROR: Failed to update http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x org.tmatesoft.svn.core.SVNException: svn: No buffer space available (maximum connections reached?): connect svn: OPTIONS request failed on '/repos/asf/maven/components/branches/maven-2.1.x' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:103) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:87) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:601) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:143) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:339) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:327) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:426) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:394) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:210) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:505) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:476) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createPlainSocket(SVNSocketFactory.java:53) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:167) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:307) ... 23 more ---- At the same time, if I look at the log for that node, I see: ---- [04/02/09 14:57:44] Launching slave agent $ ssh vista2.grid.sonatype.com cmd /C C:/opt/hudson/slave/start.bat At revision 158. ���channel started Starting periodic ping thread This is a Windows slave Copied maven-agent.jar Copied maven-interceptor.jar Can't load log handler "java.util.logging.FileHandler" java.io.IOException: Couldn't get lock for %u/.hudson/hudson%u.log java.io.IOException: Couldn't get lock for %u/.hudson/hudson%u.log at java.util.logging.FileHandler.openFiles(FileHandler.java:372) at java.util.logging.FileHandler.<init>(FileHandler.java:208) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at java.util.logging.LogManager$7.run(LogManager.java:911) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:903) at java.util.logging.LogManager.access$900(LogManager.java:129) at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:1010) at java.util.logging.Logger.log(Logger.java:454) at java.util.logging.Logger.doLog(Logger.java:480) at java.util.logging.Logger.log(Logger.java:569) at hudson.Proc$LocalProc.join(Proc.java:157) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:504) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:485) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Apr 2, 2009 10:00:34 PM hudson.Proc$LocalProc join WARNING: Process leaked file descriptors. See http://hudson.gotdns.com/wiki/display/JENKINS/Spawning+processes+from+build for more information java.lang.Exception at hudson.Proc$LocalProc.join(Proc.java:156) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:504) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:485) at hudson.remoting.UserRequest.perform(UserRequest.java:92) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Apr 3, 2009 10:00:17 AM hudson.remoting.Channel$ReaderThread run SEVERE: Failed to execute command UserRequest:hudson.FilePath$FileCallableWrapper@4b495a java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at hudson.remoting.Request.execute(Request.java:231) at hudson.remoting.Channel$ReaderThread.run(Channel.java:675) Apr 3, 2009 10:00:17 AM hudson.remoting.Channel$ReaderThread run SEVERE: This command is created here Command UserRequest:hudson.FilePath$FileCallableWrapper@4b495a created at at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Request.<init>(Request.java:75) at hudson.remoting.UserRequest.<init>(UserRequest.java:57) at hudson.remoting.Channel.call(Channel.java:480) at hudson.FilePath.act(FilePath.java:545) at hudson.FilePath.mkdirs(FilePath.java:600) at hudson.model.AbstractProject.checkout(AbstractProject.java:806) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)
    via by jdcasey,
    • org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died. Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 21:09:54' System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_26' Driver info: driver.version: Driver at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:493) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:502) at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:372) at com.ags.aft.webdriver.common.AFTSeleniumBase.stopSelenium(AFTSeleniumBase.java:504) at com.ags.aft.engine.webdriver.XAFTWebDriverEngine.tearDown(XAFTWebDriverEngine.java:209) at com.ags.aft.runners.TestBatchRunner.tearDown(TestBatchRunner.java:683) at com.ags.aft.runners.TestBatchRunner.exitTestBatchRunner(TestBatchRunner.java:843) at com.ags.aft.runners.TestBatchRunner.execute(TestBatchRunner.java:567) at com.ags.aft.main.Driver.main(Driver.java:122) Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    filipebatistafilipebatista
    9 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    tvrmsmithtvrmsmith
    1 times, last one,
    rocdayrocday
    17 times, last one,
    55 more bugmates