any suggestions/fixes for this jenkins-cli error? I have a deploy job, which is parametrized (test, stage, prod). So, whenever there is a deploy to the "staging" env, i am trying to make Jenkins *slaves* execute a groovy script. Trying to test the jenkins-cli.jar, i got this error:
[jenkins@ip-10-0-0-92 scripts]$ java -jar jenkins-cli.jar -s https://my_jenkins_url.com/ Exception in thread "main" java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at hudson.cli.CLI.connectViaCliPort(CLI.java:203) 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.EOFException: unexpected stream termination at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:331) at hudson.remoting.Channel.<init>(Channel.java:421) at hudson.remoting.Channel.<init>(Channel.java:400) at hudson.remoting.Channel.<init>(Channel.java:396) at hudson.remoting.Channel.<init>(Channel.java:385) at hudson.remoting.Channel.<init>(Channel.java:377) at hudson.remoting.Channel.<init>(Channel.java:353) at hudson.cli.CLI.connectViaHttp(CLI.java:157) at hudson.cli.CLI.<init>(CLI.java:130) ... 3 more I have done: 1. Set a fixed port for TCP/IP port for CLI and slaves & its listening on the master server 2. All ports are open between the jenkins nodes 3. Went through https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI I am using nginx with valid SSL cert. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2b76b0ed-9b79-44d9-ba57-030007b294df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
