JNLP从站连接失败

时间:2019-01-04 16:52:22

标签: jenkins

我是kubernetes设置的初学者。

这是我们拥有的设置-在kubernetes集群上运行的Jenkins Master-仅具有一个kube节点。 Jenkins应用程序通过罐32083上的“ NodePort”公开。可通过端口32083上配置的VIP访问Jenkins主Web UI。因此,https://上的Jenkins URL通过端口32083上的VIP提供。

我可以访问Jenkins Webui,它可以按预期运行。我已经配置了外部ubuntu从站来处理构建。这些从站可以按预期工作。

我现在正尝试将外部Windows VM配置为从属。所有K8,ubuntu从站和Windows从站都使用JDK8

这是UI端口和slavelistener的头盔图表values.yaml。

ServicePort:8080 服务类型:NodePort 节点端口:32083 服务注释:{} 货柜码头:8080 SlaveListenerPort:50000 这是负载均衡器上的配置:

ltm虚拟-50000 {描述-50000目标:50000 ip协议tcp掩码xxxx池pool--50000配置文件{http-xforwarded-xproto-https {} tcp {} xxx-clientssl {上下文客户端}}

ltm池pool-xxxxx-50000 {成员{:32083 {地址x.x.x.x会话已启用监视器的状态}}:32083 {地址x.x.x.x会话已启用监视器监视器的状态}}监控http}

这是我尝试从Windows VM启动Java Webstart从属JNLP时遇到的错误

信息:协议JNLP4-connect遇到意外的异常java.util.concurrent.ExecutionException:org.jenkinsci.remoting.protocol ConnectionRefusalException:在确认发送hudson.remoting.jnlp.Main $ CuiListener状态之前,连接已关闭INFO:代理发现成功代理地址:xxxx代理端口:50000身份:xxxxx

hudson.remoting.jnlp.Main $ CuiListener状态INFO:握手hudson.remoting.jnlp.Main $ CuiListener状态INFO:连接到xxxx:50000 hudson.remoting.jnlp.Main $ CuiListener状态INFO:正在尝试的协议:JNLP4- connect hudson.remoting.jnlp.Main $ CuiListener状态信息:协议JNLP4-connect遇到意外的异常java.util.concurrent.ExecutionException:org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException:在确认发送到org.jenkinsci之前,连接已关闭hudson.remoting.Engine.innerRun(Engine.java:614)的hudson.remoting.Engine.run(Engine.java:474)的.remoting.util.SettableFuture.get(SettableFuture.java:22 3)原因:org .jenkinsci.remoting.protocol.impl.ConnectionRefusalException:在org.jenkinsproto.org.jenkinsci.remoting.org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckF ilterLayer.java:280)发送确认之前,连接已关闭。 Ptr.onRecvClosed(协议olStack.java:816)

我什至更改了loadbalancer的配置,看起来像这样

ltm池pool--50000 {成员{:50000 {地址x.x.x.x会话已启用监视状态}:50000 {地址x.x.x.x会话已启用监视状态}}监视http}

还要在Jenkins启动期间设置-Dhudson.TcpSlaveAgentListener.hostName =。还要在Windows从属节点配置中将“隧道连接通过”设置为“:”。

最终每次都会得到与上述相同的错误。我在这里缺少Kubernetes安装程序或负载平衡器上的任何配置吗?

0 个答案:

没有答案
相关问题