我有一个jenkins的外部安装,当我试图在Openshift中为jenkins设置奴隶时,我会得到这个错误。我遵循本指南中的每一步https://blog.openshift.com/jenkins-slaves-in-openshift-using-an-external-jenkins-environment/
Nov 05, 2019 1:46:26 PM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: http://jenkins01:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found
java.io.IOException: http://jenkins01:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found
at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:202)
at hudson.remoting.Engine.innerRun(Engine.java:523)
at hudson.remoting.Engine.run(Engine.java:474)
发布于 2019-11-11 18:46:44
我终于想明白了。我们在端口50000 (jenkins隧道)上运行了另一个服务,我将它修改为一个可用的端口,它就开始工作了。这是误导性的,因为它在错误中显示了8080,但实际上它使用了50000。
发布于 2020-01-06 17:31:11
任何想要真正解释这事的人..。您必须为jnlp配置不同的端口,即50000
。问题是您需要提供JENKINS_URL=http://jenkins:8080
和JENKINS_TUNNEL=jenkins:50000
。如果您尝试同时在URL和隧道上单击50000
,您将得到
50000/tcp欠tcpSlaveAgentListener无效的404未找到。
如果您尝试同时在URL和8080
上点击,您将得到一个错误,如
确认序列不正确,期望0x000341434b得到0x485454502f“。
我希望这能节省一些时间
https://stackoverflow.com/questions/58719522
复制相似问题