gpt4 book ai didi

jenkins - 无法在 Jenkins 中启动 SLAVE 节点

转载 作者:行者123 更新时间:2023-12-02 21:04:29 25 4
gpt4 key购买 nike

无法在 Jenkins 中启动 SLAVE 节点。

主机在日志文件中显示错误异常。

[12/01/14 16:21:44] [SSH] Opening SSH connection to 

10.0.11.120:22.
Connection refused: connect
ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
java.lang.IllegalStateException: Connection is not established!
at com.trilead.ssh2.Connection.getRemainingAuthMethods(Connection.java:1030)
at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPasswordAuthenticator.canAuthenticate(TrileadSSHPasswordAuthenticator.java:82)
at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.newInstance(SSHAuthenticator.java:207)
at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.newInstance(SSHAuthenticator.java:169)
at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1173)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:701)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[12/01/14 16:21:45] Launch failed - cleaning up connection
[12/01/14 16:21:45] [SSH] Connection closed.

[12/01/14 16:23:44] [SSH] Opening SSH connection to 10.0.11.120:22.

最佳答案

如果你的从机是Mac那么前往系统偏好设置 -> 共享并启用远程登录,然后重试。

关于jenkins - 无法在 Jenkins 中启动 SLAVE 节点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27226845/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com