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
0
votes
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
  • 287
  • 1
  • 3
  • 12
0
votes
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
  • 87
  • 1
  • 11
0
votes
1 answer

http/1 and http/2 parallel delivery using nginx

Is it possible to have both http/1 and http/2 enabled for a vhost in nginx? The idea is to broaden the supported browsers by serving http/2 if supported, and, if not, fall back to http/1.
Leandros
  • 103
  • 6
0
votes
1 answer

How does a webserver know which files to send in an HTTP/2 request?

As I understand HTTP/2 can send the website assets (images, scripts, css files, etc) over a single connection, as well as push them. I am interested in how this actually happens in practice. How does a general-purpose server (such as Apache or…
CaptainCodeman
  • 207
  • 1
  • 7
0
votes
1 answer

HTTP/2 not being enabled in Apache

I am trying to enable HTTP/2 in Apache 2.4.38, but I am failing to do so. All requests are still being served using HTTP/1.1 according to the Lighthouse tests in the browser. I am using the official HTTP/2 guide for apache, but it's not working for…
0
votes
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…
0
votes
0 answers

Chrome request pending forever when http2 module is enabled

I have a centos 7 with a customized fresh httpd(2.4.46). When the http/2 protocol's module is loaded, then in chrome browser - and only in chrome browser - in the case if I smash the refresh button on a page which API is hosted on the centos server,…
Random Name
  • 101
  • 4
0
votes
1 answer

proxy pass http 2 with nginx

I tried to proxy pass all inbound traffic with nginx. I use this repo with thisnginx.conf and works properly. http{ server { listen 80 default_server; server_name _; resolver ${RESOLVER} ipv6=off; location / { …
0
votes
0 answers

502 Error from nginx server after setting up http2 and ssl

I am getting a 502 error from my nginx server. I used certbot to configure the ssl and am trying to get http2 enabled and somehow i broke the server. when I run sudo nginx -t it reads: nginx: [warn] conflicting server name "website.com" on…
mike
  • 1
  • 1
0
votes
2 answers

unable to use http2 h2c on apache2

Im trying to enable http2 h2c in my website under ubuntu 18.04 and apache2, but it isnt working. heres what i have done use MPM-event instead of prefork Add protocols to 000-default.conf ServerName 167.71.149.xxx …
Ricardo Mehr
  • 101
  • 1
0
votes
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
  • 71
  • 1
  • 2
  • 7
0
votes
1 answer

h2c on apache not workikng

I would like to enable h2c mode on apache, so I can use HTTP2.0 protocol. In my virtual host configuration I have included the line: Protocols h2c http/1.1 I have also followed the advise to disable prefork but it doesn't work as…
jlanza
  • 113
  • 1
  • 2
  • 7
0
votes
1 answer

apache reverse proxy http2 to https

EDIT: I figured out the issue I didn't have the http2 module turned on, so enabling http2 on the edge wasn't working. I don't need http2 communication between apache and my node servers, as there is no HTTP connection limit between servers. This…
sakekasi
  • 1
  • 1
0
votes
1 answer

Long TTFB / SSL negotiation in setup of HTTP/2, apache and Nginx as reverse proxy

As in title, i realize partly very long TTFB caused by SSL negotiation longer then one second in setup of HTTP/2, Apache and Nginx as reverse proxy. What could be the setting screws and mostly expectable causes for such? Here an example. ps: Found a…
Evgeniy
  • 255
  • 2
  • 10
-1
votes
1 answer

Cannot get HTTP2 enabled on nginx 1.13 running with openSSL 1.0.2

Im having a clue, Im trying to enable http2 on my website. I added it on my nginx.conf, I updated nginx from debian repository and added openSSL from another repo. nginx -v : nginx version: nginx/1.13.4 built by gcc 4.9.2 (Debian 4.9.2-10) built…
1 2 3
9
10