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
0
votes
1 answer

HAProxy maintenance with mode tcp and http2

I have a problem configuring HAProxy in TCP mode with http2. My main goal is to serve static maintenance page over HTTPS. Here's my HAProxy config: global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy stats…
0
votes
1 answer

How does a HTTP/2 server deal with a client not needing a resource?

I have been reading about HTTP/2 and the idea of server pushing resources to the client preemptively seems nice. But what if the client does not need it because the client has already cached it from the last visit? There seems to be an RST_STREAM…
Lord Loh.
  • 1,089
  • 3
  • 16
  • 25
0
votes
1 answer

Install nginx with http_v2_module flag enabled, via ap-get?

I'm really struggling to get a new Debian 8 server, with nginx and HTTP/2 configured I installed nginx with apt-get: apt-get install nginx That all runs fine, and I get this with nginx -V; configure arguments: --prefix=/etc/nginx…
Andrew Newby
  • 1,102
  • 2
  • 25
  • 58
0
votes
1 answer

After enabling http2 my website doesn't work anymore

I just upgraded apache (on Ubuntu 14.04) from 2.4.7 to 2.4.25, and everything was ok, after that I have enabled http2 module and inserted this in my virtual host: Protocols h2 http/1.1 After that I've tried to open site in browser and it is just…
user134969
  • 439
  • 2
  • 6
  • 18
0
votes
0 answers

Nginx ssl http/2 chrome doesnt work

https://tools.keycdn.com/http2-test says: HTTP/2 Test Result Yeah! domain.com supports HTTP/2.0. ALPN supported. In domain config: listen 443 ssl http2; NGINX -V from https://launchpad.net/~ondrej/+archive/ubuntu/nginx-mainline: nginx version:…
dima
  • 61
  • 5
0
votes
1 answer

PHP cURL HTTP2 support

I use Ubuntu 14.04.3 LTS on my server and run php5-fpm. I need to send a HTTP2 request via curl in php. I used this tutorial to install curl/libcurl: https://blog.cloudflare.com/tools-for-debugging-testing-and-using-http-2/ Somehow in terminal if I…
Tobias
  • 128
  • 3
0
votes
1 answer

Nginx HTTP/2 performance worse than HTTP/1.1 with TLS

I'm trying to configure nginx to serve a small, completely static site. Without HTTP/2 enabled, I get this graph in Chrome developer tools: Here, we see very good TTFB and good throughput on the files. Starting from the seventh request though, we…
Alfred Xing
  • 133
  • 1
  • 8
0
votes
1 answer

CSP response header causes firefox to abort loading of website

only in Firefox (recent and legacy) a website of mine is answered with a status code 200 but Firefox simply aborts without any error message. The server logs also show no issue. By going through the settings I pinned it down to the CSP header. Does…
mikeg
  • 1
  • 1
0
votes
1 answer

Nginx upstream https not proxing other pages

Having odd situation, even don't know how to search in google, how to describe it...Anyway I'm using Nginx and proxy'ing https traffic to upstream server. Everything is fine with http (with others domains) but can't get it to work with https... Here…
RomkaLTU
  • 103
  • 5
0
votes
2 answers

apache2 with letsencrypt is very slow

I have a problem with my server configurations, My site works great with http requests, but when I changed it to https using letsencrypt certificate - to enable http2 - the server became really slow. a normal request with http will take from 4 to 7…
Cooper
  • 11
  • 1
  • 1
0
votes
0 answers

Failed to start HTTP/2 Proxy

I have a serious problem here. After messing up with my server (I installed ntop and ntopng which had a port error because port 3000 was binded by nghttpx) I uninstalled ntop and ntopng and then at the next reboot I get the error: winpack.cf…
user243975
0
votes
0 answers

Http outperformed Http2 ,why, please help me to figure out?

I'm currently conducting performance testing on my NGINX web server container and I'm encountering some unexpected results. My tests show that HTTP performance is outperforming HTTP/2, despite SSL and reuseport being enabled. Here are the…
Mhd HZ
  • 1
  • 1
0
votes
1 answer

Redirect nginx port 80 to http2 443 fails

Searched tons of links on the web, I don't get why this conf doesn't redirect properly from http://example.com to https://example.com My nginx conf: # HTTPS server { listen 443 ssl http2; listen [::]:443 ssl http2; index index.html; …
0
votes
0 answers

Apache - http/2 enabled but still feeding http/1.1 on requests

Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips on CentOS 7, PHP 7.4.33, I have installed and enabled http/2 following the guide at How to enable http/2 from a Centos Package/yum?. No errors are reported and the module is loaded but pages remain served…
qlangiul
  • 1
  • 2
0
votes
1 answer

GRPC streaming not working when forwarded via Apache reverse proxy

I have a gRPC service and I want to deploy it behind an Apache reverse proxy. The apache configuration is similar to the following: LoadModule http2_module modules/mod_http2.so LoadModule proxy_http2_module…
crazyman
  • 66
  • 5