java.net.SocketTimeoutException: connect timed out

Google Groups | Kaj Hejer | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".
    via GitHub by lnalex
  2. 0

    Java HTTPS Connection refused

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection refused
  3. 0

    java.net.ConnectException: Connection refused with Google Maps

    Stack Overflow | 10 months ago | María Belén Esteban Menéndez
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 22#65062548

    GitHub | 2 years ago | vinodkc
    java.net.ConnectException: Connection timed out: connect
  6. 0

    unknown host exception for all amazon s3 url input - hacker earth

    Stack Overflow | 2 years ago | stckuser295
    java.net.UnknownHostException: he-s3.s3.amazonaws.com

    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

      connect timed out

      at java.net.PlainSocketImpl.socketConnect()
    2. Java RT
      HttpsURLConnectionImpl.connect
      1. java.net.PlainSocketImpl.socketConnect(Native Method)
      2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
      3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
      4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
      5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      6. java.net.Socket.connect(Socket.java:589)
      7. sun.net.NetworkClient.doConnect(NetworkClient.java:175)
      8. sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
      9. sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
      10. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
      11. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
      12. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      13. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
      14. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
      15. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      16. sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
      16 frames
    3. Dependency-Check Utils
      Downloader.getLastModified
      1. org.owasp.dependencycheck.utils.Downloader.getLastModified(Downloader.java:261)
      2. org.owasp.dependencycheck.utils.Downloader.getLastModified(Downloader.java:281)
      3. org.owasp.dependencycheck.utils.Downloader.getLastModified(Downloader.java:228)
      3 frames
    4. org.owasp.dependencycheck
      UpdateableNvdCve.add
      1. org.owasp.dependencycheck.data.update.nvd.UpdateableNvdCve.add(UpdateableNvdCve.java:101)
      1 frame
    5. Dependency-Check Core
      Engine.analyzeDependencies
      1. org.owasp.dependencycheck.data.update.NvdCveUpdater.retrieveCurrentTimestampsFromWeb(NvdCveUpdater.java:348)
      2. org.owasp.dependencycheck.data.update.NvdCveUpdater.getUpdatesNeeded(NvdCveUpdater.java:267)
      3. org.owasp.dependencycheck.data.update.NvdCveUpdater.update(NvdCveUpdater.java:87)
      4. org.owasp.dependencycheck.Engine.doUpdates(Engine.java:683)
      5. org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:490)
      5 frames
    6. Dependency-Check Maven Plugin
      BaseDependencyCheckMojo.execute
      1. org.owasp.dependencycheck.maven.CheckMojo.runCheck(CheckMojo.java:97)
      2. org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:494)
      2 frames
    7. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    8. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    9. M3 Interceptor
      Maven33Launcher.main
      1. org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:129)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. Plexus
      Launcher.launch
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      2 frames
    12. jenkins.maven3.agent
      Maven33Main.launch
      1. jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    14. Hudson Maven Embedder
      Maven3Builder.call
      1. hudson.maven.Maven3Builder.call(Maven3Builder.java:133)
      2. hudson.maven.Maven3Builder.call(Maven3Builder.java:68)
      2 frames
    15. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:153)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:50)
      3. hudson.remoting.Request$2.run(Request.java:336)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    16. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)[WARNING]
      4 frames