Jenkins Windows Agent failed to start after upgrade to version 2.1.129: Jenkins is running behind apache reverse proxy on different host that proxy itself. Parameter “tunnel connection through” is set correctly. From the error message we can see that remote agent was trying to connect to reverse proxy host instead of Jenkins master host.
The version 2.1.128 works without issues.
- relates to
-
JENKINS-51818 Slave can`t connect via JNLP if Jenkins behind the balancer
-
- Resolved
-
-
JENKINS-52246 Remoting "-tunnel" option is obsolete, redesign needed
-
- Open
-
- links to
I can only confirm the information from Chris. Unfortunately, using the system property "hudson.TcpSlaveAgentListener.hostName" did not bring any improvement.
There is no such header "X-Jenkins-JNLP-Host" in http response.
The property "hudson.TcpSlaveAgentListener.hostName" was set in the command line. In which configuration file can this property be set? I'm not sure that the command line was processed.