java.net.SocketTimeoutException: Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method)

Appcelerator JIRA | benway | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {html}<div><p>I am working on Aptana Studio, build: 2.0.4.1268158907 on Ubuntu 10.04 and I am trying to activate the Git version control plugin in: Help &gt; Install Aptana features and in the pop-up window I choose "Other", then "Source Control" and then "Git". After half a minute, an error screen appears that suggest I make a bug report, and this is it (see attached screendump).</p> <p>This is the last entry in my aptana log:</p> <p>!ENTRY com.aptana.ide.installer 4 0 2010-10-21 10:35:03.464 !MESSAGE (Build 2.0.0.1255027359) <a href= "/projects/45260/changesets/ERROR" title= "Changeset [ERROR]">[ERROR]</a> Unexpected error encountered while preparing for the operation. !STACK 0 com.aptana.ide.update.manager.PluginManagerException: Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.install(P2Eclipse35PluginManager.java:190) at com.aptana.ide.installer.wizard.InstallerWizard.performFinish(InstallerWizard.java:98) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:131) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:111) at com.aptana.ide.installer.actions.InstallFeatureAction.run(InstallFeatureAction.java:83) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.ide.rcp.IDEApplication.start(IDEApplication.java:121) at com.aptana.ide.desktop.integration.Application.start(Application.java:56) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)</code> </pre> <p>Caused by: org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Communication with repository at <a href= "http://download.eclipse.org/egit/updates/">http://download.eclipse.org/egit/updates/</a> failed.<br></p> <pre> <code>at org.eclipse.equinox.internal.p2.metadata.repository.CacheManager.createCache(CacheManager.java:136) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.getLocalFile(CompositeMetadataRepositoryFactory.java:61) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.validateAndLoad(CompositeMetadataRepositoryFactory.java:103) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:87) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:54) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:669) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:617) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager$3.run(P2Eclipse35PluginManager.java:346) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)</code> </pre> <p>Caused by: java.net.SocketTimeoutException: Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:204) at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)</code> </pre></div>{html}

    Appcelerator JIRA | 6 years ago | benway
    java.net.SocketTimeoutException: Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method)
  2. 0

    {html}<div><p>I am working on Aptana Studio, build: 2.0.4.1268158907 on Ubuntu 10.04 and I am trying to activate the Git version control plugin in: Help &gt; Install Aptana features and in the pop-up window I choose "Other", then "Source Control" and then "Git". After half a minute, an error screen appears that suggest I make a bug report, and this is it (see attached screendump).</p> <p>This is the last entry in my aptana log:</p> <p>!ENTRY com.aptana.ide.installer 4 0 2010-10-21 10:35:03.464 !MESSAGE (Build 2.0.0.1255027359) <a href= "/projects/45260/changesets/ERROR" title= "Changeset [ERROR]">[ERROR]</a> Unexpected error encountered while preparing for the operation. !STACK 0 com.aptana.ide.update.manager.PluginManagerException: Unexpected error encountered while preparing for the operation.<br></p> <pre> <code>at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.getInstallationUnits(P2Eclipse35PluginManager.java:412) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager.install(P2Eclipse35PluginManager.java:190) at com.aptana.ide.installer.wizard.InstallerWizard.performFinish(InstallerWizard.java:98) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:131) at com.aptana.ide.installer.Activator.launchWizard(Activator.java:111) at com.aptana.ide.installer.actions.InstallFeatureAction.run(InstallFeatureAction.java:83) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.ide.rcp.IDEApplication.start(IDEApplication.java:121) at com.aptana.ide.desktop.integration.Application.start(Application.java:56) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)</code> </pre> <p>Caused by: org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Communication with repository at <a href= "http://download.eclipse.org/egit/updates/">http://download.eclipse.org/egit/updates/</a> failed.<br></p> <pre> <code>at org.eclipse.equinox.internal.p2.metadata.repository.CacheManager.createCache(CacheManager.java:136) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.getLocalFile(CompositeMetadataRepositoryFactory.java:61) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.validateAndLoad(CompositeMetadataRepositoryFactory.java:103) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:87) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:54) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:669) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:617) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:88) at com.aptana.ide.update.internal.manager.P2Eclipse35PluginManager$3.run(P2Eclipse35PluginManager.java:346) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)</code> </pre> <p>Caused by: java.net.SocketTimeoutException: Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:204) at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)</code> </pre></div>{html}

    Appcelerator JIRA | 6 years ago | benway
    java.net.SocketTimeoutException: Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method)
  3. 0

    ProvisionException when downloading Groovy plugin for Eclipse

    Stack Overflow | 4 years ago | Robert
    org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://dist.springsource.org/release/GRECLIPSE/e4.2/content.xml.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Updates in STS result in Read timed out on Win7_64 - Spring Forum

    spring.io | 8 months ago
    java.net.SocketTimeoutException: Read timed out
  6. 0

    Provisioning exception

    GitHub | 6 years ago | reprogrammer
    org.eclipse.equinox.p2.core.ProvisionException: Communication with repository at http://download.eclipse.org/technology/epp/packages/helios/R/ failed.

  1. tfr 7 times, last 10 months ago
  2. Indri Yunita 4 times, last 3 weeks ago
  3. mauritius 1 times, last 4 months ago
  4. kid 1 times, last 8 months ago
  5. danleyb2Interintel 1 times, last 9 months ago
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketTimeoutException

    Read timed out<br></p> <pre> <code>at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.read()
  2. Java RT
    BufferedInputStream.read
    1. java.net.SocketInputStream.read(SocketInputStream.java:129)
    2. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    3. java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    3 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
    2. org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
    3. org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
    4. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
    5. org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
    6. org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
    7. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    8. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    9. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    10. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    11. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    11 frames
  4. org.eclipse.ecf
    AbstractFileSystemBrowser$DirectoryJob.run
    1. org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:204)
    2. org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71)
    2 frames