Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » httpPort=-1 does not work
httpPort=-1 does not work [message #1765419] Fri, 09 June 2017 10:22
Benjamin Gathmann is currently offline Benjamin GathmannFriend
Messages: 1
Registered: June 2017
Junior Member
The documentation says that to disable http and only use ssl, I have to set httpPort to -1, see:

This does not work in Hudson 3.3 on Ubuntu 14.04.
I get an exception in the /var/log/hudson/hudson.log:

2017-06-09 10:32:47.116:WARN:oejuc.AbstractLifeCycle:main: FAILED ServerConnector@7d1c5a5a{HTTP/1.1}{}: java.lang.IllegalArgumentException: port out of range:-1
java.lang.IllegalArgumentException: port out of range:-1
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(
        at org.eclipse.jetty.server.ServerConnector.doStart(
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
        at org.eclipse.jetty.server.Server.doStart(
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
        at org.eclipse.hudson.jetty.JettyLauncher.start(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.eclipse.hudson.war.Executable.launchJetty(
        at org.eclipse.hudson.war.Executable.main(

And the Hudson app won't reply on the httpsPort I defined.
Previous Topic:Setup Hudson to use SSL/HTTPS
Next Topic:Reference SVN tagged job in second job
Goto Forum:

Current Time: Sun Mar 18 15:50:57 GMT 2018

Powered by FUDForum. Page generated in 0.01914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software