Haproxy Jenkins slave

匿名 (未验证) 提交于 2019-12-03 01:10:02

问题:

My architecture is something like this, deployed a docker swarm service with 2 nodes hosting a jenkins master. When I am trying to add an external slave using JNLP, the below is the issue.

Please help me to resolve the issue. Thanks.

Nov 30, 2017 11:53:00 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir INFO: Using /jenkinshome/remoting as a remoting work directory Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [https://URL/] Nov 30, 2017 11:53:01 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping] Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Agent discovery successful Agent address: URL Agent port: 50013

Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to <url>:50013 Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Trying protocol: JNLP4-connect Nov 30, 2017 11:53:01 PM org.jenkinsci.remoting.protocol.impl.AckFilterLayer abort WARNING: [JNLP4-connect connection to url/10.XX.XXX.XXX:50013] Incorrect acknowledgement sequence, expected 0x000341434b got 0x485454502f Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Protocol JNLP4-connect encountered an unexpected exception java.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent         at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)         at hudson.remoting.Engine.innerRun(Engine.java:583)         at hudson.remoting.Engine.run(Engine.java:447) Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent         at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckFilterLayer.java:280)         at org.jenkinsci.remoting.protocol.FilterLayer.abort(FilterLayer.java:164)         at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.abort(AckFilterLayer.java:130)         at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecv(AckFilterLayer.java:258)         at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecv(ProtocolStack.java:669)         at org.jenkinsci.remoting.protocol.NetworkLayer.onRead(NetworkLayer.java:136)         at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$2200(BIONetworkLayer.java:48)         at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:283)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)         at hudson.remoting.Engine$1$1.run(Engine.java:98)         at java.lang.Thread.run(Thread.java:748)  Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to URL:50013 Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server reports protocol JNLP4-plaintext not supported, skipping Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server reports protocol JNLP3-connect not supported, skipping Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server reports protocol JNLP2-connect not supported, skipping Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server reports protocol JNLP-connect not supported, skipping Nov 30, 2017 11:53:01 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: The server rejected the connection: None of the protocols were accepted java.lang.Exception: The server rejected the connection: None of the protocols were accepted         at hudson.remoting.Engine.onConnectionRejected(Engine.java:644)         at hudson.remoting.Engine.innerRun(Engine.java:608)         at hudson.remoting.Engine.run(Engine.java:447) 
文章来源: Haproxy Jenkins slave
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!