-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
-
OS: CentOS 5.11 64b
Browser:
this cli command used to work when we're using 2.68:
-> java -Djavax.net.ssl.trustStore=/u/xbuild/.ssh/jenkins/jenkins3/keystore -Djavax.net.ssl.trustStorePassword=... -jar /share/pub/build/jenkins3/war/WEB-INF/jenkins-cli.jar -s https://jenkins3.eng.proofpoint.com -auth @/u/xbuild/.ssh/jenkins/jenkins3/.jenkins-cli help
After upgrade to 2.108, we got the following error. Nothing was changed to the jenkins master.
-> java -Djavax.net.ssl.trustStore=/u/xbuild/.ssh/jenkins/jenkins3/keystore -Djavax.net.ssl.trustStorePassword=... -jar /share/pub/build/jenkins3/war/WEB-INF/jenkins-cli.jar -s https://jenkins3.eng.proofpoint.com -auth @/u/xbuild/.ssh/jenkins/jenkins3/.jenkins-cli help
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1282)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1257)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:100)
at hudson.cli.CLI.plainHttpConnection(CLI.java:652)
at hudson.cli.CLI._main(CLI.java:612)
at hudson.cli.CLI.main(CLI.java:426)
We have many automation depending on it.
Please help!