Questions tagged [alpn]

Application-Layer Protocol Negotiation (ALPN) is a Transport Layer Security (TLS) extension for application layer protocol negotiation.

ALPN allows the application layer to negotiate which protocol should be performed over a secure connection in a manner which avoids additional round trips and which is independent of the application layer protocols.

More about the proposed standard: http://tools.ietf.org/html/rfc7301

68 questions
1
vote
1 answer

How OkHttpClient can establish TLS connection via http2 with server that does not support ALPN?

I'm using OkHttpClient 3.14.9. I need to establish connection using TLSv1.3 and http2 protocols. The problem is that server does not support ALPN (OkHttpClient uses this extention to establish with server which version of http protocol to use). On…
Igor_M
  • 308
  • 2
  • 12
1
vote
2 answers

ALPN unsupported - error while consuming Google pub-sub messages in Spring Boot application

We are developing a Spring Boot application which subscribed to a Google pub-sub topic. Below is my code - pom.xml which has GCP-Spring Boot related dependencies org.springframework.boot
1
vote
1 answer

ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path" on IBM Webshere 9 JAVA 8

Need help on this. Sending HTTP2 request to Apple push server using OKhttp3 client. Server: Webshere 9 Java : 8 OKhttp3 :4.8.1 Also added ALPN jar in boot classpath. ALPN jar version mapped accurately with JDK version in…
1
vote
1 answer

How to config Nginx Only Support HTTP2 for No ALPN Clients

Here is the situation: Our client wants to back support some old ios mac systems, which the network lib it used does not support ALPN. Our Server is set up only to accept gRPC requests, so there is no need for the server to accept HTTP1.1…
Mithsul
  • 71
  • 1
  • 8
1
vote
1 answer

HTTP/2 Request with JMeter fails with "nullSession" (jetty-alpn)

I've installed the Blazemeter HTTP/2 Plugin for JMeter and have trouble getting HTTP/2 requests to work. My minimal test looks like this: Thread Group HTTP2 Request Server: stackoverflow.com Protocol: https View Result Tree Http2 Running…
Fabian Schmengler
  • 24,155
  • 9
  • 79
  • 111
1
vote
2 answers

How to disable ALPN extension?

As per this, in libcurl, the CURLOPT_SSL_ENABLE_ALPN option is enabled by default. For a project, I am trying to disable the ALPN extension, as below: CURLcode res = CURLE_OK; res = curl_easy_setopt(curl_, CURLOPT_SSL_ENABLE_ALPN, 0L); if(res ==…
Shailesh
  • 11
  • 5
1
vote
1 answer

Could not find a matching alpn-boot JAR for Java version: 12.0.2

Running sbt run on a Scala, akka-grpc project, based on their basic tutorial I get: [error] [jetty-alpn-agent] Could not find a matching alpn-boot JAR for Java version: 12.0.2 Is alpn-boot not compatible with Java 12 yet? What is this trying to…
Hunor Kovács
  • 1,062
  • 9
  • 16
1
vote
2 answers

How to add a new line to a shell file above a specific line with sed

I want to add a new line for the file apache-jmeter 4.0/bin/jmeter The last 2 lines of the file is as follows fi "$JAVA_HOME/bin/java" $ARGS $JVM_ARGS $JMETER_OPTS -jar. "$PRGDIR/ApacheJMeter.jar" "$@" I want to add a line above the last line…
1
vote
1 answer

Remote website ALPN support detection

Is it possible to check the support of ALPN with php curl? e.g.: if ($is_alpn == true) {echo 'ALPN supported';} P.S. curl 7.49.0, php 7.0, openssl 1.0.1t
1
vote
1 answer

Do I need to install/enable ALPN with HTTP2? How to do it for apache2 ubuntu 16.04?

I just enabled http2 on my ubuntu 16.04 server. When I ran a test on https://tools.keycdn.com/http2-test it verifies that http2 is supported but also gives a warning that "ALPN is not supported". Di I really need ALPN to take benifits of http2? If…
sri_wb
  • 339
  • 1
  • 6
  • 16
1
vote
0 answers

OkHttp + ALPN + APNS - result is SSL handshake_failure

Trying to use OkHttp (v3.4.1) to send requests via HTTP/2 to Apple's Production APNS servers (api.push.apple.com:443). I followed the steps here to enable ALPN: http://www.eclipse.org/jetty/documentation/current/alpn-chapter.html My environment…
chris.o.
  • 93
  • 1
  • 9
1
vote
1 answer

Maven dependency version dependent on JVM version

I'm trying to create a Maven POM which will pull in the correct version of alpn-boot when building the project and running the tests. The whole thing works if I'm injecting the property from "outside" when running the build (e. g. via mvn…
joschi
  • 12,746
  • 4
  • 44
  • 50
0
votes
0 answers

HAPRoxy Configuration is throwing SSL Handshake error in Production

Facing SSL handshake failure with the the below HAProxy configuration and Outage in our production environment. Flow: We are using a Load balancer to distribute the traffic between the servers Server Proxy request has been handled by the…
0
votes
1 answer

How can I complile Grpc.Core.dll form https://github.com/grpc/grpc for c# Visual Studio solution

I'm implementing Grpc server using Visual Studio C#. Client-side implemented on Android and IoS using chromium. We need to get HTTP3 QUIC connection. After investigations and testing we found that gRPC server closes connection after handshake…
Valery Yegorov
  • 171
  • 1
  • 11
0
votes
1 answer

Is ALPN mandatory for server to establish TLSv1.3 connection via http/2 ("h2") protocol?

I know, that if we talk about non secured connection, it is possible to establish connection via http/2 protocol without ALPN. But what about TLS connection? In RFC said: A client MUST send the connection preface (Section 3.5) and then MAY …
Igor_M
  • 308
  • 2
  • 12