1

我有在 SUSE linux 上运行的 Jenkins 主服务器。我想使用 JNLP 将 Windows 8.1 系统作为从站连接。我遵循Jenkins CLI Connection 机制指南并更改了 Jenkins 全局安全配置。

在 JNLP-Slave 的 TCP-Port 下,我选择了 Static 并将端口输入为 49187。当在 Slave 系统上启动 JNLP 连接时,一段时间后我收到“Read Timeout”错误。

有人可以建议我做错了什么吗?

Error  
java.net.SocketTimeoutException: Read timed out
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
  at java.lang.reflect.Constructor.newInstance(Unknown Source) 
  at sun.net.www.protocol.http.HttpURLConnectionS10.run(Unknown Source) 
  at sun.net.www.protocol.http.HttpURLConnectionS10.run(Unknown Source) 
  at java.security.AccessController.doPrivileged(Native Method) 
  at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
  at sun.net.www.protocol.http.HttpURLConnection.getInputStreamO(Unknown Source)
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  at java.net.HttpURLConnection.getResponseCode(Unknown Source) 
  at hudson.remoting.Engine.run(Engine.java:206) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketReadO(Native Method) 
  at java.net.SocketInputStream.socketRead(Unknown Source) 
  at java.net.SocketInputStream.read(Unknown Source) 
  at java.net.SocketInputStream.read(Unknown Source) 
  at java.io.BufferedInputStream.fill(Unknown Source) 
  at java.io.BufferedInputStream.read1(Unknown Source) 
  at java.io.BufferedInputStream.read(Unknown Source) 
  at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) 
  at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) 
  at sun.net.www.protocol.http.HttpURLConnection.getInputStreamO(Unknown Source)
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 
  at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) 
  at hudson.remoting.Engine.run(Engine.java:205) 
4

0 回答 0