Discussion:
HTTP2 support
Jenkins user
2018-10-15 14:40:10 UTC
Permalink
Hello,

I am trying to enable HTTP2 in a Windows machine with Jenkins 2.138.2
(Comes with JRE 1.8.144). I followed the instructions from
https://wiki.jenkins.io/display/JENKINS/Starting+and+Accessing+Jenkins
and
https://github.com/jenkinsci/winstone/blob/master/README.md#http2-support
and added
--extraLibFolder=D:/Jenkins/ex
tra
-Xbootclasspath/p:D:/Jenkins/extra/alpn-boot-8.1.11.v20170118.jar
--http2Port=9090

to the arguments element in Jenkins.xml and restarted the service.

When I try to access Jenkins on that port, I get this in jenkins.err.log

Oct 15, 2018 10:21:53 AM org.eclipse.jetty.io.ManagedSelector$Accept failed
WARNING: java.lang.IllegalStateException: Connection rejected: No ALPN
Processor for sun.security.ssl.SSLEngineImpl from
[***@13978a3]

I searched the web and tried different things, but still no luck.

Am I doing something wrong?

Thanks
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/04d96810-47f0-47a8-b423-40e8cdf6817f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
GraphListenerTest
2018-11-28 23:36:43 UTC
Permalink
Hi
Sorry for the very late reply.....
I will update the documentation especially it's a bit wrong now with last
jetty upgrade.

With java8:
java8
java -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar -jar jenkins.war
--http2Port=9090 --extraLibFolder=`pwd`/lib --httpPort=-1
with lib directory containing
jetty-alpn-openjdk8-server-9.4.12.v20180830.jar
Regarding alpn-boot-8.1.11.v20170118.jar version please consider looking at
corresponding versions
here https://www.eclipse.org/jetty/documentation/9.4.x/alpn-chapter.html#alpn-versions

java9+
java -jar jenkins.war --http2Port=9090 --extraLibFolder=`pwd`/lib
--httpPort=-1 --enable-future-java
with lib directory containing jetty-alpn-java-server-9.4.12.v20180830.jar

HTH
Olivier
Post by Jenkins user
Hello,
I am trying to enable HTTP2 in a Windows machine with Jenkins 2.138.2
(Comes with JRE 1.8.144). I followed the instructions from
https://wiki.jenkins.io/display/JENKINS/Starting+and+Accessing+Jenkins
and
https://github.com/jenkinsci/winstone/blob/master/README.md#http2-support
and added
--extraLibFolder=D:/Jenkins/ex
tra
-Xbootclasspath/p:D:/Jenkins/extra/alpn-boot-8.1.11.v20170118.jar
--http2Port=9090
to the arguments element in Jenkins.xml and restarted the service.
When I try to access Jenkins on that port, I get this in jenkins.err.log
Oct 15, 2018 10:21:53 AM org.eclipse.jetty.io.ManagedSelector$Accept failed
WARNING: java.lang.IllegalStateException: Connection rejected: No ALPN
Processor for sun.security.ssl.SSLEngineImpl from
I searched the web and tried different things, but still no luck.
Am I doing something wrong?
Thanks
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f305fd9e-83b8-4d97-8554-f454907dac4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...