I upgraded my jenkins machine from 1.559 to 1.563 on Saturday and as always some of the Linux machines connected via ssh did not start
      After selecting the machine I tried to launch it again which normally works, however with Jenkins 1.563 I get http error 405
      I had to revert back to the old version to use it properly

          [JENKINS-23094] HTTP error 405 when trying to restart ssh host

          This is still broken with 1.564!

          Reinhard Karbas added a comment - This is still broken with 1.564!

          I just tried with the latest version (1.565) and it is still now working
          When trying it with Firefox instead of IE I see following message on the screen:
          POST is required for hudson.slaves.SlaveComputer.doLaunchSlaveAgent
          When I push the button to try to post again it works, but only on Firefox
          When will someone look at this to fix it?
          Until it is fixed I will have to stay on version 1.559!

          Reinhard Karbas added a comment - I just tried with the latest version (1.565) and it is still now working When trying it with Firefox instead of IE I see following message on the screen: POST is required for hudson.slaves.SlaveComputer.doLaunchSlaveAgent When I push the button to try to post again it works, but only on Firefox When will someone look at this to fix it? Until it is fixed I will have to stay on version 1.559!

          Oleg Nenashev added a comment -

          It could be a compatibility issue between core and ssh-slaves.
          @Reinhard, please provide Jenkins logs at least. Slave logs would be useful as well

          Oleg Nenashev added a comment - It could be a compatibility issue between core and ssh-slaves. @Reinhard, please provide Jenkins logs at least. Slave logs would be useful as well

          The problem is there is nothing in the log files I can see

          The only output I have is the one already stored in here
          The best output is the one I got from Mozilla with the Post error and the try Posting button which then makes it possible to restart the client

          I have the Server on a SLES 11 SP2 machine and for this test I am working with an Ubuntu client
          I manually disconnect the session and then push the launch slave agent button which leads to the error shown here
          If there is any additional logging I could turn on or some other file I could check please let me know

          Reinhard Karbas added a comment - The problem is there is nothing in the log files I can see The only output I have is the one already stored in here The best output is the one I got from Mozilla with the Post error and the try Posting button which then makes it possible to restart the client I have the Server on a SLES 11 SP2 machine and for this test I am working with an Ubuntu client I manually disconnect the session and then push the launch slave agent button which leads to the error shown here If there is any additional logging I could turn on or some other file I could check please let me know

          Daniel Beck added a comment - - edited

          Daniel Beck added a comment - - edited Likely introduced in 1.561 by https://github.com/jenkinsci/jenkins/pull/877/files#diff-a5d5dbfd01aa9be491143dc82df503a6R559

          When can I expect a fix for this and who can fix it?

          Reinhard Karbas added a comment - When can I expect a fix for this and who can fix it?

          Jesse Glick added a comment -

          Could comment out the @RequirePOST but better would be to fix the calling page, wherever that is, to use POST.

          Jesse Glick added a comment - Could comment out the @RequirePOST but better would be to fix the calling page, wherever that is, to use POST.

          Oleg Nenashev added a comment -

          Nothing to do in SSH Slaves...

          Oleg Nenashev added a comment - Nothing to do in SSH Slaves...

          Daniel Beck added a comment -

          Words fail me.

          Daniel Beck added a comment - Words fail me.

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly
          http://jenkins-ci.org/commit/jenkins/90337f06087ae0ff23f39310a5e07a2775d3d230
          Log:
          [FIXED JENKINS-23094] Use POST to start slave agent

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly http://jenkins-ci.org/commit/jenkins/90337f06087ae0ff23f39310a5e07a2775d3d230 Log: [FIXED JENKINS-23094] Use POST to start slave agent

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly
          http://jenkins-ci.org/commit/jenkins/d743dd6cbe824b53a9ca02675196c5904052938e
          Log:
          Merge pull request #1281 from daniel-beck/JENKINS-23094

          [FIXED JENKINS-23094] Use POST to start slave agent

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly http://jenkins-ci.org/commit/jenkins/d743dd6cbe824b53a9ca02675196c5904052938e Log: Merge pull request #1281 from daniel-beck/ JENKINS-23094 [FIXED JENKINS-23094] Use POST to start slave agent

          dogfood added a comment -

          Integrated in jenkins_main_trunk #3469
          [FIXED JENKINS-23094] Use POST to start slave agent (Revision 90337f06087ae0ff23f39310a5e07a2775d3d230)

          Result = SUCCESS
          daniel-beck : 90337f06087ae0ff23f39310a5e07a2775d3d230
          Files :

          • core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly

          dogfood added a comment - Integrated in jenkins_main_trunk #3469 [FIXED JENKINS-23094] Use POST to start slave agent (Revision 90337f06087ae0ff23f39310a5e07a2775d3d230) Result = SUCCESS daniel-beck : 90337f06087ae0ff23f39310a5e07a2775d3d230 Files : core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly

          So what LTS will this appear in? Wouldn't this warrant a patch to the current 1.565 LTS version?

          Lance Johnston added a comment - So what LTS will this appear in? Wouldn't this warrant a patch to the current 1.565 LTS version?

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly
          http://jenkins-ci.org/commit/jenkins/ee1d6ab0020f2fec13e5212f4168a22f8433a17c
          Log:
          [FIXED JENKINS-23094] Use POST to start slave agent

          (cherry picked from commit 90337f06087ae0ff23f39310a5e07a2775d3d230)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/hudson/slaves/ComputerLauncher/main.jelly http://jenkins-ci.org/commit/jenkins/ee1d6ab0020f2fec13e5212f4168a22f8433a17c Log: [FIXED JENKINS-23094] Use POST to start slave agent (cherry picked from commit 90337f06087ae0ff23f39310a5e07a2775d3d230)

            danielbeck Daniel Beck
            rkarbas Reinhard Karbas
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: