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
2 answers

Why is nginx serving http2, or is it?

Been trying to get http2 going on my nginx server, and I'm confused about some things. I've looked around here and around the web, but I did not find exactly what I'm looking for, or it's answered using outdated information from back when it was…
user933740
  • 119
  • 3
1
vote
1 answer

HTTP2 enabled but not supported

I have an AWS Ubuntu 16 Apache Server that is set up to use HTTP2. I have followed every tutorial out there and they all say the same thing: sudo apt-get install software-properties-common sudo add-apt-repository ppa:ondrej/apache2 sudo apt-get…
1
vote
1 answer

Issues with file uploads with apache 2.4 + http2 + proxy_http

I am currently trying to enable http2 for a project. The system is running on Ubuntu 16.04 on AWS behind an ELB with proxy_protocol enabled. The site is running SSL only with Apache 2.4 from ppa:ondrej/apache2 in mpm_event mode and a tomcat 7 as the…
SebMel
  • 13
  • 1
  • 3
1
vote
0 answers

Ubuntu 17.04 netty-tcnative ALPN not available for JDK SSL/TLS engine

I have a Java application (runnung under Oracle Java, but the same issue happens with OpenJDK) that uses netty-tcnative. It runs without issue on macOS, but when I try running it on Ubuntu 17.04 I get the following exception: SEVERE: ALPN not…
junglie85
  • 111
  • 1
1
vote
0 answers

Strange behaviour with HTTP/2.0 (Apache-2.4.25)

I recently implemented HTTP/2.0 (yesterday), and while developing my website I have noticed that some requests are being delivered as HTTP/1.1. At first I thought that the fact they are taking 0ms that maybe it's due the files being in local cache,…
1
vote
2 answers

Nginx with SSL connection error

I'm trying to migrate a site from HTTP to HTTPS, however, my nginx (version: 1.10.3) config seems not to be working. The following behavior is desired: http://www.example.com/path/to/content should redirect to…
gregory
  • 113
  • 1
  • 1
  • 5
1
vote
0 answers

HTTPS/HTTP2 slower over network but faster locally

I was asked to setup a newer, optimised tile server that provides tiles over HTTPS (Google has disabled some map APIs when the page is not HTTPS) and it seemed to be the right thing to do to also use HTTP2. The existing server was Apache 2.4.7 with…
timbo
  • 229
  • 2
  • 4
  • 12
1
vote
2 answers

Enable compression for HTTP2 server-pushes on an apache server

If I enable H2 for my apache server and specify a preloaded link header on a HTML Dokument, the server performs a H2 server-push because it parses the Link header -- so far so good. The problem is that this pushed resource is delivered without…
Moritz
  • 238
  • 1
  • 8
1
vote
1 answer

Upgrade nginx from source

On debian Jessie, I installed nginx via apt-get. Now I want to upgrade to the latest nginx to take advantage of http2. I was unable to add it to the source.list file because it's a Raspberry PI. I downloaded, compiled it no problem, but it installed…
alanj
  • 113
  • 5
1
vote
0 answers

nginx is ignoring root location header (location /)

I have self-compiled nginx 1.9.14 with http2 support: nginx version: nginx/1.9.14 built by gcc 4.9.2 (Debian 4.9.2-10) built with OpenSSL 1.0.1k 8 Jan 2015 TLS SNI support enabled So I have a location = / block in my config, which should add a…
rugk
  • 506
  • 2
  • 6
  • 18
1
vote
1 answer

Fix headers in nginx with CORS and http/2

I have been working on my nginx config for a while now but somehow I seem to have a mixup with my headers. I got http/2 running with nginx 1.9.12 on ubuntu 14.04 and am getting a solid A rating. However even though I got most of the header…
Dominik
  • 315
  • 2
  • 5
  • 13
1
vote
0 answers

NGINX + HTTP2 + ALPN (ALPN, server did not agree to a protocol and No ALPN negotiated)

the protocol http2 is not working and I cannot see exactly where the error is. server { listen 80 ; listen [::]:443 ssl http2; listen 443 ssl http2; ... } curl: * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify…
1
vote
0 answers

nginx, HTTP/2, zero-length files

After an update of Centos 7.2 to 7.9 an HTTP/2-enabled vhost/site started to behave weirdly: random js/ccs files are downloaded in the browser as zero-length empty ones, but with 200 status. I cannot reproduce this in curl using --http2 switch…
drookie
  • 8,625
  • 1
  • 19
  • 29
1
vote
0 answers

Load Balancing HTTP/2 GRPC persistent connections

Let's take a look at this scenario. In a traditional LB model, we would have the LB (wether a reverse proxy or not) farm out req/rep to application level servers. This model is fine for the generic req/rep style of communication, but what happens…
Sam
  • 111
  • 1
1
vote
1 answer

(Dis-)Advantages of using HTTP/2 or HTTP/3 for backend connections (reverse proxy -> backend)?

What are the advantages and disadvantages of using HTTP/2 or even HTTP/3 for connections between reverse proxies and backends? I haven't really come across this and only ever see H2 and H2 deployed in front of reverse proxies and CDNs. ASFIK H2 and…
Moritz
  • 238
  • 1
  • 8