【问题标题】:Windows Nodes disconnect from Jenkins master in Azure after multiple of 5 minsWindows 节点在 5 分钟后与 Azure 中的 Jenkins 主服务器断开连接
【发布时间】:2020-06-10 18:13:23
【问题描述】:

我们在 Azure 中创建了一个 Jenkins master。

当我使用从浏览器启动代理或从命令提示符运行代理命令将 Windows 节点(从节点)连接到它时,节点保持连接状态仅超过 5 或 10 或 15 分钟,然后有一条 Terminated 消息:

Jun 10, 2020 7:12:41 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jun 10, 2020 7:12:41 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to total-control-jenkins.australiaeast.cloudapp.azure.com:5378
Jun 10, 2020 7:12:41 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP4-connect
Jun 10, 2020 7:12:41 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Remote identity confirmed: 0d:ab:40:5d:2c:9e:77:28:31:5a:59:38:b5:1a:03:db
Jun 10, 2020 7:12:42 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
Jun 10, 2020 7:18:03 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Terminated

节点尝试重新连接,但总是失败。

我们已尝试将 hudson.slaves.ChannelPinger.pingIntervalSeconds 更改为 120 System Properties image 这没什么区别

有什么建议吗?

更新

解决方案:更改注册表中的 TCP 参数,如下所述:https://support.cloudbees.com/hc/en-us/articles/115001416548-Dedicated-JNLP-agents-formerly-slaves-Troubleshooting-guide#7bwindows重新启动机器。我已经尝试过了,但没有重新启动。

【问题讨论】:

  • 您在哪台机器上添加了注册表项?主人还是代理人?

标签: azure jenkins


【解决方案1】:

当您说在 Azure 中创建了 Jenkins 主服务器时,我假设它是通过遵循 this Azure 文档完成的。如果是这种情况,我建议仔细检查您是否启用了云代理,如果是,是 ACI 还是 VM,或者没有,并采取相应的措施。另外,我建议按照this Azure 文档来配置代理,看看问题是否仍然存在。 This 相关问题可能不会直接帮助解决您当前的问题,但可能会让您对此类节点脱机问题有所了解。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-05-06
    • 1970-01-01
    • 1970-01-01
    • 2022-09-28
    • 1970-01-01
    • 2013-11-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多