-
Bug
-
Resolution: Duplicate
-
Major
-
None
Hi, I configured my Jenkins to listen on HTTPS rather than on HTTP and now I can't seem to get my Windows slaves to connect to it:
Jenkins: 1.653 on Ubuntu 14.04 64-bit OpenJDK 1.7.0_79 installed via apt-get
Slave: on Windows 7 64-bit Oracle JRE1.7.0_80
> java -jar slave.jar -jnlpUrl https://JENKINS/computer/SLAVE/slave-agent.jnlp -secret SECRET -noCertificateCheck Skipping HTTPS certificate checks altogether. Note that this is not secure at all. Mar 14, 2016 9:01:55 AM hudson.remoting.jnlp.Main createEngine INFO: Setting up slave: SLAVE Mar 14, 2016 9:01:55 AM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Jenkins agent is running in headless mode. Mar 14, 2016 9:01:55 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http://JENKINS/, https://JENKINS/] Mar 14, 2016 9:01:55 AM hudson.remoting.jnlp.Main$CuiListener error SEVERE: Unexpected end of file from server java.net.SocketException: Unexpected end of file from server 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.HttpURLConnection$6.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.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.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at hudson.remoting.Engine.run(Engine.java:206) Caused by: java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(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.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at hudson.remoting.Engine.run(Engine.java:205)
- duplicates
-
JENKINS-43729 Slave-agent.jnlp does not obey httpPort or httpsPort settings
- Resolved