java - Jenkins Windows Slave JNLP connect error -
i trying configure jenkins slave on windows vm , keep running service. did following steps
went jenkins master slave , downloaded jnlp slave agent , installed it. got connected on jenkins logs in master. , small window show connected came too.
jnlp agent connected /10.xx8 <===[jenkins remoting capacity]===>slave.jar version: 2.51 windows slave slave connected , online
after installed service jenkins user use. on closing small connected window on slave following error
failing obtain https://my netowrk.com/computer/windows%20slave/slave-agent.jnlp?encrypt=true java.net.connectexception: connection refused: connect @ java.net.dualstackplainsocketimpl.connect0(native method) @ java.net.dualstackplainsocketimpl.socketconnect(unknown source) @ java.net.abstractplainsocketimpl.doconnect(unknown source) @ java.net.abstractplainsocketimpl.connecttoaddress(unknown source) @ java.net.abstractplainsocketimpl.connect(unknown source) @ java.net.plainsocketimpl.connect(unknown source) @ java.net.sockssocketimpl.connect(unknown source) @ java.net.socket.connect(unknown source) @ sun.security.ssl.sslsocketimpl.connect(unknown source) @ sun.security.ssl.basesslsocketimpl.connect(unknown source) @ sun.net.networkclient.doconnect(unknown source) @ sun.net.www.http.httpclient.openserver(unknown source) @ sun.net.www.http.httpclient.openserver(unknown source) @ sun.net.www.protocol.https.httpsclient.<init>(unknown source) @ sun.net.www.protocol.https.httpsclient.new(unknown source) @ sun.net.www.protocol.https.abstractdelegatehttpsurlconnection.getnewhttpclient(unknown source) @ sun.net.www.protocol.http.httpurlconnection.plainconnect(unknown source) @ sun.net.www.protocol.https.abstractdelegatehttpsurlconnection.connect(unknown source) @ sun.net.www.protocol.https.httpsurlconnectionimpl.connect(unknown source) @ hudson.remoting.launcher.parsejnlparguments(launcher.java:269) @ hudson.remoting.launcher.run(launcher.java:219) @ hudson.remoting.launcher.main(launcher.java:192) waiting 10 seconds before retry
i added proxy settings jenkins-slave .xml still same error. jenkins-slave.xml arguments follows
<executable>c:\program files\java\jre7\bin\java.exe</executable> <arguments>-xrs -dhttp.proxyhost=xx.xx.xx - dhttp.proxyport=3128 -jar "%base%\slave.jar" -jnlpurl https://example.org/computer/windows%20slave/slave- agent.jnlp -secret dxxxxxxxxxxxxa2d -nocertificatecheck</arguments>
can provide advice how resolve this.
thanks
Comments
Post a Comment