Questions tagged [npn]

The Next Protocol Negotiation extension (NPN) is currently used to negotiate the use of SPDY as an application level protocol.

Read more about NPN at https://technotes.googlecode.com/git/nextprotoneg.html.

13 questions
5
votes
1 answer

Embedded Java server using Grizzly: How do you enable http2

So I am trying to create a REST API server using Grizzly / Jersey and it is working fine but I am not able to figure out how to enable http2. Documentation on this subject is all but non-existent. This is what I have: private static SSLContext…
3
votes
1 answer

Can I send http/2 request with OkHttp over NPN Negotiation?

I notice that OkHttp support h2 over ALPN in Android 5.0+. From some article,I learned that we can use NPN Negotiation for http/2 request. Can I send http/2 request with OkHttp over NPN Negotiation? So that it's possible to support h2 on android…
Zack
  • 1,073
  • 2
  • 8
  • 20
1
vote
1 answer

Does AWS Elastic Load Balancer (ELB) v2 support Next Protocol Negotiation (NPN)

I'd like to use AWS Elastic Load Balancer (ELB) v2 Application Load Balancer with HTTP 2.0. I'm trying to find out if it supports Next Protocol Negotiation (NPN) which was replaced by ALPN in the official specs. I need NPN because I have some older…
Muhammad Rehan Saeed
  • 28,236
  • 27
  • 169
  • 261
1
vote
1 answer

PhantomJS - WaitFor Method will not execute function. Programm is stuck

I got some trouble using the waitFor-Method within PhantomJS. This is what I want to do: Load multiple webpages by generated urls Use jQuery to parse some links from that pages Store each parsed link in the same array (In this example I'll just log…
Goot
  • 2,599
  • 5
  • 36
  • 56
0
votes
0 answers

How to enable NPN in Apache 2.4.46?

ALPN is enabled by default, or probably gets enabled when you enable mod_http2. But, from a testssl.sh test, I saw that NPN was disabled. How can I enable it in Apache 2.4.46? https://github.com/eousphoros/mod-spdy patch file results in errors. I do…
0
votes
0 answers

NPN-SLIDER ERROR IN MY ANGULAR PROJECTNpn-slider error in angular project

I have installed npn-slider on my angular project using npm CLI. And then I imported the NpnSliderModule into my module and use npn-slider on the HTML. --CLI npm install npn-slider --save --module import { NpnSliderModule } from…
user14894012
0
votes
2 answers

I can't get react up and running. When i type npm start then it gives me an error

As you can see i get this error. Has it something to do with my package.json? Default looks like this. { "name": "reactproject", "version": "0.1.0", "private": true, "dependencies": { "react": "^16.12.0", "react-dom":…
user10285972
0
votes
1 answer

How to make visible light sensor module

How to make visible light sensor module from existing LDR module (I have one of it). Both of it have same circuit but different sensors. So,I would like to buy phototransistor separately as LDR is slow to respond to 5mm while LED which flickers at…
user12613407
0
votes
1 answer

Google Spanner | java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly configured

So i have a problem that i've seen before but all attempts to use other fixes have not worked. I'm havinga problem with the Google Spanner, more specifically at the line: SpannerOptions options = SpannerOptions.newBuilder().build(); Where I receive…
0
votes
2 answers

how to disable responding to http1 requests in nginx or apache or caddy?

I have a http2 server but by default it responds http1 requests. I want to stop my server responding to http1 requests? Most browsers might use alpn or npn. is there a possibility to advertise only http2 ? or a custom list of application protocols ?
0
votes
2 answers

How can I detect, server side, if the client supports SPDY?

How can I detect, server side, if the client supports SPDY? I want my website to be as fast as possible. Here's my thinking: (Note: my website does not need to transmit sensitive data.) If a browser connects to my website with HTTPS but it doesn't…
Tyler Collier
  • 9,964
  • 9
  • 63
  • 74
-1
votes
2 answers

Why " npm install " command warns "npm WARN deprecated tslint@6.1.3:" while installing Angular project?

Why " npm install " command warns "npm WARN deprecated tslint@6.1.3:" while installing Angular project? npm WARN deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for…
-3
votes
1 answer

How do I upgrade React from 0.13 to 15.3.2?

I'm a beginner and I need to upgrade React from 0.13 to 15.3.2 Please tell me the exact procedure.
GeekInTraining
  • 125
  • 1
  • 1
  • 5