Hi, I am unable to see disable workdir and internal data directory option in launch agent by connecting it to the controller while launching windows node on jenkins. I am trying it from 2 days and unable to connect it. Also, from my windows node I’m getting an error message as similar to the below:
C:\jenkins\remote-root-dir>java -jar agent.jar -url http://13.232.226.131:8080/ -secret 47fd45b7cea893a34f9ea685fcce63d2c134d3c7629a0d01f77df47ae9db599d -name "Windows_agent" -workDir "C:\jenkins\remote-root-dir"
Feb 29, 2024 4:14:55 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using C:\jenkins\remote-root-dir\remoting as a remoting work directory
Feb 29, 2024 4:14:55 PM org.jenkinsci.remoting.engine.WorkDirManager setupLogging
INFO: Both error and output logs will be printed to C:\jenkins\remote-root-dir\remoting
Feb 29, 2024 4:14:55 PM hudson.remoting.Launcher createEngine
INFO: Setting up agent: Windows_agent
Feb 29, 2024 4:14:55 PM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 3206.vb_15dcf73f6a_9
Feb 29, 2024 4:14:55 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using C:\jenkins\remote-root-dir\remoting as a remoting work directory
Feb 29, 2024 4:14:56 PM hudson.remoting.Launcher$CuiListener status
INFO: Locating server among [http://13.232.226.131:8080/]
Feb 29, 2024 4:14:56 PM hudson.remoting.Launcher$CuiListener status
INFO: Could not locate server among [http://13.232.226.131:8080/]; waiting 10 seconds before retry
java.io.IOException: http://13.232.226.131:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found
at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:222)
at hudson.remoting.Engine.innerRun(Engine.java:809)
at hudson.remoting.Engine.run(Engine.java:563)