Hi,

I just updated my Jenkins to 2.7.2 and am having issues with my slave 
nodes.  From the looks of things, it may be related to JENKINS-32326 
<https://issues.jenkins-ci.org/browse/JENKINS-32326>.  I'm hoping someone 
familiar with the issue can either tell me I'm wrong or help me figure out 
the situation.

I'm running a master with multiple slave nodes.  The slave nodes are 
connecting using the Jenkins Swarm client (2.2).  After upgrading to 2.7.2 
my slaves started refusing to connect.  They would receive the following 
error:

vantage-jenkins-slave_1   | Failing to obtain 
http://XXXXXXXXX.com/computer/d73296bbedb4-9b67a324/slave-agent.jnlp
vantage-jenkins-slave_1   | java.io.IOException: Failed to load 
http://XXXXXXXXX.com/computer/d73296bbedb4-9b67a324/slave-agent.jnlp: 407 
Proxy Authentication Required
vantage-jenkins-slave_1   |     at 
hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:275)
vantage-jenkins-slave_1   |     at 
hudson.plugins.swarm.SwarmClient.connect(SwarmClient.java:275)
vantage-jenkins-slave_1   |     at 
hudson.plugins.swarm.Client.run(Client.java:138)
vantage-jenkins-slave_1   |     at 
hudson.plugins.swarm.Client.main(Client.java:88)
vantage-jenkins-slave_1   | Waiting 10 seconds before retry

The issue seems to be related to proxy settings.  Prior to 2.7.2, my slave 
agents all had bash environment variables for http_proxy, https_proxy, and 
no_proxy all set prior to launch.  As long as these variables were set, I 
am unable to connect my slave to the master.  The issue seems to be 
occurring because the slaves are getting their http_proxy setting from the 
master, but NOT the no proxy settings.  This error is coming from my 
corporate proxy which should not be needed by the slave to connect to the 
master since it is an internal network.

When I changed the slave to not set http_proxy, https_proxy, and no proxy, 
the slaves are able to successfuly connect to the master.  The problem is 
that now slaves are unable to perform npm or bower builds since they are no 
longer using the proxy settings to get to the internet.

Am I understanding correctly that the slave should be picking up the proxy 
settings from the master?  If so, is it supposed to be picking it up from 
the preferences in the Manage Plugins panel?  Is it supposed to be 
somewhere else.

Thanks....hopefully I'm missing something small here.

Tim

-- 
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/0810541a-becc-4b46-aa26-f9232d005074%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to