0

I am using jenkins launch method as "launch agent by connecting to the master". While clicking launch button , getting error message as

provided port:@@@@ is not reachable atorg.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:302) at hudson.remoting.Engine.innerRun(Engine.java:523) at hudson.remoting.Engine.run(Engine.java:474)

Can anyone help on this

Agent is showing as offline . I have tried different launch method as "launch agent via execution of command on the master" with command "java -jar C:\jenkins\agent.jar". this is throwing error as your textjava.io.IOException: Broken pipe your textat java.io.FileOutputStream.writeBytes(Native Method) your textat java.io.FileOutputStream.write(FileOutputStream.java:326) your textat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) your textat java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) your textat java.io.FilterOutputStream.flush(FilterOutputStream.java:140) your textat hudson.remoting.BinarySafeStream$2.flush(BinarySafeStream.java:305) your textat your textjava.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1823) your textat java.io.ObjectOutputStream.flush(ObjectOutputStream.java:719) your textat hudson.remoting.Capability$1.close(Capability.java:132) your textat hudson.remoting.Capability.writePreamble(Capability.java:144)

Kala
  • 1
  • Are you trying to get a Jenkins agent node connected to the master node? – M B May 17 '23 at 10:41
  • Yes. I am trying to connect with new launch method as "by connecting to the master " as " let jenkins control this window slave as window service " is not working(machine became offline) after the security patch. – Kala May 18 '23 at 06:42
  • Is there a hard requirement on the way you use to connect to the node? Or is it fine if you use some other method such as the Jenkins service wrapper. Here is a good answer on the topic: https://stackoverflow.com/a/60399024/3730626 – M B May 18 '23 at 09:16

0 Answers0