Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24035

Publish over FTP plugin throws SocketException while uploading to goDaddy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • ftppublisher-plugin
    • Windows 7, Java JDK 1.7, Jenkins 1.574, Publish over FTP 1.11, goDaddy ftp

      Authentication works, directories can be created, but while uploading files, it suddenly throws an exception as follows, and disconnects. Retry also fails always. I'm trying to upload to godaddy ftp site. I can do with FileZilla without problems, so its not about filenames or permissions.

      ERROR: Failed to upload files
      java.net.SocketException: Software caused connection abort: socket write error
      	at java.net.SocketOutputStream.socketWrite0(Native Method)
      	at java.net.SocketOutputStream.socketWrite(Unknown Source)
      	at java.net.SocketOutputStream.write(Unknown Source)
      	at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
      	at java.io.BufferedOutputStream.flush(Unknown Source)
      	at org.apache.commons.net.telnet.TelnetClient._flushOutputStream(TelnetClient.java:77)
      	at org.apache.commons.net.telnet.TelnetOutputStream.flush(TelnetOutputStream.java:137)
      	at java.io.FilterOutputStream.flush(Unknown Source)
      	at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
      	at sun.nio.cs.StreamEncoder.flush(Unknown Source)
      	at java.io.OutputStreamWriter.flush(Unknown Source)
      	at java.io.BufferedWriter.flush(Unknown Source)
      	at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:442)
      	at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:520)
      	at org.apache.commons.net.ftp.FTP.port(FTP.java:849)
      	at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:477)
      	at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:388)
      	at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1388)
      	at com.zanox.hudson.plugins.FTPSite.upload(FTPSite.java:358)
      	at com.zanox.hudson.plugins.EntryCopier.copyFile(EntryCopier.java:87)
      	at com.zanox.hudson.plugins.EntryCopier.copy(EntryCopier.java:77)
      	at com.zanox.hudson.plugins.FTPPublisher.perform(FTPPublisher.java:179)
      	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
      	at hudson.model.Run.execute(Run.java:1757)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:234)
      

            benjaminjaton benjaminjaton
            rakeshprasad Rakesh Prasad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: