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.

Filter by
Sorted by
Tagged with
-2
votes
0answers
21 views

Can I use IIS 10 on Windows Server 2012 R2 to serve pages in HTTP/2

My server is windows server 2012 R2 Currently running asp.net 4.8 web site with IIS 8.5 I want to be able to serve HTTP2 Can I just install IIS 10 express and start serving my websites? Anyone have ...
0
votes
1answer
60 views

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?
0
votes
0answers
41 views

Apache doesn't show any page for 414 Request URI Too large when using HTTP/2

Apache doesn't show any page for 414 Request URI Too large when using HTTP/2. So, when my request is large enough: HTTP/1.1 results in: HTTP/1.1 414 Request-URI Too Long Date: Tue, 16 Mar 2021 15:16:...
0
votes
2answers
36 views

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 ...
1
vote
0answers
110 views

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

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.
0
votes
0answers
160 views

Unable to receive gRPC error during a response streaming call using HAProxy in HTTP mode

I'm working on a gRPC application that will be served behind HAProxy using the http mode. If the server application immediately (ie. before sending any responses) aborts the response streaming call ...
3
votes
1answer
140 views

Web server CPU Utilization slowly increasing with LAMP stack?

I made a ton of changes to my website this year and noticed that my CPU Utilization has been gradually increasing for a couple of months (it slowly went from around 0% to 60% in about 2 months). After ...
0
votes
0answers
29 views

How does nginx handle HTTP/1 to HTTP/2 conversion?

I just read this question about using nginx as a HTTP/2 server that connects to the web app via HTTP/1 proxy_pass. However, I am interested in the specifics of what actually goes on with the ...
0
votes
1answer
185 views

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

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 ...
0
votes
0answers
32 views

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... <IfModule mod_http2.c> Protocols h2 h2c http/1.1 </IfModule> HTTPS is ...
0
votes
0answers
245 views

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

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 _; ...
0
votes
0answers
78 views

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] ...
1
vote
0answers
87 views

Enable http2 on Debian 11 Bullseye and Apache 2.4.41

I'm testing Debian 11 Bullseye with Apache 2.4.41 and I'm trying to activate HTTP2 I did some things : sudo a2enmod http2 It returns : Module http2 already enabled Then I put this line on my SSL/...
0
votes
2answers
47 views

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 <...
1
vote
0answers
34 views

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 ...
0
votes
1answer
2k views

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

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

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: <location>; as=document; rel=preload header that ...
0
votes
1answer
308 views

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

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 ...
0
votes
0answers
67 views

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 ...
2
votes
1answer
175 views

Does F5 HTTP/2 profile need tuning?

The current default for the F5 HTTP/2 profile has a Concurrent Streams Per Connection default of 10. This seems a bit conservative. IETF recommended that this value being no smaller than 100, so as to ...
0
votes
2answers
1k views

Nginx - enable download of multimedia file instead of streaming?

I am trying to enable multimedia (Mp3 and Mp4) file downloads on my newly setupped nginx/1.17.6 using HTTP2 server but the file started streaming instead of downloading. Here is my nginx.conf file: ...
0
votes
1answer
395 views

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

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). ...
0
votes
1answer
802 views

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

HTTP/1 to HTTP/2 translation via proxy

I have a legacy client application that supports HTTP/1 protocol only. Some of the servers accessed by this application no longer support the HTTP/1 protocol because they migrated to the HTTP/2 ...
0
votes
2answers
318 views

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

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. ...
1
vote
0answers
147 views

Client connects to Cloudfront via HTTP2, then connects to an Apache Server via HTTP1, can HTTP2 vulnerabilities be exploited in the HTTP1 connection?

We have an environment where customers connect to a Cloudfront distribution via HTTP2 and then from the Cloudfront distribution to an Apache web server via a HTTP1 connection. [ client ] ---(https, ...
2
votes
1answer
715 views

Enabling HTTP/2 makes the site much slower in nginx

After enabling HTTP/2 to my website, I found that the performance dropped dramatically. The download speed becomes much slower, and large image requests block other API calls. Here is an example ...
3
votes
0answers
457 views

Microsoft IIS HTTP/2 Vulnerabilities Registry Keys Recommended Values

Microsoft "fixed" the HTTP/2 vulnerabilities recently discovered. The updates add the ability to create the registry keys to stop the vulnerabilities, they don't actually fix the vulnerabilities ...
0
votes
1answer
441 views

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 ...
0
votes
2answers
965 views

Disable HTTP/2 connection reuse across domains

RFC 7540, § 9.1.1 states that Connections [...] MAY be reused for requests with multiple different URI authority components [...] as long as the origin server is authoritative [...]. So, for ...
1
vote
3answers
1k views

HTTP/2 not enabled on a configured Apache 2.4.38 web server

I have a Debian 10 (had the exact same issue with Debian 9) running an Apache 2.4.38 web server. Apache modules mpm_event and http2 are installed and the websites are served through HTTPS. I have ...
0
votes
2answers
883 views

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/...
7
votes
1answer
1k views

nginx conf: http2 module not working in Chrome in ubuntu 18.04

I'm trying to setup the http2 module in nginx on a fresh Ubuntu 18.04 vps. Http2 works fine in Firefox (I checked the response headers). Some third party websites indicate that my http2 configuration ...
0
votes
1answer
880 views

ERR_SSL_PROTOCOL_ERROR after http2 enabled

I'm setting HTTP2 for my application and I get randomly ERR_SSL_PROTOCOL_ERROR on y browser. this is happening only on Google Chrome browser. Everything is OK on Firefox. I'm using Let's Encrypth ...
3
votes
1answer
283 views

Firefox periodically doesn't download CSS files from nginx server over HTTP2 with SSL

When I use Firefox to access one of my sites with a lot of CSS files, periodically, not all the CSS files are downloaded Looking in the Developer Control Panel in Firefox (F12), I see that, when the ...
0
votes
1answer
381 views

nginx seems to use http2 random (nearly always) and regardless of configuration

I just was debugging a site (with Lighthouse 3.2.0) for which I had http/2 enabled on the nginx (1.15.9 / official docker image) proxy with listen 443 ssl http2; but Lighthouse still said that all ...
0
votes
1answer
187 views

Windows setting Http2MaxSettingsPerMinute - counted per connection or server-wide?

In article https://support.microsoft.com/en-us/help/4491420/define-thresholds-on-the-number-of-http-2-settings-parameters-exchange, Microsoft describes two new Windows registry settings to address an ...
0
votes
0answers
659 views

ZIP files on Apache 2.4 with HTTP/2 fail to download after around 6 MBs

I am attempting to configure an Apache 2.4.25 (Debian 9.7) server to serve files via HTTP/2. All HTML, CSS, JS and image files are being correctly served. However, I am facing difficulties with ...
2
votes
2answers
4k views

Apache - http/2 enabled but still using http/1.1

Running Apache/2.4.38 (Unix) OpenSSL/1.0.2k-fips on CentOS 7, PHP 7.2.14, I have installed and enabled http/2 following the guide at https://www.tunetheweb.com/performance/http2/. No errors are ...
1
vote
1answer
75 views

HTTP/2: speed vs. security

As a measure for speeding up of webpage loading times i recommended to switch over from HTTP1.1 to HTTP/2 protocol. And just today, firtsly in my experience since HTTP/2 rising, i've heard as the ...
0
votes
0answers
69 views

HTTP/2 Not working for my resources

I am using Google Cloud Compute Engine running Apache 2. I enabled HTTP2 sudo a2enmod http2 I added this to the top of my default-ssl.conf and made it global. Protocols h2 h2c http/1.1 The ...
0
votes
1answer
332 views

Use Different HTTP Protocols per Browser in Apache

I am trying to use http/2 for everything except Safari because of some strange behavior we are seeing when using http/2 with any version of Safari we have handy. I cannot figure out how to set up ...
2
votes
0answers
2k views

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 ...