Skip to main content
We are aware of an issue with a recent Apache update that causes proxied sites to return a "421 Misdirected Request" error. Please see the following article for more information and updates:
Websites show 421 Misdirected Request error while using EA Nginx

EA3 mod_h2 support

Comments

29 comments

  • JacobPerkins
    Hi, We don't plan to support http2 specifically for EA3, however once we release Apache 2.4.18, you can easily build support for HTTP2 on your own and get it working. We plan to fully support HTTP2 in EA4. Thanks for your interest!
    0
  • Jamira40
    Hi, Thanks for reply. Sure I fully understand you. If there will be EA4 compatible with CloudLinux it would be nice. But for now its not. Currently we have HTTP2 in front of Apache (Reverse Proxy) Oh btw... how about bundle like NGINX + Apache together. Currently non of plugins providing reverse proxy supports https. All of us are using it so maybe its time to implement it directly to EA4 :) Anyway thank you for answer.
    0
  • cPanelMichael
    Oh btw... how about bundle like NGINX + Apache together. Currently non of plugins providing reverse proxy supports https. All of us are using it so maybe its time to implement it directly to EA4

    Hello :) Discussion of Nginx support is found on the following feature requests: Nginx proxied to Apache (not standalone Nginx) Stand-alone nginx supported as an alternative to Apache Thank you.
    0
  • Jamira40
    Pointing to 3 years old request is kinda wrong... Nothing against but this is essential for hostings, cloudlinux still don't have EA4 and it was announced on Jan 15 2015 and until today there is no support. There is still no support for NGINX Proxy to handle static content. There is no support for CL and EA4. So yeah... 3 years just for nginx as a reverse proxy... how hard it must be to implement this when there is tons of 3rd part plugins for this. And don't take this wrong but its like "Hey you need CloudLinux! Buy it now!... But sorry you can't use it with latest EA... maybe after a year..."
    0
  • JacobPerkins
    Hi, Building a new platform isn't very simple. It can take a lot of time, and we're spending this amount of time to ensure it's ready to rock. We haven't added CloudLinux support yet because we're not done fully supporting cPanel & WHM. We're not going to start supporting more platforms when we haven't fully built in support for the original platform is was built for, cPanel & WHM. You're right, implementing Nginx isn't very difficult, and lots of plugins to do this. We haven't started working on Nginx yet because we want to get EA4 fully stable before we do. I hope this helps.
    0
  • marcus14
    Apache 2.4.18 was released several days ago, any eta for us being able to use in EA?
    0
  • JacobPerkins
    Apache 2.4.18 was released several days ago, any eta for us being able to use in EA?

    We will be releasing 2.4.18 for both EA3 and EA4 early next week.
    0
  • Erel
    We don't plan to support http2 specifically for EA3, however once we release Apache 2.4.18, you can easily build support for HTTP2 on your own and get it working. We plan to fully support HTTP2 in EA4.

    Can you provide more information about adding support for HTTP2 with EA3 and Apache 2.4.18? Thank you.
    0
  • axwell
    Hi, We don't plan to support http2 specifically for EA3, however once we release Apache 2.4.18, you can easily build support for HTTP2 on your own and get it working. We plan to fully support HTTP2 in EA4. Thanks for your interest!

    Hello Jacob, i'm also interested in this. How i can enable http2. Tried this: Added flag --enable-http2=shared to /var/cpanel/easy/apache/rawopts/Apache2_4 yum install libnghttp2-devel updated openssl to OpenSSL 1.0.2e Easy apache throws error: Making all in http2 make[2]: Entering directory `/home/cpeasyapache/src/httpd-2.4/modules/http2' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/home/cpeasyapache/src/httpd-2.4/modules/http2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cpeasyapache/src/httpd-2.4/modules' make: *** [all-recursive] Error 1 !! 'make -j2' failed with exit code '512' !! !! Restoring original working apache !! Thank you !
    0
  • JacobPerkins
    Currently, there looks to be an issue at the moment where upstream Apache provided a .gitignore, which blocked the MakeFile.in in ./modules/http2 from being synced out. We've talked to them about this, and it seemed to be a 'bug' of sorts. We'll be fixing this here in a bit and will have an update out within the next week or so.
    0
  • axwell
    Any update on this?
    0
  • JacobPerkins
    Hi, We've been working on CloudLinux and EA4 bugs here recently, and haven't had a chance to look at this yet. I'll keep this thread updated once we have more information on this. Thanks for your patience!
    0
  • JacobPerkins
    Good morning, We should be releasing EA 3.32.9 today, that allows users to enable http2 support.
    Confirmed with EasyApache v 3.32.9 root@i-000072c8 [/nghttp2]# httpd -v Server version: Apache/2.4.18 (Unix) Server built: Jan 11 2016 04:02:16 Cpanel::Easy::Apache v3.32.9 rev9999 root@i-000072c8 [/nghttp2]# httpd -M | grep http2 http2_module (static) root@i-000072c8 [/nghttp2]# ls -al /home/cpeasyapache/src/httpd-2.4/modules/http2/Makefile* -rw-r--r-- 1 root root 1127 Jan 11 04:00 /home/cpeasyapache/src/httpd-2.4/modules/http2/Makefile -rw-r--r-- 1 root root 845 Sep 7 17:37 /home/cpeasyapache/src/httpd-2.4/modules/http2/Makefile.in root@i-000072c8 [/nghttp2]# cat /var/cpanel/easy/apache/rawopts/Apache2_4 --enable-http2=static --with-nghttp2=/opt/nghttp2 root@i-000072c8 [/nghttp2]# nghttp -uv http://10.17.17.137 [ 0.003] Connected [ 0.004] HTTP Upgrade request GET / HTTP/1.1 Host: 10.17.17.137 Connection: Upgrade, HTTP2-Settings Upgrade: h2c HTTP2-Settings: AAMAAABkAAQAAP__ Accept: */* User-Agent: nghttp2/1.2.1 [ 0.016] HTTP Upgrade response HTTP/1.1 101 Switching Protocols Upgrade: h2c Connection: Upgrade [ 0.016] HTTP Upgrade success [ 0.016] recv SETTINGS frame (niv=1) [SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100] [ 0.016] recv WINDOW_UPDATE frame (window_size_increment=2147418112) [ 0.016] send SETTINGS frame (niv=2)
    0
  • Jamira40
    Okey now Im so hype and can't wait for it :) Looking forward... Now just MySQL 5.7 and its done :) ... i thinks its good time for it since 5.5 it no longer supported to there should be 5.6 / 5.7
    0
  • Jamira40
    Hi, EDIT Okey I manage how to compile it. Its working with CL6. Now just add Protocols h2 http/1.1 and enable it on all websites
    0
  • Erel
    Do we need to update OpenSSL for this to work? My version is: OpenSSL 1.0.1e-fips 11 Feb 2013
    0
  • axwell
    Hello, i have recompiled with h2 and added "Protocols h2 http/1.1" in "Pre VirtualHost Include" but h2 is still not enabled. Do i have to do anything else ?
    0
  • Jamira40
    axwell same issue. Upgrade header is presented but it wont upgrade connection to HTTP/2. Trying to resolve it bot no luck atm...
    0
  • axwell
    I think the issue is caused by openssl, too old and does not support ALPN.
    0
  • Jamira40
    It might be issue with OpenSSL since EA3 will check if installed version is same as latest in report i think so... So its possible that it will compile with 1.0.1 instead of 1.0.2e that I compiled
    0
  • axwell
    You are right, even if you compile the required openssl easy apache is using the old one. More than that it seems that easy apache will not accept a custom path for opensll. See: Update cPanel to TLS 1.2 without modifying system files [php5 + curlssl + apache2.4.x] Starting to hate cPanel...
    0
  • Jamira40
    Okey so I managed to compile all things you need to HTTP/2 [LIST]
  • You can follow this djlab.com/2015/04/adding-tls-1-2-to-cpanel-on-centos-5/
  • Or you can follow that one you mentioned here and EA3 will compile PHP and Apache with 1.0.2e I fully tested it and its working :)
  • 0
  • axwell
    did you upgrade Curl also ?
    0
  • Jamira40
    Yep all working
    0
  • axwell
    It does not work on my side, easy apache will fail compiling :(
    0
  • Erel
    We don't plan to support http2 specifically for EA3, however once we release Apache 2.4.18, you can easily build support for HTTP2 on your own and get it working. We plan to fully support HTTP2 in EA4.

    Seems like it is not so simple. Please provide more detailed instructions (including upgrading OpenSSL).
    0
  • cPanelMichael
    Seems like it is not so simple. Please provide more detailed instructions (including upgrading OpenSSL).

    We don't suggest manually upgrading the version of OpenSSL on your system. Could you let us know which operating system you are using? Thank you.
    0
  • Erel
    I've decided to wait until this feature will be officially supported (maybe with EA4). Thank you for your help.
    0
  • Jamira40
    So by Dec 4 + HTTP/2 is working correctly + We have to fix some issues like remove that annoying Upgrade: h2 over http:// - For now CloudFlare dealing with issue if your server is using HTTP/2 and you have enables SSL on CF it will stuck Safari on OSX or iOS in endless loop until browser crashed. There is some issue with Upgrade header or so... they will resolve it soon :) Anyway its working quite well :)
    0

Please sign in to leave a comment.