Hi, I have a Jenkins windows agent which can successfully connect to master when launched by Java Web Start. This is using TCP port 50000 on the master, for which I had to get our firewall rules updated.
However, when I launch on the command line I get connection timed out: Failing to obtain http://<JENKINS URL>/computer/ukgswtowb19/slave-agent.jn lp?encrypt=true java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Sou rce) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour ce) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:490) at hudson.remoting.Launcher.run(Launcher.java:322) at hudson.remoting.Launcher.main(Launcher.java:283) Waiting 10 seconds before retry The problem looks like the connection on port 80 is not going through the corporate proxy. I tried setting the proxy in jenkins-slave.xml to use java arguments: <arguments>-Dhttp.proxyHost=<PROXY URL> -Dhttp.proxyPort=80 -Xrs -jar "%BASE%\slave.jar" -jnlpUrl http://<JENKINS URL>/computer/ukgswtowb19/slave-agent.jnlp -secret <SECRET></arguments> but this didn't help/ Is there someway to use the proxy for above HTTP connection? Thanks, Andy. -- 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/014c6a5b-e847-49a0-a5a5-6c0c9361e9f9%40googlegroups.com.