java.io.IOException: Illegal sftp packet len: 1634494817

Jenkins JIRA | lidiam | 7 years ago
  1. 0

    Starting with version 1.327 of hudson, it fails to start mac slave via ssh with the following error: [10/09/09 12:33:30] [SSH] Checking java version of java [10/09/09 12:33:30] [SSH] java -version returned 1.6.0_07. [10/09/09 12:33:30] [SSH] Starting sftp client. java.io.IOException: Illegal sftp packet len: 1634494817 at com.trilead.ssh2.SFTPv3Client.receiveMessage(SFTPv3Client.java:246) at com.trilead.ssh2.SFTPv3Client.init(SFTPv3Client.java:865) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:109) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:120) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:263) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:178) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:178) 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) [10/09/09 12:33:30] [SSH] Connection closed The ssh used on mac is: riverside:~ hudson$ ssh -version OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006 Mac: riverside:~ hudson$ uname -a Darwin riverside.SFBay.Sun.COM 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386 This slave startup worked prior to hudson version 1.327.

    Jenkins JIRA | 7 years ago | lidiam
    java.io.IOException: Illegal sftp packet len: 1634494817
  2. 0

    Starting with version 1.327 of hudson, it fails to start mac slave via ssh with the following error: [10/09/09 12:33:30] [SSH] Checking java version of java [10/09/09 12:33:30] [SSH] java -version returned 1.6.0_07. [10/09/09 12:33:30] [SSH] Starting sftp client. java.io.IOException: Illegal sftp packet len: 1634494817 at com.trilead.ssh2.SFTPv3Client.receiveMessage(SFTPv3Client.java:246) at com.trilead.ssh2.SFTPv3Client.init(SFTPv3Client.java:865) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:109) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:120) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:263) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:178) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:178) 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) [10/09/09 12:33:30] [SSH] Connection closed The ssh used on mac is: riverside:~ hudson$ ssh -version OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006 Mac: riverside:~ hudson$ uname -a Darwin riverside.SFBay.Sun.COM 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386 This slave startup worked prior to hudson version 1.327.

    Jenkins JIRA | 7 years ago | lidiam
    java.io.IOException: Illegal sftp packet len: 1634494817
  3. 0

    Hi, I'm trying to set up a Hudson master and one of it's slave on the same box, but using different "unix user accounts" for isolation purposes. Unfortunately, launching slave through "ssh" always ends up with this error: - Could that be related to the fact that both master and slave are on the same box? - i have other linux slaves that work fine, it's the only difference i could come up with. - have i some red hat setup issues that could be related to my sshd setup? - found something related : hudson-5505 but the proposed fix does not seem to work for me (add xercesImpl.jar to classpath) [04/15/10 17:42:26] [SSH] Checking java version of /home/xibbld1/hudson_slave_home/jdk/bin/java [04/15/10 17:42:26] [SSH] /home/xibbld1/hudson_slave_home/jdk/bin/java -version returned 1.6.0_14-ea. [04/15/10 17:42:26] [SSH] Starting sftp client. java.io.IOException: The subsystem request failed. at com.trilead.ssh2.channel.ChannelManager.requestSubSystem(ChannelManager.java:749) at com.trilead.ssh2.Session.startSubSystem(Session.java:298) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:101) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:120) at hudson.plugins.sshslaves.SFTPClient.<init>(SFTPClient.java:21) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:344) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:191) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) 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.io.IOException: The server denied the request. at com.trilead.ssh2.channel.ChannelManager.requestSubSystem(ChannelManager.java:745) ... 12 more [04/15/10 17:42:26] [SSH] Connection closed.

    Jenkins JIRA | 7 years ago | mmorizot
    java.io.IOException: The subsystem request failed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, I'm trying to set up a Hudson master and one of it's slave on the same box, but using different "unix user accounts" for isolation purposes. Unfortunately, launching slave through "ssh" always ends up with this error: - Could that be related to the fact that both master and slave are on the same box? - i have other linux slaves that work fine, it's the only difference i could come up with. - have i some red hat setup issues that could be related to my sshd setup? - found something related : hudson-5505 but the proposed fix does not seem to work for me (add xercesImpl.jar to classpath) [04/15/10 17:42:26] [SSH] Checking java version of /home/xibbld1/hudson_slave_home/jdk/bin/java [04/15/10 17:42:26] [SSH] /home/xibbld1/hudson_slave_home/jdk/bin/java -version returned 1.6.0_14-ea. [04/15/10 17:42:26] [SSH] Starting sftp client. java.io.IOException: The subsystem request failed. at com.trilead.ssh2.channel.ChannelManager.requestSubSystem(ChannelManager.java:749) at com.trilead.ssh2.Session.startSubSystem(Session.java:298) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:101) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:120) at hudson.plugins.sshslaves.SFTPClient.<init>(SFTPClient.java:21) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:344) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:191) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) 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.io.IOException: The server denied the request. at com.trilead.ssh2.channel.ChannelManager.requestSubSystem(ChannelManager.java:745) ... 12 more [04/15/10 17:42:26] [SSH] Connection closed.

    Jenkins JIRA | 7 years ago | mmorizot
    java.io.IOException: The subsystem request failed.
  6. 0

    [JIRA] (JENKINS-17366) ssh slave login via keyfile not working in 0.23

    Google Groups | 3 months ago | vasu...@yahoo.com (JIRA)
    java.io.IOException: Publickey authentication failed.

    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.io.IOException

      Illegal sftp packet len: 1634494817

      at com.trilead.ssh2.SFTPv3Client.receiveMessage()
    2. Trilead
      SFTPv3Client.<init>
      1. com.trilead.ssh2.SFTPv3Client.receiveMessage(SFTPv3Client.java:246)
      2. com.trilead.ssh2.SFTPv3Client.init(SFTPv3Client.java:865)
      3. com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:109)
      4. com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:120)
      4 frames
    3. hudson.plugins.sshslaves
      SSHLauncher.launch
      1. hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:263)
      2. hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:178)
      2 frames
    4. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:178)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      2 frames