java.net.SocketException: Connection reset

AppFuse JIRA | jiangxg | 10 years ago
  1. 0

    Hi, I install modular-jsf,but throw exception! Downloading: http://static.appfuse.org/repository/ant/ant/1.6.5/ant-1.6.5.jar [WARNING] Unable to get resource from repository appfuse (http://static.appfuse.org/repository) Downloading: http://repository.codehaus.org/ant/ant/1.6.5/ant-1.6.5.jar [WARNING] Unable to get resource from repository codehaus.org (http://repository.codehaus.org) Downloading: http://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at sun.net.www.MeteredStream.read(MeteredStream.java:116) at java.io.FilterInputStream.read(FilterInputStream.java:111) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2 142) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:290) at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:199) at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:182) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:80) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.j ava:369) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.jav a:282) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.jav a:244) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolve r.java:124) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolve r.java:63) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArt ifactResolver.java:233) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArt ifactResolver.java:211) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArt ifactResolver.java:182) at org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPlugi nManager.java:608) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java: 519) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:390) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor .java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec ycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL ifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE xecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GET request of: ant/ant/1.6.5/ant-1.6.5.jar from central failed ant:ant:jar:1.6.5 from the specified remote repositories: codehaus.org (http://repository.codehaus.org), central (http://repo1.maven.org/maven2), maven-snapshots (http://snapshots.repository.codehaus.org), snapshots (http://snapshots.repository.codehaus.org), appfuse (http://static.appfuse.org/repository) Path to dependency: 1) org.codehaus.mojo:dbunit-maven-plugin:maven-plugin:1.0-beta-1-20070112.065529-8 2) ant:ant:jar:1.6.5 Caused by I/O exception: Connection reset regards, jiangxg

    AppFuse JIRA | 10 years ago | jiangxg
    java.net.SocketException: Connection reset
  2. 0

    Hi, I install modular-jsf,but throw exception! Downloading: http://static.appfuse.org/repository/ant/ant/1.6.5/ant-1.6.5.jar [WARNING] Unable to get resource from repository appfuse (http://static.appfuse.org/repository) Downloading: http://repository.codehaus.org/ant/ant/1.6.5/ant-1.6.5.jar [WARNING] Unable to get resource from repository codehaus.org (http://repository.codehaus.org) Downloading: http://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at sun.net.www.MeteredStream.read(MeteredStream.java:116) at java.io.FilterInputStream.read(FilterInputStream.java:111) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2 142) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:290) at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:199) at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:182) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:80) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.j ava:369) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.jav a:282) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.jav a:244) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolve r.java:124) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolve r.java:63) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArt ifactResolver.java:233) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArt ifactResolver.java:211) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArt ifactResolver.java:182) at org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPlugi nManager.java:608) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java: 519) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:390) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor .java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec ycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL ifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE xecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GET request of: ant/ant/1.6.5/ant-1.6.5.jar from central failed ant:ant:jar:1.6.5 from the specified remote repositories: codehaus.org (http://repository.codehaus.org), central (http://repo1.maven.org/maven2), maven-snapshots (http://snapshots.repository.codehaus.org), snapshots (http://snapshots.repository.codehaus.org), appfuse (http://static.appfuse.org/repository) Path to dependency: 1) org.codehaus.mojo:dbunit-maven-plugin:maven-plugin:1.0-beta-1-20070112.065529-8 2) ant:ant:jar:1.6.5 Caused by I/O exception: Connection reset regards, jiangxg

    AppFuse JIRA | 10 years ago | jiangxg
    java.net.SocketException: Connection reset
  3. 0

    Unhelpful errors from Downloader

    GitHub | 2 years ago | jglick
    org.owasp.dependencycheck.utils.DownloadFailedException: Error saving downloaded file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Download issues via HTTP for specific site

    Stack Overflow | 4 years ago | nablex
    java.net.SocketException: Connection reset

    1 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.SocketException

      Connection reset

      at java.net.SocketInputStream.read()
    2. Java RT
      HttpURLConnection$HttpInputStream.read
      1. java.net.SocketInputStream.read(SocketInputStream.java:168)
      2. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      3. java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
      4. java.io.BufferedInputStream.read(BufferedInputStream.java:313)
      5. sun.net.www.MeteredStream.read(MeteredStream.java:116)
      6. java.io.FilterInputStream.read(FilterInputStream.java:111)
      7. sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2142)
      7 frames
    3. Maven
      DefaultArtifactResolver.resolveTransitively
      1. org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:290)
      2. org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:199)
      3. org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:182)
      4. org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:80)
      5. org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369)
      6. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:282)
      7. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:244)
      8. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
      9. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
      10. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:233)
      11. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:211)
      12. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:182)
      12 frames
    4. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPluginManager.java:608)
      2. org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:519)
      3. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:390)
      3 frames
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
      8 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    8. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)[INFO]
      4 frames