-
Bug
-
Resolution: Duplicate
-
Major
-
Windows XP
Our Jenkins is running behind Nginx over SSL, then proxy-passed to Winstone. It has been working fine, but today I upgraded from I think 1.486 to 1.500 just to discover that the Win XP slave is not able to connect. The slave-agent.jnlp was somehow not working. When I run it from the CLI I discovered that it's trying to connect to http://, although the config is set to https://, then it gets 301 Moved Permanently from Nginx, and since it is unable to handle it, it just dies with a SEVERE error.
Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Hudson agent is running in headless mode.
Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among http://.../jenkins/ # SHOULD BE HTTPS!!!
Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: http://.../jenkins/tcpSlaveAgentListener/ is invalid: 30
1 Moved Permanently
java.lang.Exception: http://.../jenkins/tcpSlaveAgentListener/ i
s invalid: 301 Moved Permanently
at hudson.remoting.Engine.run(Engine.java:168)
So
1) Why does it use http instead of https when the settings are clear?
2) Why is it unable to handle 302?
Thanks a lot!
Cheers,
Ondra Kupka
- duplicates
-
JENKINS-16368 Hardcoded protocol in some links
-
- Resolved
-
[JENKINS-16613] Windows slave fails to start via JNLP (wrong URL scheme + fails to redirect)
Summary | Original: Windows slave via JNLP fails to redirect | New: Windows slave fails to start via JNLP (wrong URL scheme + fails to redirect) |
Description |
Original:
Our Jenkins is running behind Nginx over SSL, then proxy-passed to Winstone. It has been working fine, but today I upgraded from I think 1.483 to 1.500 just to discover that the Win XP slave is not able to connect. The slave-agent.jnlp was somehow not working. When I run it from the CLI I discovered that it's trying to connect to http://, although the config is set to https://, then it gets 301 Moved Permanently from Nginx, and since it is unable to handle it, it just dies with a SEVERE error. Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http://.../jenkins/] # SHOULD BE HTTPS!!! Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: http://.../jenkins/tcpSlaveAgentListener/ is invalid: 30 1 Moved Permanently java.lang.Exception: http://.../jenkins/tcpSlaveAgentListener/ i s invalid: 301 Moved Permanently at hudson.remoting.Engine.run(Engine.java:168) So 1) Why does it use http instead of https when the settings are clear? 2) Why is it unable to handle 302? Thanks a lot! Cheers, Ondra Kupka |
New:
Our Jenkins is running behind Nginx over SSL, then proxy-passed to Winstone. It has been working fine, but today I upgraded from I think 1.486 to 1.500 just to discover that the Win XP slave is not able to connect. The slave-agent.jnlp was somehow not working. When I run it from the CLI I discovered that it's trying to connect to http://, although the config is set to https://, then it gets 301 Moved Permanently from Nginx, and since it is unable to handle it, it just dies with a SEVERE error. Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Hudson agent is running in headless mode. Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http://.../jenkins/] # SHOULD BE HTTPS!!! Feb 3, 2013 1:39:24 PM hudson.remoting.jnlp.Main$CuiListener error SEVERE: http://.../jenkins/tcpSlaveAgentListener/ is invalid: 30 1 Moved Permanently java.lang.Exception: http://.../jenkins/tcpSlaveAgentListener/ i s invalid: 301 Moved Permanently at hudson.remoting.Engine.run(Engine.java:168) So 1) Why does it use http instead of https when the settings are clear? 2) Why is it unable to handle 302? Thanks a lot! Cheers, Ondra Kupka |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 147437 ] | New: JNJira + In-Review [ 192405 ] |