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
1
vote
0answers
15 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
19 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 <...
0
votes
0answers
35 views

What http caches have full support for http/2?

Planning a tech stack and finding scant mentions of http/2 in documentation on latest versions of varnish and squid. Am I missing something, or is it actually difficult to put up a cache for http/2? ...
0
votes
0answers
40 views

HTTP/2 Server Push from Apache behind HAProxy

I'am wondering if it is possible to use the HTTP/2 Server Push feature behind HAProxy. HAProxy 2.+ supports HTTP/2 at frontend and backend. I have created an simple setup to test it, as far as i can ...
1
vote
0answers
10 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
305 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
0answers
25 views

Sites infected with malware, now seeing connectivity issues after cleaning

About a month and a half ago, all 5 of my wordpress websites being hosted on Bluehost were infected with malware. A week ago, I was made aware of this when my websites started redirecting users to ...
0
votes
1answer
74 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
31 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
27 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
47 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
100 views

'Python' Twisted Post Requests AttributeError: 'NoneType' object has no attribute 'write'

I am trying to implement a simple server a long with a client using HTTP/2 I followed the examples given here https://python-hyper.org/projects/h2/en/stable/twisted-post-example.html# However each ...
0
votes
0answers
45 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
55 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
436 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
130 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
123 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
0answers
39 views

Apache mod_proxy_http2 as forward proxy

I'm trying to configure apache as a HTTP/2 forward proxy using mod_proxy_http2 to translate requests from HTTP/1.1 to HTTP/2 protocol. Something like this: [Client] ---(HTTP/1.1)---> [Proxy] ---(...
0
votes
0answers
40 views

docker centos8 http2 and SSL

I'm trying to containerize our mapping system (I'm new to docker, a couple of days) but I'm not sure I understand some logic or what I want to do is possible. I need to make work apache in HTTP/2 ...
0
votes
1answer
354 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
262 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
157 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
30 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
126 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, ...
1
vote
1answer
279 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
364 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
233 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
357 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
710 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
0answers
33 views

Disable HTTP/2 on application loan balncer in elastic beanstalk

How can I disable the HTTP/2 option on application loan balancer with ebextensions ? I looked in here and I don't see the option.
0
votes
2answers
877 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
419 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
209 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
276 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
152 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
367 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
3k 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
73 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
48 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
176 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 ...
0
votes
0answers
95 views

Apache2 with HTTP/2 serves some content with h2, some with http/1.1

I have setup HTTP/2 with Apache 2.4.29. HTTP/2 is working as checked here https://tools.keycdn.com/http2-test. When I connect to my site via Chrome or Firefox only some content is using h2. ...
0
votes
1answer
43 views

HTTP2 on multiple proxies

I read in Cloudflares support pages they convert the traffic from HTTP2 to HTTP/1.x when sending the requests forward to our internal proxies. We have a Cloudflare WAF service, which send the traffic ...
2
votes
0answers
5k views

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

Enabling HTTP/2 in Ubuntu 18.04 [duplicate]

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

Nginx HTTP/2 - Pingdom Test Not Working With SSL Enabled

So I have a site setup in Nginx that was done using the Forge Laravel service. Without SSL enabled, the site loads fine for myself and also loads fine using the Pingdom Site Test. If however I enable ...
1
vote
0answers
177 views

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

Is HTTP/2 actually faster in real world?

I understand all the benefits of HTTP/2, however, are there proven apples to apples comparisons to show it's speed advantage? Akamai has a page put up for this purpose, but it seems HTTP/2 at best ...
1
vote
1answer
492 views

Apache HTTP/2 connections are not persistent

So I decided to implement HTTP/2 through Apache mod_http2. It was working fine, however every request, except for those with under 1 sec between them, is non-persistent. I am sure of this because as ...