Hi, Installed Jenkins in one linux box (master) and created and connected a slave node (using JNLP) on different linux box (Requirement is I need to connect to Slave Node only with JNLP in our project)
When trying to run a build using jenkins cli from slave getting 401 error java -jar jenkins-cli.jar -s http://masternode:43000/jenkins -i ~/.ssh/id_rsa help Exception in thread "main" java.io.IOException: There's no Jenkins running at http://zlpv1373.vci.att.com:43000/jenkins/ at hudson.cli.CLI.getCliTcpPort(CLI.java:281) at hudson.cli.CLI.<init>(CLI.java:126) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72) at hudson.cli.CLI._main(CLI.java:466) at hudson.cli.CLI.main(CLI.java:382) Suppressed: java.io.IOException: Server returned HTTP response code: 401 for URL: http://zlpv1373.vci.att.com:43000/jenkins/cli at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625) at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78) at hudson.cli.CLI.connectViaHttp(CLI.java:156) at hudson.cli.CLI.<init>(CLI.java:130) ... 3 more When tried with Fixed JNLP port, it hung forever : java -jar jenkins-cli.jar -s http://masternode:43002/jenkins -i ~/.ssh/id_rsa help Anonymous group has read and connect privs ( in slave) Jenkins version is : 1.589 Thanks -- --Shyamendra -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMyZUbA9usoxD-DT1mNctQzdP-dj_R_MN6QOQ-6YgQxJ1-7ZqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.