Re: Problems adding a slave agent to Jenkins (java.io.IOException: https://jenkins.orgavision.org/tcpSlaveAgentListener/ is invalid: 404 Not Found)

40 views
Skip to first unread message

Andreas Tscharner

unread,
Apr 30, 2018, 7:27:13 AM4/30/18
to jenkins...@googlegroups.com
On 30.04.2018 09:00, Martin Blankenstein wrote:
> Hello dear community,
>
> We use Jenkins 2.118 and I tried adding a Windows Machine (and my later
> my notebook) as a slave/remoting agent.
>
> First I added a new Node in the Jenkins configuration
> "MartinsLaptopWin10". There I only could select "static agent".
>

[snip]
>
> This results in the following error:
>
> Warning: JnlpProtocol3 is disabled by default, use
> JNLP_PROTOCOL_OPTS to alter the behavior
> Apr 30, 2018 6:30:00 AM hudson.remoting.jnlp.Main createEngine
> INFO: Setting up agent: MartinsLaptopWin10
> Apr 30, 2018 6:30:00 AM hudson.remoting.jnlp.Main$CuiListener <init>
> INFO: Jenkins agent is running in headless mode.
> Apr 30, 2018 6:30:00 AM hudson.remoting.Engine startEngine
> INFO: Using Remoting version: 3.19
> Apr 30, 2018 6:30:00 AM hudson.remoting.Engine startEngine
> WARNING: No Working Directory. Using the legacy JAR Cache location:
> /home/jenkins/.jenkins/cache/jars
> Apr 30, 2018 6:30:00 AM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Locating server among [https://jenkins.orgavision.org]
> Apr 30, 2018 6:30:00 AM hudson.remoting.jnlp.Main$CuiListener error
> SEVERE: https://jenkins.orgavision.org/tcpSlaveAgentListener/ is
> invalid: 404 Not Found
> java.io.IOException:
> https://jenkins.orgavision.org/tcpSlaveAgentListener/ is invalid:
> 404 Not Found
>         at
> org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:197)
>         at hudson.remoting.Engine.innerRun(Engine.java:518)
>         at hudson.remoting.Engine.run(Engine.java:469)

Is the TCP port on the master (Manage Jenkins -> Global Security ->
Agents) set to static?
>

Best regards
Andreas
--
Andreas Tscharner sterne...@gmail.com

Gordon's Law:
If you think you have the solution, the question was poorly phrased.

Daniel Beck

unread,
Apr 30, 2018, 10:21:31 AM4/30/18
to jenkins...@googlegroups.com

> On 30. Apr 2018, at 13:26, Andreas Tscharner <sterne...@gmail.com> wrote:
>
> Is the TCP port on the master (Manage Jenkins -> Global Security -> Agents) set to static?
>

Probably disabled, which is the default in 2.0+. That disables the endpoint it's trying to connect to.

Reply all
Reply to author
Forward
0 new messages