Questions tagged [http2]

HTTP/2 (originally named HTTP/2.0) is a major revision of the HTTP network protocol used by the World Wide Web.

HTTP/2 (originally named HTTP/2.0) is a major revision of the HTTP network protocol used by the World Wide Web. It was developed from the earlier experimental SPDY protocol, originally developed by Google. HTTP/2 was developed by the Hypertext Transfer Protocol working group (httpbis, where bis means "second") of the Internet Engineering Task Force. HTTP/2 is the first new version of HTTP since HTTP 1.1, which was standardized in RFC 2068 in 1997. The Working Group presented HTTP/2 to IESG for consideration as a Proposed Standard in December 2014, and IESG approved it to publish as Proposed Standard on February 17, 2015. The HTTP/2 specification was published as RFC 7540 in May 2015.

The standardization effort was supported by Chrome, Opera, Firefox, Internet Explorer 11, Safari, Amazon Silk and Edge browsers. Most major browsers added HTTP/2 support by the end of 2015.

According to W3Techs, as of June 2016, 8.4% of the top 10 million websites supported HTTP/2. According to research by isthewebhttp2yet.com, as of May 2016, CloudFlare provision HTTP/2 across more domains than any other network provider.

144 questions
1
vote
1 answer

Windows update causes IIS Express to fail with ERR_HTTP2_PROTOCOL_ERROR

I've been building reactjs apps on a windows machine for the past year, running the Visual Studio IIS test server for debugging / testing. I just installed a windows update pack, rebooted, and my local VS IIS Express server fails to serve my sites…
user101289
  • 297
  • 1
  • 3
  • 12
1
vote
2 answers

How to disable Nginx server push refreshing webpage (Disable cached resources pushes)?

I have added Nginx http/2 server push to my WordPress site selected files (fonts, CSS and JS). It is working as expected. Although, there is a problem. If the visitor navigates to another page on my site again Nginx server pushes the same fail even…
Chathu
  • 97
  • 1
  • 12
1
vote
1 answer

Upload files slow (nginx + http2)

I'm migrating a php webapp from an apache server to an nginx. Everything works as expected except uploading files. A file of 156 MBs takes ~11s to be uploaded on current server with apache, while the same file on the new server on nginx takes…
lluisaznar
  • 111
  • 1
  • 3
1
vote
0 answers

How to configure Apache to serve HTTP version 2?

The configuration file of Apache already has the following: LoadModule http2_module modules/mod_http2.so and... Protocols h2 h2c http/1.1 HTTPS is working too using certificate issued from Let's…
1
vote
0 answers

HTTP/2 Server Push Crossorigin not Working for Fonts in .htaccess

Further to my original question, preloading fonts using link headers in .htaccess, I've since been experimenting with HTTP/2 Server Push for more efficient caching. Server push works as expected for CSS, JS and Fonts, but the fonts aren't used due…
1
vote
1 answer

How to resolve ERR_HTTP2_PROTOCOL_ERROR for static files on a first page load (SSL + Pagespeed)?

I have a nginx HTTP2 + ngx_pagespeed + brotli + Wordpress W3 Total Cache setup. On a first page load some static files that were modified by the Pagespeed fail to load, giving a ERR_HTTP2_PROTOCOL_ERROR. Initially I thought that it's W3 Total Cache…
user64675
  • 91
  • 1
  • 2
  • 8
1
vote
1 answer

nginx http_push_preload and forwarding headers/cookies

I'm experimenting with pushing redirects using nginxs http2_push_preload on; directive. In my application I detect redirects and add a Link: ; as=document; rel=preload header that matches the Location header. This works well for some…
jaap3
  • 121
  • 3
0
votes
0 answers

Why do I get mixed http/1.1 and h2 requests to the same server?

I have set up my apache2 to support http2 roughly following https://http2.pro/doc/Apache. Everything runs smoothly, but when I check connections to my Nextcloud and Roundcube instances in Chromiums dev tools, SOME requests are executed via h2, but…
mcandril
  • 295
  • 3
  • 13
0
votes
1 answer

Nginx redirect HTTPS, www, IPv6, HTTP2

I'm trying to avoid redirect chains in Nginx, which I am using as a reverse proxy to Apache. I've been able to find plenty of documentation about redirecting HTTP to HTTPS. I've also found plenty of documentation about redirecting www to naked…
adam-asdf
  • 191
  • 1
  • 11
0
votes
1 answer

Apache HALF_CLOSED_REMOTE errors causing timeouts

This is a busy web server running Apache 2.4. Recently we have noticed several brief outages, where the server is timing out on incoming requests for a short period of time (less than a minute). Looking at the Apache error log, there are a number…
Nathan Stretch
  • 181
  • 2
  • 15
0
votes
1 answer

centos 8 Dockerfile apache http2

I'm trying to dockerise our system and I'm doing it step by step with 2 servers. In one I have docker (running on a centos7 server) and in the internal dev VM (running Centos8) I'm installing the same software as in the Dockerfile. I'm trying to…
Seba
  • 167
  • 10
0
votes
2 answers

How to get Apache2 Version 2.4.17 or higher on Debain 8 (Jessie)?

I work with a virtual server, running Debian Jessie (8) and Apache2 in version 2.4.10. Unfortunately it seems that this version of Apache2 is the latest version that is served by the official repositories. My Question: Is there a comfortable way to…
Christoph
  • 1
  • 1
0
votes
1 answer

Unexpected mixture of http2 and 1.1 responses

I am configuring nginx as a reverse proxy (in front of some http/1.1 servers). I initially set up an origin server on the nginx instance. As expected it returned content exclusively over HTTP/2. However when I configured nginx to provide a proxy…
symcbean
  • 21,009
  • 1
  • 31
  • 52
0
votes
1 answer

HTTP/2, No ALPN negotiated, Apache, centos 7

I am trying to install and configure http2, following the www.tunetheweb.com/performance/http2 article. The problem may be No ALPN negotiated. If I run either of the following, I get No ALPN negotiated: $ openssl s_client -alpn h2 -connect…
0
votes
2 answers

Unable to implement Server Push

I am able to implement HTTP/2 on my Nginx server which resides within a Docker container. However, I am not able to carry out server push. These are the configuration files that I have written. /etc/nginx/sites-available/lilstories server { …