Failing to obtain http://master:8081/computer/slavecomputername/slave-agent.jnlp

116 views
Skip to first unread message

Victoria Wei Lei

unread,
Apr 7, 2020, 10:48:34 AM4/7/20
to Jenkins Users
Due to our corporate security policy,  my jenkins slave computer is in an isolated network, with firewall to master.  I use fixed TCP port (8082) for JNLP agents, IT opened that port. 


Failing to obtain http://ca2-coverity:8081/computer/ca2-buildpc2-dc/slave-agent.jnlp

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 Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

        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


from slave computer,  I am not able to launch Jenkins web interface via ca2-coverity:8081. 


what is the problem? 


Thanks

Victoria 

Avinash Desireddy

unread,
Apr 7, 2020, 4:52:15 PM4/7/20
to jenkins...@googlegroups.com
Victoria,

Looks like the Jenkins server is not reachable from the agent machine.

Check if ca2-coverity is reachable from the agent node.
    - DNS resolution by performing $ nslookup on the hostname

If DNS resolution is successful, verify the incoming & outgoing ports 
IT has opened the ports, but check if there are multiple layers where port should be opened between client & server.

-Avinash


--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a25b009f-2c84-4c5d-b3dc-7f0cfe11cbf8%40googlegroups.com.

Victoria Wei Lei

unread,
Apr 8, 2020, 10:01:13 AM4/8/20
to Jenkins Users
Hi, Avinash, 

Thank so much for the hint. I did know Jenkins server was not reachable from my agent machine. At the moment, in order to avoid interrupting the coming release work,  we had to move the Jenkins server back to the same network as agent.  Once we complete the task,  will experiment with what you suggested and update. 

I appreciate your help. 
Best
Victoria 
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages