Jenkins Windows slave connection getting terminated with java.nio.channels.ClosedChannelException

前端 未结 9 1529
别跟我提以往
别跟我提以往 2021-01-04 09:32

While connecting to windows machine as slave, i am getting following error i think its some network related issue, but need some help where to start looking or what is a pos

9条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-04 09:55

    • I observed the same error after our jenkins master was updated. It is likely due to incompatibility between Java 7 (v80) and latest Java 8.
    • Check the java version being used by your master, and the java version of your slave.
    • In my case, I am running swarm-client-2.0-jar-with-dependencies.jar on a linux host, and it was using Java 7.

      java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

    • Our jenkins master was upgraded and is now running Java 8

      java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

    • When the java on the slave was updated to Java 8, the connection issues disappeared.

提交回复
热议问题