詹金斯的联系被拒绝

时间:2018-09-26 06:43:19

标签: java jenkins

我有这个奇怪的问题。机器上的詹金斯突然停止工作。虽然另一个詹金斯服务器工作文件(哪个是从属服务器)。但是对于这个詹金斯实例(独立),它给出了连接拒绝错误。

这是Windows机器。

java -jar agent.jar -jnlpUrl http://<MachineName>:8080/computer/<MachineName>/slave-agent.jnlp -secret ce4
1f56fdf579e393a74cb5d0b539353628d6d524c4f0d518bd3cfc523f2292b -workDir "C:\Users
\<UserName>\Jenkins-slave"
Picked up _JAVA_OPTIONS: -Xmx1024M
Sep 26, 2018 11:52:40 AM org.jenkinsci.remoting.engine.WorkDirManager initialize
WorkDir
INFO: Using C:\Users\<UserName>\Jenkins-slave\remoting as a remoting work dir
ectory
Both error and output logs will be printed to C:\Users\<UserName>\Jenkins-sla
ve\remoting
Failing to obtain http://<MachineName>:8080/computer/<MachineName>/slave-agent.jnlp?
encrypt=true
java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI
mpl.java:79)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja
va:345)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket
Impl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:188)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1168)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1104)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:998)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:932)
        at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:490)
        at hudson.remoting.Launcher.run(Launcher.java:322)
        at hudson.remoting.Launcher.main(Launcher.java:283)

0 个答案:

没有答案