I have Jenkins installed on Windows. I have two linux jenkins-agent nodes added to it. for some reason I needed to restart the jenkins service and now my linux jenkins-agents are not coming online. When I go to these nodes I can see the option to mark them offline Which I believe comes when node is actually online like below
How To bring these nodes back online. before jenkins restart everything was fine and I have not made any changes to agents.
**Changes I made to jenkins.xml before restart was **
Changed the java version <
executable>C:\Program Files\Java\jdk-17.0.5\bin\java.exe</executable>Added keystore value in pre existing argument
<arguments>-Xrs -Xmx512m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -Dhudson.model.DirectoryBrowserSupport.CSP="" -jar "%BASE%\jenkins.war" --httpPort=-1 --httpsPort=8000 -httpsKeyStore="jenkins.jks" --httpsKeyStorePassword=xxxxx -webroot="%BASE%\war"</arguments>
![[2]: https://i.stack.imgur.com/5kyR3.png](https://i.stack.imgur.com/7z7B5.png)
I don't think your changes had anything to do with the error. Try these options: