Questions tagged [http2]

HTTP2 (or HTTP v2.0) is an alternative to, but does not obsolete, HTTP1.1.

HTTP v1.1's underlying transport has several characteristics that have a negative overall effect on application performance today. HTTP/2 addresses these issues by defining an optimized mapping of HTTP's semantics to an underlying connection. Specifically, it allows interleaving of request and response messages on the same connection and uses an efficient coding for HTTP header fields. It also allows prioritization of requests, letting more important requests complete more quickly, further improving performance.

Source: RFC 7540 @ https://datatracker.ietf.org/doc/html/rfc7540
1819 questions
0
votes
0 answers

protocol error on ios and safari with http2

When I access this page on ios (any browser) or safari on mac, I get the following error : [Error] The operation couldn’t be completed. Protocol error [Error] Failed to load resource: The operation couldn’t be completed. Protocol error [Error] The…
fbarril
  • 87
  • 1
  • 1
  • 6
0
votes
1 answer

is it possible to mark some resources (urls) as http 1.1 only? on a server that offers both http2 and http1.1

Please is it possible to mark some resources (urls) as http1.1 only, on a server that offers both http2 and http1.1 ? Serving large files via http2 seems to break on ACE Server. However these same files are served without issues via http1.1 on the…
Charles Okwuagwu
  • 10,538
  • 16
  • 87
  • 157
0
votes
2 answers

HTTP/2 Enabled ALPN supported but my site get HTTP/1.1

Hello community ! I search on all related post a solution to my problem but nothing run for me... Actually I try to configure my apache 2 server, I follow some tutorial and it seems to me that I did everything correctly. After check with…
ag-dev
  • 213
  • 2
  • 12
0
votes
0 answers

How to keep grpc-js client connection open (alive) during inactive times?

I have a grpc server streaming RPC that communicates with the client. The client throws an error when it does not receive communication from the server. The error is: Error: 13 INTERNAL: Received RST_STREAM with code 2 at…
Daniel
  • 611
  • 8
  • 20
0
votes
1 answer

Enable HTTP2 in Local IIS for CSS Preload

I am analyzing my E-Commerce website with Lighthouse Dev tool in Chrome. It suggests me to Preload some CSS files as to Eliminate Render-blocking resources. Why is to link CSS using below code:
Newbie
  • 11
  • 2
0
votes
1 answer

Opening a web page makes two identical requests, but the second one with "Accept: image/webp,*/*" header

I have an nginx proxy node and an nginx upstream node. When I open the page in a browser, the original request is then duplicated but uses a different Accept: image/webp,*/* header. It's running behind Cloudflare proxy with Development mode ON so…
Alex
  • 407
  • 4
  • 11
0
votes
1 answer

Jetty HTTP2 server using Headers and Data frames

I want to create a Jetty HTTP2 Server that recieves POST requests via stream. I noticed that there are more examples about Http2Client then server. Can anyone help me with some references about http2 server implementation? The technologies that I…
Donny
  • 1
  • 1
0
votes
0 answers

Make a TLSv1.2 request with HTTP2

Im trying make a POST request to a server using TLSv1.2. The problems i have here are: How to make a connection with TLSv1.2 secure socket layer ? How to HPACK the headers ? How to send the body(DATA) to same stream i think that is via the Stream…
Alan Mars
  • 9
  • 2
0
votes
2 answers

Error "ERR_HTTP2_INADEQUATE_TRANSPORT_SECURITY" in Google Chrome while accessing locally hosted SPA

I've a locally hosted SPA (Kestral/.Net core). It is using a self signed certificate for HTTPS communication (generated through Server Certificates in windows 10). It works well with IE11, however when accessed from Google Chrome, shows up error -…
0
votes
1 answer

How to enable HTTP2 in Cloud Foundry using nginx-buildpack?

Is it possible to enable HTTP2 in cloud foundry using NGINX buildpack or any? I understand that GoRouter will not support HTTP2 but not sure if there is any workaround for this? My original requirement is to serve large JS file from Cloud Foundry so…
Rahul
  • 143
  • 2
  • 16
0
votes
1 answer

Jetty is throwing exceptions on ktor i think issue with http2

I'm getting these crashes on server using ktor with jetty. On start of jetty server it show exception of idle timeout then after sometime it throw too many other exceptions which i mentioned and server stop working please tell help me to findout…
William
  • 225
  • 4
  • 21
0
votes
0 answers

Seing http2 RST_STREAM frame with ErrorCode CANCEL

Seeing RST_STREAM with CANCEL being sent from client to server for some streams. Have added two stream data where in one case seeing RST_STREAM and in another not. HTTP2 Stream where RST_STREAM is seen No. Time Source …
swamydkv
  • 27
  • 1
  • 11
0
votes
1 answer

Is the famous HPACK demo diagram wrong?

I was so much confused by 19 in the rightmost picture, which IMHO would be 4 [2]. The slide is from https://docs.google.com/presentation/d/1r7QXGYOLCh4fcUq0jDdDwKJWNqWK1o4xMtYpKZCJYjM/edit#slide=id.gfd0e3427_048 [2]…
xxx7xxxx
  • 774
  • 6
  • 18
0
votes
1 answer

Is there anything in http1.1 that says I can't send the response before the body of the request is done being sent?

In http2, you can send a header response back 'before' the body of the request is fully sent. Of course, you then have to deal with sending an http 200 OK response and then something failing later. This is fine for us. I am wondering for a…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
0
votes
1 answer

Streaming HTML5 Video chunks via multiple HTTP/2 TCP sockets

I'm trying to optimize the load time of a html5 video. Is there any way to make a browser deal with each webm video chunk as single TCP streams, to utilize HTTP/2 improved parallelisation?