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.

137 questions
2
votes
0 answers

Safari fails to load some resources over http/2 with Apache

I am experiencing an issue in Safari only where sites loaded over http/2 on our Apache 2.4 servers will intermittently (every 3-5 requests) fail to load certain resources. The pages always seem to load, but the JS, CSS, and images seem to fail. I…
Josh
  • 143
  • 2
  • 11
2
votes
0 answers

How to upgrade apache httpd to latest version (2.4.34) on Centos 7.5.1804?

Is there a "simple" way to upgrade Centos 7.5.1804's version of httpd in order to support http/2? Currently running Apache/2.4.6 and PHP 7.0.30. For this production server, compiling from source is not an option. Was hoping there's an EPEL or…
Ryan Griggs
  • 885
  • 2
  • 12
  • 27
2
votes
0 answers

Enabling HTTP/2 in Ubuntu 18.04

I've just upgraded to 18.04 from 16.04 and am having a problem enabling HTTP/2 on my websites. First of all, my websites all use HTTPS. I have done the following: sudo a2enmod http2 added the following text to /etc/apache2/apache2.conf Protocols h2…
Cromulent
  • 306
  • 1
  • 2
  • 17
2
votes
0 answers

php.net discourages the use of threaded MPM in production with Apache 2

php.net discourages the use of threaded MPM in production with Apache 2. Use the prefork MPM, which is the default MPM with Apache 2.0 and 2.2. It doesn't mention anything about apache 2.4, I have apache 2.4, ubuntu 18.04, php 7.2 I would like to…
YesItsMe
  • 181
  • 1
  • 5
2
votes
0 answers

nginx+http2: Upstream prematurely closed connection, PROTOCOL_ERROR

On my server I have nginx running using the default docker nginx image (version 1.13.8) as a reverse proxy for Lychee (using wonderfall/lychee), a photo gallery software written in PHP. As far as I can tell, the Lychee image itself also runs nginx…
cdauth
  • 861
  • 9
  • 18
2
votes
0 answers

Nginx proxy_pass loses headers when using http2

I've encoutered a problem with nginx losing headers to backend when using http2 protocol on nginx(regular http to Wildfly 10 backend). The below config works when taking the http2 parameter away and when the http2 parameter is enabled, the frontend…
2
votes
1 answer

Is it worth it to have gzip_static enabled with HTTP/2?

On a static website I precompress pages to .gz files with maximal compression level and serve them using gzip_static on;. I also have HTTP/2 enabled. My question is whether these things go well together, because I see mostly HTTP/1.1 requests in the…
Harmen
  • 167
  • 8
2
votes
0 answers

Chrome stalled requests for some HTTP2 resources

Issue Some resources from the CDN take minutes to load because, according to Chrome devtools, are "stalled". This happens only on Chrome and only the first time I open the page in an incognito window. This happened since when we enabled HTTP2 on…
Alessandro
  • 121
  • 2
2
votes
2 answers

HAProxy not working with ALPN

I need to use ALPN in order to configure HAProxy for HTTP/2 support. After configuring HAProxy I tried to restart but it failed. Even upgrading openssl to 1.0.2 did not help. Wikipedia states tat ALPN is supported since 1.0.2. The system I am…
merlin
  • 2,033
  • 11
  • 37
  • 72
2
votes
2 answers

apache2 http2 keepalives and gracefully finishing

I wonder if anyone out there can explain a few things for me as I am getting stuck. I am looking after a site that has multiple domains talking to the same code serving up different content depending on the domain used.We moved the site over to…
Tom A
  • 21
  • 3
2
votes
1 answer

HTTP/2 enable does not work

On Ubuntu 14.04.4 LTS with HHVM(HipHop VM 3.14.1) and Nginx(nginx/1.10.1) I try to enable HTTP/2 like the following in my vhost server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; root…
Set Kyar Wa Lar
  • 163
  • 1
  • 7
2
votes
3 answers

Nginx with http2 and ios WKWebView

We are running nginx on a debian system as our loadbalancer nginx version: nginx/1.9.10 built with OpenSSL 1.0.2e 3 Dec 2015 (running with OpenSSL 1.0.2g 1 Mar 2016) We had http2 activated in our server like this: server { listen 443 ssl…
Janning
  • 1,191
  • 1
  • 19
  • 35
2
votes
1 answer

Nginx request_time slower with HTTP/2

We are running nginx/1.9.10 as a frontend server with multiple application server as upstream. We are using plain http, mostly https and switched to http/2 in the last weak. We are logging like this: log_format custom '$host $server_port…
Janning
  • 1,191
  • 1
  • 19
  • 35
2
votes
1 answer

Apache with HTTP/2 and per-directory upload_max_filesize

I just upgraded my apache2 server on Debian 9.13 Stretch to start using HTTP/2. As far as I'm concerned, that requires switching from mod_php to PHP-FPM. The problem is that PHP-FPM does not obey certain apache directives from .htaccess. For…
2
votes
1 answer

What is the request line for HTTP/2?

For HTTP/0.9: GET / For HTTP/1.0: GET / HTTP/1.0 For HTTP/1.1: GET / HTTP/1.1 Host: example.com What is the request line for HTTP/2? Is it something like: GET / HTTP/2.0 Or HTTP/2?
1 2
3
9 10